Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 991 for sublist (0.15 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/WindowsResourceHelloWorldApp.groovy

        #ifdef FRENCH
        IDS_HELLO, "${HELLO_WORLD_FRENCH}"
        #else
        IDS_HELLO, "${HELLO_WORLD}"
        #endif
    }
    """)
        ]
    
        List<SourceFile> getResourceSources() {
            getLibrarySources().subList(1, 2)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/bucket-extensions.kt

     * limitations under the License.
     */
    
    package model
    
    import java.util.LinkedList
    import kotlin.math.min
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. build-logic/packaging/src/main/kotlin/gradlebuild/packaging/GradleDistributionSpecs.kt

            if (relativePathLength == 0) this else this.parentFile.containingSubprojectFolder(relativePathLength - 1)
    
        private
        fun Array<String>.subArray(toIndex: Int) = listOf(*this).subList(0, toIndex).toTypedArray()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:35:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                        add(entry.value.first())
                    }
                }
                add(minimumSupported)
            }.filterNotNull().distinct().sorted()
            return latests.subList(latests.indexOf(minimumSupported), latests.size)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 13:50:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        SampleElements<E> samples = samples();
        List<E> allSampleElements =
            Arrays.asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
        return collectionSize;
      }
    
      @Override
      public Iterable<E> order(List<E> insertionOrder) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParser.java

                parts.add(original.substring(startPart, pos));
            }
            DefaultVersion base = null;
            if (endBaseStr > 0) {
                base = new DefaultVersion(original.substring(0, endBaseStr), parts.subList(0, endBase), null);
            }
            return new DefaultVersion(original, parts, base);
        }
    
        private static class DefaultVersion implements Version {
            private final String source;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/Graph.java

                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
        static class Vertex {
            final String label;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java

            reduceEqualLinesFromHeadAndTail(originalLines, revisedLines, contextSize);
            originalLines = originalLines.subList(offsetHead, originalLines.size() - offsetTail);
            revisedLines = revisedLines.subList(offsetHead, revisedLines.size() - offsetTail);
    
            original = new int[originalLines.size() + 1];
            revised = new int[revisedLines.size() + 1];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExpectedDeprecationWarning.java

         */
        public boolean matchesNextLines(List<String> lines, int startIndex) {
            String nextLines = numLines == 1
                ? lines.get(startIndex)
                : String.join("\n", lines.subList(startIndex, Math.min(startIndex + numLines, lines.size())));
            return matchesNextLines(nextLines);
        }
    
        protected abstract boolean matchesNextLines(String nextLines);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

                        yieldIfNotNull(element as? KtClassLikeDeclaration)
                        continue
                    }
    
                    if (element is KtDeclarationContainer) {
                        val newChunks = chunks.subList(1, chunks.size)
                        for (child in element.declarations) {
                            tasks.addLast(Task(newChunks, child))
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top