Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Chalin (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * ListenableFuture}</a>.
     *
     * <p>This class is GWT-compatible.
     *
     * <h3>Purpose</h3>
     *
     * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of
     * asynchronous operations. You can chain them together manually with calls to methods like {@link
     * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
            return entryIndex;
          }
          lastEntryIndex = entryIndex;
          next = getNext(entry, mask);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashing.java

            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
            return entryIndex;
          }
          lastEntryIndex = entryIndex;
          next = getNext(entry, mask);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      public void testFutureGetThrowsRuntimeException() throws Exception {
        BadFuture badInput = new BadFuture(Futures.immediateFuture(20));
        ListenableFuture<String> chain = buildChainingFuture(badInput);
        ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get());
        assertSame(RuntimeException.class, e.getCause().getClass());
      }
    
      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ComparisonChain.java

       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
       * Compares two {@code int} values as specified by {@link Ints#compare}, <i>if</i> the result of
       * this comparison chain has not already been determined.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      public void testFutureGetThrowsRuntimeException() throws Exception {
        BadFuture badInput = new BadFuture(Futures.immediateFuture(20));
        ListenableFuture<String> chain = buildChainingFuture(badInput);
        ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get());
        assertSame(RuntimeException.class, e.getCause().getClass());
      }
    
      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * ListenableFuture}</a>.
     *
     * <p>This class is GWT-compatible.
     *
     * <h3>Purpose</h3>
     *
     * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of
     * asynchronous operations. You can chain them together manually with calls to methods like {@link
     * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ReferenceEntry.java

      @CheckForNull
      ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @CheckForNull
      ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
      int getHash();
    
      /** Returns the key for this entry. */
      @CheckForNull
      K getKey();
    
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
Back to top