Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 861 for Value (0.22 sec)

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

      private static final LazyLogger log = new LazyLogger(ImmediateFuture.class);
    
      @ParametricNullness private final V value;
    
      ImmediateFuture(@ParametricNullness V value) {
        this.value = value;
      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void addListener(Runnable listener, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            // requireNonNull is safe because the first `2*n` elements have been filled in.
            Object key = requireNonNull(alternatingKeysAndValues[keyIndex]);
            Object value = requireNonNull(alternatingKeysAndValues[keyIndex ^ 1]);
            checkEntryNotNull(key, value);
            for (int h = Hashing.smear(key.hashCode()); ; h++) {
              h &= mask;
              int previousKeyIndex = hashTable[h] & BYTE_MASK; // unsigned read
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return connections;
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public V putEdgeValue(N nodeU, N nodeV, V value) {
        checkNotNull(nodeU, "nodeU");
        checkNotNull(nodeV, "nodeV");
        checkNotNull(value, "value");
    
        if (!allowsSelfLoops()) {
          checkArgument(!nodeU.equals(nodeV), SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsTest.java

    import static com.google.common.math.StatsTesting.ONE_VALUE_PAIRED_STATS;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES_STATS;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

    import static com.google.common.math.StatsTesting.ONE_VALUE_PAIRED_STATS;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES_STATS;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                          return new Entry<String, String>() {
    
                            @Override
                            public String setValue(String value) {
                              checkNotNull(value);
                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
                              return next.getValue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

        }
        // we did over/under flow, if the sign is negative we should return MAX otherwise MIN
        return Long.MAX_VALUE + ((naiveSum >>> (Long.SIZE - 1)) ^ 1);
      }
    
      /**
       * Returns the difference of {@code a} and {@code b} unless it would overflow or underflow in
       * which case {@code Long.MAX_VALUE} or {@code Long.MIN_VALUE} is returned, respectively.
       *
       * @since 20.0
       */
      @SuppressWarnings("ShortCircuitBoolean")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          for (double value : values.asIterable()) {
            accumulator.add(value);
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double min = accumulator.min();
          double minByAddAllStats = accumulatorByAddAllStats.min();
          if (values.hasAnyNaN()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top