This repository was archived by the owner on Jul 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
src/InfluxDB.Collector/Util Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,23 @@ namespace InfluxDB.Collector.Util
5
5
{
6
6
internal static class EnumerableExtensions
7
7
{
8
- // from https://github.com/morelinq/MoreLINQ/blob/master/MoreLinq/Batch.cs
8
+ // Copied from https://github.com/morelinq/MoreLINQ/blob/master/MoreLinq/Batch.cs
9
+ // Original license below
10
+ //
11
+ // MoreLINQ - Extensions to LINQ to Objects
12
+ // Copyright (c) 2009 Atif Aziz. All rights reserved.
13
+ //
14
+ // Licensed under the Apache License, Version 2.0 (the "License");
15
+ // you may not use this file except in compliance with the License.
16
+ // You may obtain a copy of the License at
17
+ //
18
+ // http://www.apache.org/licenses/LICENSE-2.0
19
+ //
20
+ // Unless required by applicable law or agreed to in writing, software
21
+ // distributed under the License is distributed on an "AS IS" BASIS,
22
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23
+ // See the License for the specific language governing permissions and
24
+ // limitations under the License.
9
25
public static IEnumerable < IEnumerable < TSource > > Batch < TSource > ( this IEnumerable < TSource > source , int size )
10
26
{
11
27
TSource [ ] bucket = null ;
You can’t perform that action at this time.
0 commit comments