Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 300 for isEmpty (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertEquals(expected.length, ByteSource.concat(b1, b2, b3).size());
        assertFalse(ByteSource.concat(b1, b2, b3).isEmpty());
    
        ByteSource emptyConcat = ByteSource.concat(ByteSource.empty(), ByteSource.empty());
        assertTrue(emptyConcat.isEmpty());
        assertEquals(0, emptyConcat.size());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultLenientConfiguration.java

            Deque<ResolvedDependency> workQueue = new LinkedList<>(loadTransientGraphResults(getSelectedArtifacts()).getRootNode().getPublicView().getChildren());
            while (!workQueue.isEmpty()) {
                ResolvedDependency item = workQueue.removeFirst();
                if (resolvedElements.add(item)) {
                    final Set<ResolvedDependency> children = item.getChildren();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

            return state.tryTransition(State.ReadyToRun, State.Configure, () -> {
                List<BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan>> finalizations = workPlan.finalizations;
                if (!finalizations.isEmpty()) {
                    EntryTaskSelectorContext context = new EntryTaskSelectorContext();
                    for (BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan> finalization : finalizations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            if (parent != null) {
                String version = parent.getVersion();
                String path = Optional.ofNullable(parent.getRelativePath()).orElse("..");
                if (version == null && !path.isEmpty()) {
                    Optional<RelativeProject> resolvedParent = resolveRelativePath(
                            pomFile, context, Paths.get(path), parent.getGroupId(), parent.getArtifactId());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ExternalModuleDependencyMetadata.java

            if (!targetComponentState.getCandidatesForGraphVariantSelection().getVariantsForAttributeMatching().isEmpty()) {
                VariantGraphResolveState selected = variantSelector.selectByAttributeMatching(
                    consumerAttributes,
                    explicitRequestedCapabilities,
                    targetComponentState,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        TreeSet<Derived> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new Derived("foo"));
        set.add(new Derived("bar"));
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetEmptyNonGeneric() {
        TreeSet<LegacyComparable> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new LegacyComparable("foo"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DefaultPayloadClassLoaderRegistry.java

                for (ClassLoaderDetails parentDetails : details.parents) {
                    parents.add(getClassLoader(parentDetails));
                }
                if (parents.isEmpty()) {
                    parents.add(classLoaderFactory.getClassLoaderFor(SystemClassLoaderSpec.INSTANCE, ImmutableList.of()));
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

            }
    
            public void alloc(Block block) {
                if (block.hasPos()) {
                    return;
                }
    
                int requiredSize = block.getSize();
    
                if (entries.isEmpty() || requiredSize <= largestInNextBlock) {
                    if (nextBlock.isNull()) {
                        return;
                    }
                    getNextBlock().alloc(block);
                    return;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildExceptionReporter.java

             */
            private boolean shouldBePrinted(Throwable node) {
                if (printedNodes.isEmpty()) {
                    return true;
                }
    
                Queue<Throwable> next = new ArrayDeque<>();
                next.add(node);
    
                while (!next.isEmpty()) {
                    Throwable curr = next.poll();
                    if (printedNodes.contains(curr)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            for (CoreExtension extension : configuration) {
                List<Artifact> artifacts =
                        resolveExtension(extension, repoSession, repositories, dependencyFilter, interpolator);
                if (!artifacts.isEmpty()) {
                    extensions.add(createExtension(extension, artifacts));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top