Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for sublist (0.21 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

                                ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1))
                                : Sets.newHashSet(elements);
                        // Remove first element, if size > 0
                        Set<String> set2 =
                            (size > 0)
                                ? Sets.newHashSet(Arrays.asList(elements).subList(1, size))
                                : Sets.<String>newHashSet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccess() {
        Iterator<Integer> source = asList(1, 2, 3).iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
      /**
       * Returns a view of {@code unfiltered} containing all elements that satisfy the input predicate
       * {@code retainIfTrue}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
      /**
       * Returns a view of {@code unfiltered} containing all elements that satisfy the input predicate
       * {@code retainIfTrue}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          return this;
        } else if (fromIndex == toIndex) {
          return emptyMap(comparator());
        } else {
          return new ImmutableSortedMap<>(
              keySet.getSubSet(fromIndex, toIndex), valueList.subList(fromIndex, toIndex));
        }
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are less
       * than {@code toKey}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            mavenRepo.module("org", "c", '1.0').publish()
            mavenRepo.module("org", "x", '1.0').publish()
            mavenRepo.module("org", "c", '2.0').dependsOn("org", "x", '1.0').publish()
            mavenRepo.module("org", "a").dependsOn("org", "c", "1.0").publish()
            mavenRepo.module("org", "b").dependsOn("org", "c", "2.0").publish()
            mavenRepo.module("org", "d").dependsOn("org", "x", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. .teamcity/test-buckets.json

    				},
    				"subprojects":[
    					"kotlin-dsl-integ-tests",
    					"snapshots",
    					"platform-jvm",
    					"build-cache-spi",
    					"internal-integ-testing",
    					"jvm-services",
    					"publish",
    					"problems-api",
    					"process-services",
    					"build-configuration",
    					"base-services"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            httpServer.start()
            def dep1 = withColorVariants(remoteRepo.module("group", "thing1", "1.2")).publish().allowAll()
            def dep2 = withColorVariants(remoteRepo.module("group", "thing2", "1.2")).publish().allowAll()
            withColorVariants(remoteRepo.module("group", "thing3", "1.2")).dependsOn(dep1).dependsOn(dep2).publish().allowAll()
    
            setupBuildWithColorTransformThatTakesUpstreamArtifacts()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt

    Method <org.gradle.api.publish.ivy.tasks.GenerateIvyDescriptor.getDescriptor()> does not have raw return type assignable to org.gradle.api.provider.Property in (GenerateIvyDescriptor.java:0)
    Method <org.gradle.api.publish.ivy.tasks.GenerateIvyDescriptor.getDestination()> does not have raw return type assignable to org.gradle.api.provider.Property in (GenerateIvyDescriptor.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/testing/testing.go

    			// called tb.Helper from inside that test function).
    			// If this is a top-level test, only skip up to the test function itself.
    			// If we're in a subtest, continue searching in the parent test,
    			// starting from the point of the call to Run which created this subtest.
    			if c.level > 1 {
    				frames = runtime.CallersFrames(c.creator)
    				parent := c.parent
    				// We're no longer looking at the current c after this point,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top