Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2161 - 2170 of 6,993 for public (0.05 sec)

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

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        protected int maxLoadSize = 10000;
    
        public OpenSearchUrlFilterService(final OpenSearchCrawlerConfig crawlerConfig) {
            index = crawlerConfig.getFilterIndex();
            setNumberOfShards(crawlerConfig.getFilterShards());
            setNumberOfReplicas(crawlerConfig.getFilterReplicas());
        }
    
        public OpenSearchUrlFilterService(final String name, final String type) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class PermissionHelperTest extends UnitFessTestCase {
    
        public PermissionHelper permissionHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            permissionHelper = new PermissionHelper();
            permissionHelper.systemHelper = new SystemHelper();
        }
    
        public void test_encode() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return get(key) != null;
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          assertEquals(WARMUP_SIZE, cache.size());
          assertMapSize(cache.asMap(), WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testContainsKey_found() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

    import org.apache.lucene.util.UnicodeUtil;
    import org.apache.lucene.util.fst.FST;
    
    // https://issues.apache.org/jira/browse/LUCENE-5252
    public final class NGramSynonymTokenizer extends Tokenizer {
    
        public static final int DEFAULT_N_SIZE = 2;
    
        public static final String DEFAULT_DELIMITERS = "  \t\n\r";
    
        static final int BUFFER_SIZE = 4096;
    
        private final int n;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/InternersTest.java

     *
     * @author Kevin Bourrillion
     */
    public class InternersTest extends TestCase {
    
      public void testStrong_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Interner<String> pool = Interners.newStrongInterner();
        assertSame(canonical, pool.intern(canonical));
        assertSame(canonical, pool.intern(not));
      }
    
      public void testStrong_null() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        Preconditions.checkArgument(expectedInputSize >= 0);
        return new BufferingHasher(expectedInputSize);
      }
    
      @Override
      public HashCode hashInt(int input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

      }
    
      public static <T> Callable<T> callableThrowing(final Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(final RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
            throw e;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top