Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1721 - 1730 of 5,478 for newE (0.04 seconds)

  1. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
            ex.printStackTrace();
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java

    /**
     * Factory interface for creating new RequestCache instances.
     * Implementations should handle the creation and configuration of cache instances
     * based on the current Maven session and environment.
     *
     * @since 4.0.0
     * @see RequestCache
     */
    @Experimental
    public interface RequestCacheFactory {
    
        /**
         * Creates a new RequestCache instance.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        int hostLimit = 25;
        long cacheByteCount = 1024L * 1024L * 100L;
    
        Cache cache = new Cache(new File(args[0]), cacheByteCount);
        OkHttpClient client = new OkHttpClient.Builder()
            .cache(cache)
            .callTimeout(5, TimeUnit.SECONDS)
            .build();
    
        Crawler crawler = new Crawler(client, queueLimit, hostLimit);
        crawler.queue.add(HttpUrl.get(args[1]));
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            final ProcessBuilder pb = new ProcessBuilder(cmdList);
            pbCall.accept(pb);
    
            // Remove and destroy any existing process for this session
            final JobProcess oldProcess = runningProcessMap.remove(sessionId);
            if (oldProcess != null) {
                destroyProcess(sessionId, oldProcess);
            }
    
            // Start the new process and add it to the map
            try {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        private final String name;
        private final AtomicReference<State> state = new AtomicReference<>(State.CLOSED);
        private final AtomicInteger consecutiveFailures = new AtomicInteger(0);
        private final AtomicInteger halfOpenSuccesses = new AtomicInteger(0);
        private final AtomicLong lastFailureTime = new AtomicLong(0);
        private final AtomicLong stateChangeTime = new AtomicLong(System.currentTimeMillis());
    
        // Statistics
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsKeyMatchCA.java

            KeyMatchCQ cq = new KeyMatchCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                KeyMatchCA ca = new KeyMatchCA();
                aggsLambda.callback(ca);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 61.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

        public boolean add(@ParametricNullness E element) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int add(@ParametricNullness E element, int occurrences) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean addAll(Collection<? extends E> elementsToAdd) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        Files.copy(i18nFile, temp1);
        moveHelper(true, new UnmovableFile(temp1, false, true), temp2);
        assertTrue(Files.equal(temp2, i18nFile));
      }
    
      public void testMoveFailures() throws IOException {
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        moveHelper(false, new UnmovableFile(temp1, false, false), temp2);
        moveHelper(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /**
       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top