- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 139 for Synchronizer (0.3 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
} static class DecoupledClassLoader extends URLClassLoader { public DecoupledClassLoader(URL[] urls) { super(urls); } @Override protected synchronized Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { // Force Finalizer to load from this class loader, not its parent. if (name.equals(Finalizer.class.getName())) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* HashBiMap.<Long, String>create()); * ... * Set<Long> set = map.keySet(); // Needn't be in synchronized block * ... * synchronized (map) { // Synchronizing on map, not set! * Iterator<Long> it = set.iterator(); // Must be in synchronized block * while (it.hasNext()) { * foo(it.next()); * } * } * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 159.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
this.pluginDeclarations = new LinkedHashSet<>(); this.pluginIssues = new HashMap<>(); this.mojoIssues = new HashMap<>(); } private synchronized void reportPluginIssue( IssueLocality issueLocality, String pluginDeclaration, String issue) { if (pluginDeclaration != null) { pluginDeclarations.add(pluginDeclaration);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 23 12:25:04 UTC 2024 - 17.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java
result.addAll(((ConfigurationInternal) config).getAllExcludeRules()); } return result; } /** * Synchronize read access to excludes. Mutation does not need to be thread-safe. */ private synchronized void initExcludeRules() { if (parsedExcludeRules == null) { NotationParser<Object, ExcludeRule> parser = ExcludeRuleNotationConverter.parser();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 85.4K bytes - Viewed (0) -
src/sync/pool.go
// free list. // // A Pool must not be copied after first use. // // In the terminology of [the Go memory model], a call to Put(x) “synchronizes before” // a call to [Pool.Get] returning that same value x. // Similarly, a call to New returning x “synchronizes before” // a call to Get returning that same value x. // // [the Go memory model]: https://go.dev/ref/mem type Pool struct { noCopy noCopy
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K bytes - Viewed (1) -
src/runtime/trace.go
// We ensure this is safe by stopping the world, which acts a global barrier on almost // every M, and explicitly synchronize with any other Ms that could be running concurrently // with us. Today, there are only two such cases: // - sysmon, which we synchronized with by acquiring sysmonlock. // - goroutines exiting syscalls, which we synchronize with via trace.exitingSyscall. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 5.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
AtomicReference<Throwable> causeRef = new AtomicReference<>(null); Exception cause2 = new RuntimeException("loop") { @Override public synchronized Throwable getCause() { return causeRef.get(); } }; causeRef.set(cause2); Plugin plugin = new Plugin();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 10:31:03 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java
maybeClosed(); } private void maybeClosed() { // This can be invoked from the reader thread or some other thread that is attempting to shut the client down. synchronized (lock) { if (!closed) { CloseInput message = new CloseInput(); dispatch.dispatch(message); closed = true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java
* * @param consumerId the consumer * @param onMiss called to create the initial data, when not found * @param <T> the type of data * @return user data */ public synchronized <T> T getUserData(Object consumerId, Factory<T> onMiss) { if (userData.containsKey(consumerId)) { return Cast.uncheckedCast(userData.get(consumerId)); } T value = onMiss.create();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 6.5K bytes - Viewed (0)