Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 551 for consistent (0.21 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       * <p>Anything after a {@code %} in an IPv6 address is ignored (assumed to be a Scope ID).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

        assertThat(networkA).isEqualTo(networkB);
      }
    
      /**
       * In some cases our graph implementations return custom sets that define their own size() and
       * contains(). Verify that these sets are consistent with the elements of their iterator.
       */
      @CanIgnoreReturnValue
      static <T> Set<T> sanityCheckSet(Set<T> set) {
        assertThat(set).hasSize(Iterators.size(set.iterator()));
        for (Object element : set) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/TestUtil.java

        assertThat(networkA).isEqualTo(networkB);
      }
    
      /**
       * In some cases our graph implementations return custom sets that define their own size() and
       * contains(). Verify that these sets are consistent with the elements of their iterator.
       */
      @CanIgnoreReturnValue
      static <T> Set<T> sanityCheckSet(Set<T> set) {
        assertThat(set).hasSize(Iterators.size(set.iterator()));
        for (Object element : set) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
          assertEquals(
              "the hash of " + item + " must be consistent",
              equivalence.hash(item),
              equivalence.hash(item));
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    -   Ensure you have signed the
        [Contributor License Agreement (CLA)](https://cla.developers.google.com/).
    -   Check if your changes are consistent with the
        [guidelines](#general-guidelines-and-philosophy-for-contribution).
    -   Changes are consistent with the [Coding Style](#c-coding-style).
    -   Run the [unit tests](#running-unit-tests).
    
    ## How to become a contributor and submit your own code
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

     *
     * <p>Each of the {@code standard} methods, where appropriate, uses the set's comparator (or the
     * natural ordering of the 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common_test.go

    			t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime)
    		}
    	}
    }
    
    // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks
    // are consistent with each other.
    func TestListOnlineDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top