- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 750 for ensures (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
* <li>Events for the different listeners are dispatched concurrently. * <li>All events for a given listener dispatch on the provided executor. * <li>It is easy for the user to ensure that listeners are never invoked while holding locks. * </ul> * * The last point is subtle. Often the observable object will be managing its own internal state
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
internal/dsync/drwmutex.go
owner, grantToBeReleased.lockUID, isReadLock, names...) } } }() return quorumLocked } // checkFailedUnlocks determines whether we have sufficiently unlocked all // resources to ensure no deadlocks for future callers func checkFailedUnlocks(locks []string, tolerance int) bool { unlocksFailed := 0 for lockID := range locks { if isLocked(locks[lockID]) { unlocksFailed++ } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testTreeConnectLogonValid() throws Exception { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn("LOGON$"); // Mock tree and ensure it is returned by getSmbTree SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull()); // Act session.treeConnectLogon();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
internal/grid/README.md
The client does not wait for the remote handler to finish before returning. Returning any error will also cancel the stream remotely. CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send. If the remote handler is blocked on a send, and the client is trying to send without the remote receiving, the operation would become deadlocked if the channels are full.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
childKey = child.getKey(); if (managedVersions.containsKey(childKey)) { // If this child node is a managed dependency, ensure // we are using the dependency management version // of this child if applicable b/c we want to use the
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} /** * Inner class for handling updates to the character mapping file. * This class manages the temporary file creation, writing operations, * and atomic updates to ensure data consistency during modifications. */ protected class MappingUpdater implements Closeable { /** Flag indicating whether changes should be committed to the file. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler(); Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url); // Ensure environment variables are not set (in real scenario) // In this test, we expect IOException when project ID is blank try { conn.connect();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.1K bytes - Click Count (0) -
internal/event/target/kafka.go
config.Net.TLS.Config.InsecureSkipVerify = args.TLS.SkipVerify config.Net.TLS.Config.ClientAuth = args.TLS.ClientAuth config.Net.TLS.Config.RootCAs = args.TLS.RootCAs // These settings are needed to ensure that kafka client doesn't hang on brokers // refer https://github.com/IBM/sarama/issues/765#issuecomment-254333355 config.Producer.Retry.Max = 2 config.Producer.Retry.Backoff = (1 * time.Second)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
internal/dsync/dsync_test.go
if !dm.GetLock(t.Context(), nil, id, source, Options{Timeout: 5 * time.Minute}) { t.Fatal("GetLock() should be successful") } // Add delay to lock server responses to ensure that lock does not timeout for i := range lockServers { lockServers[i].setResponseDelay(5 * testDrwMutexUnlockCallTimeout) defer lockServers[i].setResponseDelay(0) } unlockReturned := make(chan struct{}, 1)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
Resource resourceWithTarget = new Resource(); resourceWithTarget.setDirectory("src/main/custom"); resourceWithTarget.setTargetPath("custom-output"); // Convert through DefaultSourceRoot to ensure targetPath is preserved DefaultSourceRoot sourceRootFromResource = new DefaultSourceRoot(project.getBaseDirectory(), ProjectScope.MAIN, resourceWithTarget.getDelegate());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 12.6K bytes - Click Count (0)