Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for cark (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        try {
          builder.buildOrThrow();
          fail("Expected exception from duplicate keys");
        } catch (IllegalArgumentException expected) {
          // We don't really care which values the exception message contains, but they should be
          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * this still yields higher concurrency than full synchronization.
       *
       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        return s.charAt(rand.nextInt(s.length()));
      }
    
      /**
       * Provides samples on a random distribution derived from the web.
       *
       * <p>Adapted from data provided by Mark Davis.
       *
       * @author Christopher Swenson
       */
      static class CharSamples {
    
        static {
          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
            // In case there were linking problems, this is probably not a class we care to test anyway.
            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
         * We don't serialize this class in GWT, so we don't care about whether GWT will serialize this
         * field.
         */
        @GwtTransient private final String justAfterNull;
    
        protected NullsBefore(String justAfterNull) {
          if (justAfterNull == null) {
    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)
  7. android/guava/src/com/google/common/graph/Graphs.java

      /**
       * Determines whether an edge has already been used during traversal. In the directed case a cycle
       * is always detected before reusing an edge, so no special logic is required. In the undirected
       * case, we must take care not to "backtrack" over an edge (i.e. going from A to B and then going
       * from B to A).
       */
      private static boolean canTraverseWithoutReusingEdge(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top