Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,163 for useEmpty (0.11 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

        }
    
        private static ArtifactFilter createDependencyFilter(Dependency dependency, ArtifactFilter inheritedFilter) {
            ArtifactFilter effectiveFilter = inheritedFilter;
    
            if (!dependency.getExclusions().isEmpty()) {
                effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions());
    
                if (inheritedFilter != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.reset();
        assertThat(source.read()).isEmpty();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
      }
    
      private static boolean isAndroid() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/base/CaseFormatTest.java

          assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo");
          for (CaseFormat to : CaseFormat.values()) {
            assertWithMessage("%s to %s", from, to).that(from.to(to, "")).isEmpty();
            assertWithMessage("%s to %s", from, to).that(from.to(to, " ")).isEqualTo(" ");
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullArguments() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTester.java

                return out;
              }
            });
        assertExpectedBytes(out.toByteArray());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.length == 0, source.isEmpty());
      }
    
      public void testSize() throws IOException {
        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            List<KerberosAuthData> authorizations = relevantAuthData.getAuthorizations();
            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertTrue(authorizations.isEmpty(), "The authorizations list should be empty.");
        }
    
        /**
         * Test the getAuthorizations method.
         *
         * @throws IOException if ASN.1 encoding fails.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete");
            executor.shutdown();
    
            // Then - All operations should succeed
            assertTrue(exceptions.isEmpty(), "No exceptions should occur");
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            insertContentElement(parent, GROUP_ID, groupId);
            insertContentElement(parent, ARTIFACT_ID, artifactId);
            if (version != null && !version.isEmpty()) {
                insertContentElement(parent, VERSION, version);
            }
        }
    
        /**
         * Convenience method to create a dependency element with GAV.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        void takeSuccessfully() {
          assertThat(takeUninterruptibly(queue)).isEqualTo(EXPECTED_TAKE);
          completed.assertCompletionExpected();
          assertTrue(queue.isEmpty());
        }
    
        private static void scheduleEnableReads(BlockingQueue<String> queue, long countdownInMillis) {
          Runnable toRun = new EnableReads(queue, countdownInMillis);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

        }
        
        public ChannelInfo selectChannel(SMBMessage message) {
            Collection<ChannelInfo> availableChannels = manager.getHealthyChannels();
            
            if (availableChannels.isEmpty()) {
                throw new NoAvailableChannelException("No healthy channels available");
            }
            
            if (availableChannels.size() == 1) {
                return availableChannels.iterator().next();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. cmd/iam-store.go

    		newPolicySet = existingPolicySet.Difference(policiesToUpdate)
    	}
    	// We return an error if the requested policy update will have no effect.
    	if policiesToUpdate.IsEmpty() {
    		err = errNoPolicyToAttachOrDetach
    		return updatedAt, addedOrRemoved, effectivePolicies, err
    	}
    
    	newPolicies := newPolicySet.ToSlice()
    	newPolicyMapping.Policies = strings.Join(newPolicies, ",")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
Back to Top