Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for use (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

      int percent;
    
      // Whether to use a precomputed CharMatcher
      @Param("true")
      boolean precomputed;
    
      enum Size {
        DEFAULT,
        SMALL;
      }
    
      @Param Size size;
    
      // Whether to ensure there is a matching character in the first position
      // to force the trimming code to run.
      @Param("false")
      boolean forceSlow;
    
      // Use web-derived sampler.
      @Param("false")
      boolean web;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
    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)
  5. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java

    /*
     * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.references;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Sat Apr 13 09:17:40 GMT 2024
    - 129.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *               },
       *               executor)
       *           .closing(executor);
       * }</pre>
       */
      // TODO(cpovirk): Use simple name instead of fully qualified after we stop building with JDK 8.
      @com.google.errorprone.annotations.DoNotMock(
          "Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
      public static class Combiner {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    /*
     * Copyright (C) 2011 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    /*
     * Copyright (C) 2011 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top