Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2101 - 2110 of 3,475 for 1final (0.07 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
    
      private final Queue<E> delegate;
    
      @VisibleForTesting final int maxSize;
    
      private EvictingQueue(int maxSize) {
        checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

     *
     * @author Ben Yu
     * @since 13.0
     */
    public final class MutableTypeToInstanceMap<B extends @Nullable Object>
        extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {
      /** Creates a new map. */
      public MutableTypeToInstanceMap() {}
    
      private final Map<TypeToken<? extends @NonNull B>, B> backingMap = new HashMap<>();
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      public HashCode hashBytes(ByteBuffer input) {
        return newHasher(input.remaining()).putBytes(input).hash();
      }
    
      /** In-memory stream-based implementation of Hasher. */
      private final class BufferingHasher extends AbstractHasher {
        final ExposedByteArrayOutputStream stream;
    
        BufferingHasher(int expectedInputSize) {
          this.stream = new ExposedByteArrayOutputStream(expectedInputSize);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future;
        }
      }
    
      static final class TimedWaiterThread extends Thread {
        private final AbstractFuture<?> future;
        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ClosingFuture.java

              @ParametricNullness V5 value5)
              throws Exception;
        }
    
        private final ClosingFuture<V1> future1;
        private final ClosingFuture<V2> future2;
        private final ClosingFuture<V3> future3;
        private final ClosingFuture<V4> future4;
        private final ClosingFuture<V5> future5;
    
        private Combiner5(
            ClosingFuture<V1> future1,
            ClosingFuture<V2> future2,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class QueryProcessorTest extends UnitFessTestCase {
    
        public void test_executeWithFilter() {
            final AtomicBoolean called = new AtomicBoolean(false);
            QueryProcessor queryProcessor = new QueryProcessor() {
                protected FilterChain createDefaultFilterChain() {
                    return (context, query, boost) -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

         */
        public UserAgentHelper() {
            // Default constructor
        }
    
        /** The HTTP header name for User-Agent */
        protected static final String USER_AGENT = "user-agent";
    
        /** The request attribute key for storing cached user agent type */
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
        private static final long serialVersionUID = 1L;
      }
    
      private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
        private static final long serialVersionUID = 2L;
    
        @SuppressWarnings("EqualsHashCode")
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NaturalOrdering.java

    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the natural order of the values. */
    @GwtCompatible
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
      // TODO: b/287198172 - Consider eagerly initializing these (but think about serialization).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top