Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,378 for while (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
            fail("Remove on unmodifiable iterator succeeded");
          } catch (UnsupportedOperationException expected) {
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
        executor.shutdown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                assertEquals(maxCount, dataService.getCount(sessionId2));
    
                UrlQueue urlQueue;
                while ((urlQueue = urlQueueService.poll(sessionId1)) != null) {
                    assertTrue(urlQueue.getUrl().startsWith(url1));
                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl().startsWith(url2));
                }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
       * creation time, while Android may always output it as an interface name, even if it was supplied
       * as a numeric ID.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            if (!settingsResult.getProblems().isEmpty() && LOGGER.isWarnEnabled()) {
                LOGGER.warn("");
                LOGGER.warn("Some problems were encountered while building the effective settings");
    
                for (SettingsProblem problem : settingsResult.getProblems()) {
                    LOGGER.warn("{} @ {}", problem.getMessage(), problem.getLocation());
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                    try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
                        String command;
                        while (true) {
                            try {
                                while (!reader.ready()) {
                                    ThreadUtil.sleep(1000L);
                                }
                                command = reader.readLine().trim();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            return new HttpClient(settings, null);
        }
    
        public <T> T get(final Function<FesenClient, ActionFuture<T>> func) {
            int retryCount = 0;
            while (true) {
                try {
                    return func.apply(this).actionGet(connTimeout, TimeUnit.MILLISECONDS);
                } catch (final IndexNotFoundException | VersionConflictEngineException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // WILDCARD PATTERN RULES:
        // 1. Asterisk (*) is only permitted in the left-most domain name label and must be the
        //    only character in that label (i.e., must match the whole left-most label).
        //    For example, *.example.com is permitted, while *a.example.com, a*.example.com,
        //    a*b.example.com, a.*.example.com are not permitted.
        // 2. Asterisk (*) cannot match across domain name labels.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/CollectorTester.java

              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              push(stack, newAccum);
            }
            push(stack, collector.supplier().get());
            while (stack.size() > 1) {
              A right = pop(stack);
              A left = pop(stack);
              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top