Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 4,460 for _this5 (0.33 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

      int timeUncontendedExecute(int reps) {
        Executor executor = this.executor;
        CountingRunnable countingRunnable = this.countingRunnable;
        for (int i = 0; i < reps; i++) {
          executor.execute(countingRunnable);
        }
        return countingRunnable.integer.get();
      }
    
      @Benchmark
      int timeContendedExecute(int reps) {
        Executor executor = this.executor;
        for (Thread thread : threads) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/AbstractLoadingCache.java

    import java.util.Map;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    
    /**
     * This class provides a skeletal implementation of the {@code Cache} interface to minimize the
     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #get(Object)} and {@link #getIfPresent} methods. {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/NaturalOrdering.java

      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 01:34:19 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ReverseOrdering.java

        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ReverseOrdering) {
          ReverseOrdering<?> that = (ReverseOrdering<?>) object;
          return this.forwardOrder.equals(that.forwardOrder);
        }
        return false;
      }
    
      @Override
      public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      final Map<E, N> outEdgeMap;
    
      private int selfLoopCount;
    
      AbstractDirectedNetworkConnections(Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) {
        this.inEdgeMap = checkNotNull(inEdgeMap);
        this.outEdgeMap = checkNotNull(outEdgeMap);
        this.selfLoopCount = checkNonNegative(selfLoopCount);
        checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size());
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

          values = sampleData.getValuesInSet();
        }
        this.mapToTest = impl.create(values);
        this.queries = sampleData.getQueries();
      }
    
      @Benchmark
      boolean get(int reps) {
        // Paranoia: acting on hearsay that accessing fields might be slow
        // Should write a benchmark to test that!
        Map<Element, Element> map = mapToTest;
        Element[] queries = this.queries;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/WebApiRequest.java

         * @param request The original HTTP servlet request
         * @param servletPath The custom servlet path for this web API request
         */
        public WebApiRequest(final HttpServletRequest request, final String servletPath) {
            super(request);
            this.servletPath = servletPath;
        }
    
        /**
         * Gets the servlet path for this request.
         * Returns the custom servlet path unless the query string contains SAStruts.method.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

          builder.put(entry.getValue(), entry.getKey());
        }
        ImmutableMap<V, K> backwardMap = builder.build();
        this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this);
      }
    
      RegularImmutableBiMap(ImmutableMap<K, V> delegate, ImmutableBiMap<V, K> inverse) {
        super(delegate);
        this.inverse = inverse;
      }
    
      @Override
      public ImmutableBiMap<V, K> inverse() {
        return inverse;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 27 22:02:32 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        private final AtomicInteger called = new AtomicInteger();
    
        InteractionTester(Class<T> interfaceType, Method method) {
          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
        @Override
        protected @Nullable Object handleInvocation(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMultimap.java

        }
    
        @Override
        public int size() {
          return AbstractMultimap.this.size();
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return AbstractMultimap.this.containsValue(o);
        }
    
        @Override
        public void clear() {
          AbstractMultimap.this.clear();
        }
      }
    
      Iterator<V> valueIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top