Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for shale (0.14 sec)

  1. android/guava/src/com/google/common/cache/ReferenceEntry.java

      @CheckForNull
      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code
     * ClassToInstanceMap}</a>.
     *
     * @param <B> the common supertype that all values will share. When in doubt, just use {@link
     *     Object}, or use {@code @Nullable Object} to allow null values.
     * @since 2.0
     */
    @DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap")
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
     * @author Ben Yu
     * @since 13.0
     */
    @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap")
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
        assertTrue(Striped.lazyWeakLock(100).size() >= 100);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

                EndpointPair.ordered(1, 1),
                EndpointPair.ordered(1, 3),
                EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * regardless of whether some failed. This lets us avoid calling expensive methods like
           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
           * We store `localFutures` inside the listener because `this.futures` might be nulled out by
           * the time the listener runs for the final future -- at which point we need to check all
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            V value = getLiveValue(entry);
            if (value != null) {
              nextExternal = new WriteThroughEntry(key, value);
              return true;
            } else {
              // Skip stale entry.
              return false;
            }
          } finally {
            currentSegment.postReadCleanup();
          }
        }
    
        @Override
        public boolean hasNext() {
    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)
  9. guava/src/com/google/common/collect/ClassToInstanceMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code
     * ClassToInstanceMap}</a>.
     *
     * @param <B> the common supertype that all values will share. When in doubt, just use {@link
     *     Object}, or use {@code @Nullable Object} to allow null values.
     * @since 2.0
     */
    @DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap")
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
       *
       * <p>Currently automatic refreshes are performed when the first stale request for an entry
       * occurs. The request triggering refresh will make a synchronous call to {@link
       * CacheLoader#reload}
       * to obtain a future of the new value. If the returned future is already complete, it is returned
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top