Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 458 for contract (0.06 seconds)

  1. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
        HashCode hash1 = sha1().hashString("foo", US_ASCII);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

      }
    
      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
      // buffer when possible.
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        // Obey InputStream contract.
        checkPositionIndexes(off, off + len, b.length);
        if (len == 0) {
          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/EmptyIteratorTest.java

            }, "EmptyIterator should work correctly in nested iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
        void testIteratorContract() {
            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

    /**
     * Unit tests for {@link SmbComTransactionResponse}.
     *
     * <p>The class is abstract, so a concrete stub implementation is
     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        checkNotNull(listener, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
        // Checking isDone and listeners != TOMBSTONE may seem redundant, but our contract for
        // addListener says that listeners execute 'immediate' if the future isDone(). However, our
        // protocol for completing a future is to assign the value field (which sets isDone to true) and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  7. gradle/wrapper/gradle-wrapper.jar

    other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source"...
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 04 20:34:40 GMT 2026
    - 47.8K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
        HashCode hash1 = sha1().hashString("foo", US_ASCII);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  9. architecture/standards/0010-gradle-properties-naming.md

    For instance, whether they use an internal property (intentionally or accidentally), or whether they use an unstable feature that can change at any time.
    
    Symmetrically, the same problem exists on the side of Gradle maintainers.
    It should be clear when introducing a property what contract users can expect and what we can afford to provide.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 06 09:25:54 GMT 2026
    - 8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean result = sync.setException(checkNotNull(throwable));
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to
         * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top