Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 504 for every (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

            synchronized (lock) {
              if (nanos == expirationNanos) { // recheck for lost race
                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
                // no one will notice 1 ns of tardiness.
                expirationNanos = (nanos == 0) ? 1 : nanos;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals("", fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with very long filename")
        void testDecodeWithLongFilename() throws SMBProtocolDecodingException {
            // Prepare test data with long filename (255 characters)
            StringBuilder longName = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
      public void testFutureBash() {
        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test buffer size edge cases")
        void testBufferSizeEdgeCases() {
            // Test with very small buffer sizes
            when(mockConfig.getMaximumBufferSize()).thenReturn(256);
            when(mockConfig.getListSize()).thenReturn(128);
    
            request = new Smb2QueryInfoRequest(mockConfig);
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    		// Setting maxKeys to negative value (15-16).
    		{"empty-bucket", "", "", "", -1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to a very large value (17).
    		{"empty-bucket", "", "", "", 111100000, ListObjectsInfo{}, nil, true},
    		// Testing for all 10 objects in the bucket (18).
    		{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
      public void testFutureBash() {
        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

        private final Joiner joiner;
        private final String keyValueSeparator;
    
        private MapJoiner(Joiner joiner, String keyValueSeparator) {
          this.joiner = joiner; // only "this" is ever passed, so don't checkNotNull
          this.keyValueSeparator = checkNotNull(keyValueSeparator);
        }
    
        /**
         * Appends the string representation of each entry of {@code map}, using the previously
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // positive).
                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
                  // Don't forget, the bloom filter slowly saturates over time and the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // positive).
                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
                  // Don't forget, the bloom filter slowly saturates over time and the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top