Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for pager (0.13 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

       * across different segments.
       *
       * If a maximum size is specified, a best-effort bounding is performed per segment, using a
       * page-replacement algorithm to determine which entries to evict when the capacity has been
       * exceeded.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/html/HtmlEscapers.java

       * escapes only the following five ASCII characters: {@code '"&<>}.
       */
      public static Escaper htmlEscaper() {
        return HTML_ESCAPER;
      }
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      private static final Escaper HTML_ESCAPER =
          Escapers.builder()
              .addEscape('"', "&quot;")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 14 22:08:54 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
       * Returns an {@link Escaper} instance that escapes special characters in a string so it can
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Functions.java

      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
        INSTANCE;
    
        @Override
        public String apply(Object o) {
          checkNotNull(o); // eager for GWT.
          return o.toString();
        }
    
        @Override
        public String toString() {
          return "Functions.toStringFunction()";
        }
      }
    
      /**
       * Returns the identity function.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
        checkNotNull(multimap); // eager for GWT
        if (multimap.isEmpty() && valueComparator == null) {
          return of();
        }
    
        if (multimap instanceof ImmutableSetMultimap) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

       *       implementation will effectively put the whole file in memory. On many systems with paging
       *       and virtual memory, this is not a problem - because it is mapped read-only, the kernel
       *       can always page it to disk "for free". However, on systems where killing processes
       *       happens all the time in normal conditions (i.e., android) the OS must make a tradeoff
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
Back to top