Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for consistently (0.17 sec)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  4. cmd/erasure-sets_test.go

    	}
    	if _, err := newErasureSets(ctx, ep, storageDisks, format, parity, 0); err != nil {
    		t.Fatalf("Unable to initialize erasure")
    	}
    }
    
    // TestHashedLayer - tests the hashed layer which will be returned
    // consistently for a given object name.
    func TestHashedLayer(t *testing.T) {
    	// Test distribution with 16 sets.
    	var objs [16]*erasureObjects
    	for i := range objs {
    		objs[i] = &erasureObjects{}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Equivalence.java

       * <p>The {@code hash} has the following properties:
       *
       * <ul>
       *   <li>It is <i>consistent</i>: for any reference {@code x}, multiple invocations of {@code
       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
       *       one execution of an application to another execution of the same application.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

       *
       * <p>The {@code hash} has the following properties:
       *
       * <ul>
       *   <li>It is <i>consistent</i>: for any reference {@code x}, multiple invocations of {@code
       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
       *       one execution of an application to another execution of the same application.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
        }
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       *
       * <p><b>Note:</b> if you won't be adding any elements to the list, use {@link ImmutableList#of()}
       * instead.
       *
       * <p><b>Performance note:</b> {@link ArrayList} and {@link java.util.ArrayDeque} consistently
       * outperform {@code LinkedList} except in certain rare and specific situations. Unless you have
       * spent a lot of time benchmarking your specific needs, use one of those instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
        }
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top