Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for partition (0.16 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

       */
      public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) {
        checkNotNull(list);
        checkArgument(size > 0);
        return (list instanceof RandomAccess)
            ? new RandomAccessPartition<>(list, size)
            : new Partition<>(list, size);
      }
    
      private static class Partition<T extends @Nullable Object> extends AbstractList<List<T>> {
        final List<T> list;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * OutOfMemoryError}.
       *
       * @param iterator the iterator to return a partitioned view of
       * @param size the desired size of each partition (the last may be smaller)
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
       *     partitions
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. scripts/mkdocs_hooks.py

            missing_translation_content = get_missing_translation_content(config.docs_dir)
            header = ""
            body = markdown
            if markdown.startswith("#"):
                header, _, body = markdown.partition("\n\n")
            return f"{header}\n\n{missing_translation_content}\n\n{body}"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

            swap(array, min, from);
          }
          return;
        }
    
        // Let's play quickselect! We'll repeatedly partition the range [from, to] containing the
        // required element, as long as it has more than one element.
        while (to > from) {
          int partitionPoint = partition(array, from, to);
          if (partitionPoint >= required) {
            to = partitionPoint - 1;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        List<List<Double>> xPartitions = Lists.partition(xValues, partitionSize);
        List<List<Double>> yPartitions = Lists.partition(yValues, partitionSize);
        for (int index = 0; index < xPartitions.size(); index++) {
          accumulator.addAll(createPairedStatsOf(xPartitions.get(index), yPartitions.get(index)));
        }
        return accumulator;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsTesting.java

        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        List<List<Double>> xPartitions = Lists.partition(xValues, partitionSize);
        List<List<Double>> yPartitions = Lists.partition(yValues, partitionSize);
        for (int index = 0; index < xPartitions.size(); index++) {
          accumulator.addAll(createPairedStatsOf(xPartitions.get(index), yPartitions.get(index)));
        }
        return accumulator;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/apps/v1/generated.proto

    message RollingUpdateStatefulSetStrategy {
      // Partition indicates the ordinal at which the StatefulSet should be partitioned
      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/StageProject.kt

                stage.flameGraphs.map { createFlameGraphs(model, stage, it) }
    
            val (topLevelCoverage, allCoverage) = stage.functionalTests.partition { it.testType == TestType.soak }
            val topLevelFunctionalTests = topLevelCoverage
                .map { FunctionalTest(model, it.asConfigurationId(model), it.asName(), it.asName(), it, stage = stage) }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            val targetModules = computeTargetModules(mainFirFile.llFirModuleData.ktModule)
            val (targetFiles, dependencyFiles) = filesToCompile.partition { firResolveSession.getModule(it) in targetModules }
            require(targetFiles.isNotEmpty())
    
            val jvmIrDeserializer = JvmIrDeserializerImpl()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    message RollingUpdateStatefulSetStrategy {
      // Partition indicates the ordinal at which the StatefulSet should be partitioned
      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top