Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 411 for guarantee (0.06 seconds)

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

       * and {@code streamB}. If one stream is longer than the other, the extra elements are silently
       * ignored. Elements passed to the consumer are guaranteed to come from the same position in their
       * respective source streams. For example:
       *
       * {@snippet :
       * Streams.forEachPair(
       *     Stream.of("foo1", "foo2", "foo3"),
       *     Stream.of("bar1", "bar2"),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

       * iterable is empty, {@code Optional.absent()} is returned. If the underlying {@code iterable} is
       * a {@link List} with {@link java.util.RandomAccess} support, then this operation is guaranteed
       * to be {@code O(1)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.reduce((a, b) -> b)}.
       *
       * @throws NullPointerException if the last element is null; if this is a possibility, use {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/Files.java

           * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive
           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
        parent.mkdirs();
        if (!parent.isDirectory()) {
          throw new IOException("Unable to create parent directories of " + file);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       *
       * Our tests for awaitUninterruptibly are written under the assumption that no spurious wakeups
       * occur except for those produced by awaitUninterruptibly itself in response to interrupts.
       *
       * This isn't guaranteed to work, so any further spurious wakeups would probably cause failures in
       * tests that assert that a certain amount of time has passed, that the method returned `false`,
    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)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

     *
     * {@snippet :
     * // Do NOT do this
     * BaseEncoding hex = BaseEncoding.base16();
     * hex.lowerCase(); // does nothing!
     * return hex.decode("deadbeef"); // throws an IllegalArgumentException
     * }
     *
     * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code
     * x}, but the reverse does not necessarily hold.
     *
     * <table>
     * <caption>Encodings</caption>
     * <tr>
     * <th>Encoding
     * <th>Alphabet
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertFalse(Arrays.equals(nonce1, nonce2), "Consecutive nonces should be different");
        }
    
        @Test
        @DisplayName("Should generate SMB3-compliant nonces with guaranteed uniqueness")
        void testSMB3CompliantNonceGeneration() {
            // Given - GCM cipher context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Ordering.natural().reverse())
            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertThat(numberOrdering.reverse().reverse()).isSameInstanceAs(numberOrdering);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Ordering.natural().reverse())
            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertThat(numberOrdering.reverse().reverse()).isSameInstanceAs(numberOrdering);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  9. cmd/xl-storage-disk-id-check.go

    	totalErrsTimeout      atomic.Uint64 // Captures all timeout only errors
    
    	// apiCalls should be placed first so alignment is guaranteed for atomic operations.
    	apiCalls     [storageMetricLast]uint64
    	apiLatencies [storageMetricLast]*lockedLastMinuteLatency
    	diskID       atomic.Pointer[string]
    	storage      *xlStorage
    	health       *diskHealthTracker
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Streams.java

       * and {@code streamB}. If one stream is longer than the other, the extra elements are silently
       * ignored. Elements passed to the consumer are guaranteed to come from the same position in their
       * respective source streams. For example:
       *
       * {@snippet :
       * Streams.forEachPair(
       *     Stream.of("foo1", "foo2", "foo3"),
       *     Stream.of("bar1", "bar2"),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top