Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 302 for break (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

            // Check interrupt status to get behavior consistent with fair case.
            if (Thread.interrupted()) {
              throw new InterruptedException();
            }
            if (lock.tryLock()) {
              break locked;
            }
          }
          startTime = initNanoTime(timeoutNanos);
          if (!lock.tryLock(time, unit)) {
            return false;
          }
        }
    
        boolean satisfied = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                assertThat(network.hasEdgeConnecting(node, otherNode)).isFalse();
                break;
              case 1:
                assertThat(network.edgeConnectingOrNull(node, otherNode))
                    .isEqualTo(edgesConnecting.iterator().next());
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
                break;
              default:
                assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/SmallCharMatcher.java

          filter |= 1L << c;
          int index = smear(c) & mask;
          while (true) {
            // Check for empty.
            if (table[index] == 0) {
              table[index] = (char) c;
              break;
            }
            // Linear probing.
            index = (index + 1) & mask;
          }
        }
        return new SmallCharMatcher(table, filter, containsZero, description);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

            val buffer = Buffer()
            try {
              sink.use {
                source.use {
                  while (true) {
                    val byteCount = source.read(buffer, 8192L)
                    if (byteCount == -1L) break
                    sink.write(buffer, byteCount)
                    sink.emit()
                  }
                }
              }
            } catch (e: IOException) {
              logger.log(Level.WARNING, "$name failed", e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        closed = true
    
        if (!started) return // Nothing to shut down.
        val serverSocket = this.serverSocket ?: return // If this is null, start() must have failed.
    
        // Cause acceptConnections() to break out.
        serverSocket.closeQuietly()
    
        // Await shutdown.
        for (queue in taskRunner.activeQueues()) {
          if (!queue.idleLatch().await(5, TimeUnit.SECONDS)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

          return Iterators.unmodifiableIterator(iterable.iterator());
        }
    
        @Override
        public String toString() {
          return iterable.toString();
        }
        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
      public static int size(Iterable<?> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<?>) iterable).size()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(ProtwordsService.class).getProtwordsItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Get the protected word item.
         * @param form The create form.
         * @param hook The error hook.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(FileConfigService.class).getFileConfig(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Gets a file configuration entity from the form with system info.
         *
         * @param form the create form
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top