- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 70 for visibility (0.08 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
@Override public Optional<Packaging> lookup(String id) { id = id.toLowerCase(Locale.ROOT); // TODO: we should be able to inject a Map<String, LifecycleMapping> directly, // however, SISU visibility filtering can only happen when an explicit // lookup is performed. The whole problem here is caused by "project extensions" // which are bound to a project's classloader, without any clear definitionCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
/** * Timestamp of the last time data store names were loaded from plugin files. * Used to implement a time-based cache refresh mechanism. * Volatile to ensure visibility across threads. */ protected volatile long lastLoadedTime = 0; /** * Creates a new instance of DataStoreFactory. * This constructor initializes the factory for managing data store instancesCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
/** * The mime type. */ public String mimeType = "application/datastore"; /** * The flag to check if the data store is alive. * Volatile to ensure visibility across threads. */ protected volatile boolean alive = true; /** * Default constructor. */ public AbstractDataStore() { // nothing } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate; transient volatile boolean initialized; // "value" does not need to be volatile; visibility piggy-backs // on volatile read of "initialized". transient @Nullable T value; MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
// ============================================================================= // Public C API entry points // // These are only the generic entry points for the C API. This file does not // have any visibility into the graph/eager implementation and is only providing // C bindings to the abstract classes defined in the // c_api_unified_experimental_internal.h header. //
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
extRealm.importFrom(realm, exportedPackage); } if (exportedPackages.isEmpty()) { // sisu uses realm imports to establish component visibility extRealm.importFrom(realm, realm.getId()); } } return extRealm; } return coreRealm; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
* the same lambda function as passed into {@link #using(Function)}. */ // This class is now only available externally for backwards compatibility; it should not be used // internally (hence the package-private visibility and @Deprecated annotation). @Deprecated @Beta @GwtCompatible public abstract class TreeTraverser<T> { /** Constructor for use by subclasses. */ public TreeTraverser() {} /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 18:39:06 GMT 2025 - 8.3K bytes - Click Count (0) -
okhttp/build.gradle.kts
allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") } } } } // Work around issue 8826, where the Sentry SDK assumes that OkHttp's internal-visibility symbols // will be suffixed '$okhttp' in deployable artifacts. This isn't intended to be a published API, // but it's easy enough for us to keep it working. https://github.com/square/okhttp/issues/8826Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 22:16:39 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
assertFalse("alive should be false after writer thread", dataStore.alive); // At least some observations from reader threads should have seen false // due to volatile ensuring visibility int falseCount = 0; for (int i = 0; i < readerThreadCount; i++) { for (Boolean observed : observations[i]) { if (!observed) { falseCount++;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
Assertions.assertEquals(3, results[i].length, "Thread " + i + " got wrong array length"); } } /** * Test that volatile fields ensure visibility across threads. * Verify that changes to lastLoadedTime are visible to all threads. */ @Test public void test_volatileFields_visibility() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0)