- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 175 for rocks (0.02 sec)
-
misc/ios/go_ios_exec.go
// works, but only when running one binary at a time. // Use a file lock to make sure only one wrapper is running at a time. // // The lock file is never deleted, to avoid concurrent locks on distinct // files with the same path. lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock") lock, err = os.OpenFile(lockName, os.O_CREATE|os.O_RDONLY, 0666) if err != nil { return 1, err }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 00:34:45 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
} @BeforeEach public void setUp() throws UnknownHostException { ntlmSsp = new NtlmSsp(); // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
cmd/namespace-lock.go
func (di *distLockInstance) RUnlock(lc LockContext) { if lc.cancel != nil { lc.cancel() } di.rwMutex.RUnlock(lc.ctx) } // localLockInstance - frontend/top-level interface for namespace locks. type localLockInstance struct { ns *nsLockMap volume string paths []string opsID string } // NewNSLock - returns a lock instance for a given volume and
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
lenient().when(cifsContext.getConfig()).thenReturn(config); } @AfterEach void teardown() { // No global state to reset beyond mocks } static Stream<String> wildcardProvider() { return Stream.of(null, "", "*"); } @ParameterizedTest @MethodSource("wildcardProvider")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
void equalsAndHashCode_consistency(byte[] id1, byte[] id2, long treeId, boolean expectEqual) { lenient().when(cfg.isTraceResourceUsage()).thenReturn(false); // Prepare two separate tree mocks but with same tree id SmbTreeHandleImpl tA = mock(SmbTreeHandleImpl.class); SmbTreeHandleImpl tB = mock(SmbTreeHandleImpl.class); lenient().when(tA.acquire()).thenReturn(tA);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
internal/grid/manager.go
type Manager struct { // ID is an instance ID, that will change whenever the server restarts. // This allows remotes to keep track of whether state is preserved. ID uuid.UUID // Immutable after creation, so no locks. targets map[string]*Connection // serverside handlers. handlers handlers // local host name. local string // authToken is a function that will validate a token. authToken ValidateTokenFnRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Nov 12 20:41:41 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
+ bufferManager.getActiveRegions()); } } // =================================================== // ADDITIONAL UNIT TESTS - Always run with mocks // =================================================== @Test public void testRdmaConnectionLifecycle() throws Exception { // Test connection lifecycle without requiring real server
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
return super.encodeMessage(msg, out); } } private TestDcerpcHandle handle; @BeforeEach void setUp() { // Setup buffer cache mocks with lenient stubbing lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache); lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
cmd/metrics-v2.go
Namespace: minioNamespace, Subsystem: "locks", Name: "total", Help: "Number of current locks on this peer", Type: gaugeMetric, }, Value: float64(st.Total), }) metrics = append(metrics, MetricV2{ Description: MetricDescription{ Namespace: minioNamespace, Subsystem: "locks", Name: "write_total",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 133.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executors; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.api.Lifecycle; import org.apache.maven.api.MonotonicClock;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 55.1K bytes - Viewed (0)