- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 344 for synchronized (0.2 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} private static class TestApplication extends Application { private final List<Thread> hooks = new ArrayList<>(); @Override synchronized void addShutdownHook(Thread hook) { hooks.add(hook); } synchronized void shutdown() throws InterruptedException { for (Thread hook : hooks) { hook.start(); } for (Thread hook : hooks) { hook.join();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
this.epoch = 1; this.breaking = false; } public synchronized void updateState(int newState) { this.leaseState = newState; this.lastAccessTime = System.currentTimeMillis(); } public synchronized void incrementEpoch() { this.epoch++; } public boolean hasReadCache() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
throws SmbAuthException { if (disabled) return null; return super.getReferral(trans, domain, root, path, auth); } @Override public synchronized DfsReferral resolve(String domain, String root, String path, NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled || root.equals("IPC$")) { return null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
/** The number of bytes of the POST body to keep in memory to the given limit. */ public var bodyLimit: Long = Long.MAX_VALUE public var serverSocketFactory: ServerSocketFactory? @Synchronized get() = serverSocketFactory_ @Synchronized set(value) { check(socketAddress_ == null) { "serverSocketFactory must not be set after start()" } serverSocketFactory_ = value } /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
} } private static final class TimeoutFutureException extends TimeoutException { private TimeoutFutureException(String message) { super(message); } @Override public synchronized Throwable fillInStackTrace() { setStackTrace(new StackTraceElement[0]); return this; // no stack trace, wouldn't be useful anyway } } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
// Test thread safety of fillInStackTrace method UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); // Create multiple threads to test synchronized method Thread thread1 = new Thread(() -> { Throwable result = exception.fillInStackTrace(); assertNull(result); }); Thread thread2 = new Thread(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* * <p>This method is not type-safe, as it may be called on elements that are not mutually * comparable. * * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent * collection that is currently being modified by another thread. * * @throws ClassCastException if the elements are not mutually comparableCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
this.indexName = indexName; supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); totalDocNum = getTotal(); } @Override public synchronized Map<String, Object> read() { while (!isFinished.get() && queue.isEmpty()) { addDocumentToQueue(); } return queue.poll(); } @OverrideCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
} logger.info("Finished SuggestCreator."); System.exit(exitCode); } private static void destroyContainer() { TimeoutManager.getInstance().stop(); synchronized (SingletonLaContainerFactory.class) { SingletonLaContainerFactory.destroy(); } } private static int process(final Options options) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
when(address.getHostName()).thenReturn("testhost"); transport = new SmbTransportImpl(context, address, 445, null, 0, false); } /** * Test that pre-auth integrity hash is properly synchronized */ @Test @DisplayName("Pre-auth integrity hash should be thread-safe") void testPreauthHashThreadSafety() throws Exception { // Setup SMB3.1.1 negotiation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0)