- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 326 for synchronize (0.63 seconds)
-
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
} enumConstantCache.put(enumClass, result); return result; } static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants( Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java
*/ private final int priority; /** * Parses the phase identifier. * * @param phase the phase identifier. * @return the {@link PhaseId}. */ public static synchronized PhaseId of(String phase) { return INSTANCES.computeIfAbsent(phase, PhaseId::new); } /** * Constructor. * * @param phase the phase identifier string. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/Logger.java
/** * Returns a {@link Logger}. * * @param clazz * Class to be used as the logger category. Must not be {@literal null}. * @return {@link Logger} */ public static synchronized Logger getLogger(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); if (!initialized) { initialize(); } Logger logger = loggers.get(clazz);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
val totalExceptionBytes = bufferedSource.readInt() publicSuffixExceptionListBytes = bufferedSource.readByteString(totalExceptionBytes.toLong()) } synchronized(this) { this.bytes = publicSuffixListBytes!! this.exceptionBytes = publicSuffixExceptionListBytes!! } } finally { readCompleteLatch.countDown() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java
/** * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class Graph { final Map<String, Set<String>> graph = new LinkedHashMap<>(); synchronized void addEdge(String from, String to) throws CycleDetectedException { if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
private TearDownStack buildTearDownStack() { TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( () -> { synchronized (result.lock) { assertEquals( "The test should have cleared the stack (say, by virtue of running runTearDown)", 0, result.stack.size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
writeUtf8("\r\n") write(source, byteCount) writeUtf8("\r\n") } } @Synchronized override fun flush() { if (closed) return // Don't throw; this stream might have been closed on the caller's behalf. socket.sink.flush() } @Synchronized override fun close() { if (closed) return closed = true socket.sink.writeUtf8("0\r\n\r\n")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
* {@link Map} specified in the {@link Table} interface. * * <p>Note that this implementation is not synchronized. If multiple threads access this table * concurrently and one of the threads modifies the table, it must be synchronized externally. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0)