- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for stop (0.14 sec)
-
android/guava/src/com/google/common/io/ByteProcessor.java
/** * A callback interface to process bytes from a stream. * * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return * {@code false} when you want to stop processing. * * @author Chris Nokleberg * @since 1.0 */ @DoNotMock("Implement it normally") @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
stopwatch.start(); assertSame(stopwatch, stopwatch.stop()); assertFalse(stopwatch.isRunning()); } public void testStop_new() { try { stopwatch.stop(); fail(); } catch (IllegalStateException expected) { } assertFalse(stopwatch.isRunning()); } public void testStop_alreadyStopped() { stopwatch.start(); stopwatch.stop(); try { stopwatch.stop();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
stopwatch.start(); assertSame(stopwatch, stopwatch.stop()); assertFalse(stopwatch.isRunning()); } public void testStop_new() { try { stopwatch.stop(); fail(); } catch (IllegalStateException expected) { } assertFalse(stopwatch.isRunning()); } public void testStop_alreadyStopped() { stopwatch.start(); stopwatch.stop(); try { stopwatch.stop();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
result = true; // don't stop processing in case a future segment explicitly excludes this repo } // check for external:http:* else if (EXTERNAL_HTTP_WILDCARD.equals(repo) && isExternalHttpRepo(originalRepository)) { result = true; // don't stop processing in case a future segment explicitly excludes this repo
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* * <pre>{@code * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * }</pre> * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
/* * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most * of common.collect a second time with the results of the first compilation on the classpath. Or * just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override public ImmutableMap<Object, Collection<Object>> asMap() { return super.asMap(); } private Object readResolve() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 18 16:48:17 GMT 2022 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
assertTrue(expiredCount > 0); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); TimeoutManager.getInstance().stop(); assertNull(TimeoutManager.getInstance().thread); Thread.sleep(10); int count = expiredCount; task.stop(); TimeoutManager.getInstance().start(); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
return asJson(new ApiResponse().status(Status.OK).result()); } // POST /api/admin/scheduler/{id}/stop @Execute(urlPattern = "{}/@word") public JsonResponse<ApiResult> post$stop(final String id) { scheduledJobService.getScheduledJob(id).ifPresent(entity -> { try { entity.stop(); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
* changes: http://goo.gl/okTTdr * * TODO(cpovirk): decide what the best long-term action here is: force users * to suppress (as we do now), stop testing entrySet().add() at all, make * entrySet().add() tests tolerant of either behavior, introduce a map * feature for entrySet() that supports add(), or something else */ return Arrays.asList(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
/** * 止まっているかどうか返します。 * * @return 止まっているかどうか */ public boolean isStopped() { return status == STOPPED; } /** * タイマーをとめます。 */ public void stop() { if (status != ACTIVE) { throw new ClIllegalStateException(String.valueOf(status)); } status = STOPPED; } /** * タイマーを再開始します。 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0)