Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for detection (0.32 sec)

  1. android/guava/src/com/google/common/reflect/ParametricNullness.java

    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/ParametricNullness.java

    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.errorprone.annotations.RequiredModifiers;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.util.Arrays;
    import java.util.Comparator;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

            });
        assertTrue(1 >= cache.size());
      }
    
      public void testCompute() {
        cache.put(key, "1");
        // simultaneous deletion
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().compute(key, (k, v) -> null);
            });
        assertEquals(0, cache.size());
      }
    
      public void testComputeWithLoad() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

            fractionalBuilder.add(d * scale).add(-d * scale);
          }
        }
        for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) {
          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

            // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
            // If knownRunStart == knownRunEnd, this is vacuously true.
            // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
            // of the table.
            int knownRunStart = 0;
            int knownRunEnd = 0;
    
            outerLoop:
            while (knownRunStart < hashTable.length) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 03 20:16:35 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. LICENSE

          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.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      /**
       * The maximum allowed probability of falsely detecting a hash flooding attack if the input is
       * randomly generated.
       */
      private static final double HASH_FLOODING_FPP = 0.001;
    
      public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

      @CanIgnoreReturnValue
      @ParametricNullness
      V checkValue(@ParametricNullness V value) {
        return value;
      }
    
      /**
       * Specifies the delegate maps going in each direction. Called by the constructor and by
       * subclasses during deserialization.
       */
      void setDelegates(Map<K, V> forward, Map<V, K> backward) {
        checkState(delegate == null);
        checkState(inverse == null);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
Back to top