Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 5,478 for newE (0.3 seconds)

  1. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            new Runnable() {
              @Override
              public void run() {
                throw new RuntimeException("Oh no!");
              }
            };
    
        Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 18 22:10:29 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            if (urlList.isEmpty()) {
                return;
            }
            final List<OpenSearchUrlFilter> urlFilterList = new ArrayList<>(urlList.size());
            for (final String url : urlList) {
                final OpenSearchUrlFilter esUrlFilter = new OpenSearchUrlFilter();
                esUrlFilter.setSessionId(sessionId);
                esUrlFilter.setFilterType(INCLUDE);
                esUrlFilter.setUrl(url);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            SmbCircuitBreaker backpressureCircuitBreaker = new SmbCircuitBreaker("backpressure-test", 5, 2, 1000, 3, false, true, 2);
    
            try {
                CountDownLatch startLatch = new CountDownLatch(1);
                CountDownLatch completeLatch = new CountDownLatch(5);
                AtomicInteger rejectedCount = new AtomicInteger(0);
                AtomicInteger successCount = new AtomicInteger(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                        new ExtensionConfigurationModule(extension.entry(), extensionSource));
            }
            if (!failures.isEmpty()) {
                IllegalStateException mavenDiFailed = new IllegalStateException(
                        "Maven dependency injection failed for at least one of the registered core extension");
                failures.forEach(mavenDiFailed::addSuppressed);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                                pluginRealm,
                                new SessionScopeModule(container.lookup(SessionScope.class)),
                                new MojoExecutionScopeModule(container.lookup(MojoExecutionScope.class)),
                                new PluginConfigurationModule(plugin.getDelegate()),
                                new SisuDiBridgeModule(true));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

                        if (newBufferSize > MAX_BUF_SIZE) {
                            throw new IORuntimeException(new IOException("Content too large: exceeds maximum buffer size of " + MAX_BUF_SIZE + " bytes. Use streaming APIs for large content."));
                        }
                        final char[] newBuf = new char[newBufferSize];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      @Override
      public C first() {
        throw new NoSuchElementException();
      }
    
      @Override
      public C last() {
        throw new NoSuchElementException();
      }
    
      @Override
      public int size() {
        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        assertSame(expected, future.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            new Callable<String>() {
              @Override
              public String call() throws Exception {
                throw expected;
              }
            };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top