Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for Matches (0.23 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheTesting.java

          totalSize += segment.maxSegmentWeight;
        }
        return totalSize;
      }
    
      /**
       * Peeks into the cache's internals to check its internal consistency. Verifies that each
       * segment's count matches its #elements (after cleanup), each segment is unlocked, each entry
       * contains a non-null key and value, and the eviction and expiration queues are consistent (see
       * {@link #checkEviction}, {@link #checkExpiration}).
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        for (byte b : bytes) {
          crc = (crc >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[(crc ^ b) & 0xFF];
        }
        return ~crc;
      }
    
      /**
       * Verifies that the crc of an array of byte data matches the expected value.
       *
       * @param expectedCrc the expected crc value.
       * @param data the data to run the checksum on.
       */
      private static void assertCrc(int expectedCrc, byte[] data) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

       * @since 14.0
       */
      @GwtIncompatible // regular expressions
      @CheckForNull
      public static Float tryParse(String string) {
        if (Doubles.FLOATING_POINT_PATTERN.matcher(string).matches()) {
          // TODO(lowasser): could be potentially optimized, but only with
          // extensive testing
          try {
            return Float.parseFloat(string);
          } catch (NumberFormatException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      CharMatcher generateCharMatcher() {
        return new CharMatcher() {
          @Override
          public boolean matches(char c) {
            return false;
          }
    
          final String string = paramString(CharMatcher.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        private final EventBus bus;
        private final List<StringCatcher> catchers;
    
        Registrator(EventBus bus, List<StringCatcher> catchers) {
          this.bus = bus;
          this.catchers = catchers;
        }
    
        @Override
        public void run() {
          StringCatcher catcher = new StringCatcher();
          bus.register(catcher);
          catchers.add(catcher);
        }
      }
    
      /**
       * A collector for DeadEvents.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        private final EventBus bus;
        private final List<StringCatcher> catchers;
    
        Registrator(EventBus bus, List<StringCatcher> catchers) {
          this.bus = bus;
          this.catchers = catchers;
        }
    
        @Override
        public void run() {
          StringCatcher catcher = new StringCatcher();
          bus.register(catcher);
          catchers.add(catcher);
        }
      }
    
      /**
       * A collector for DeadEvents.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Dispatcher.java

       */
      static Dispatcher perThreadDispatchQueue() {
        return new PerThreadQueuedDispatcher();
      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top