- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,000 for sock (0.02 seconds)
-
internal/ringbuffer/ring_buffer.go
// ErrIsNotEmpty is returned when the buffer is not empty and not blocking. ErrIsNotEmpty = errors.New("ringbuffer is not empty") // ErrAcquireLock is returned when the lock is not acquired on Try operations. ErrAcquireLock = errors.New("unable to acquire lock") // ErrWriteOnClosed is returned when write on a closed ringbuffer. ErrWriteOnClosed = errors.New("write on closed ringbuffer") )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.URLStreamHandler; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CIFSContext interface functionality */ @DisplayName("CIFSContext Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
@Test void testSuccessfulRegistration() throws Exception { // Setup mock RPC response WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class); lenient().when(mockResponse.isSuccess()).thenReturn(true); lenient().when(mockResponse.getRegistrationId()).thenReturn("test-reg-123"); WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} @Override public int size() { synchronized (lock) { return cachingHashMap.size(); } } @Override public boolean isEmpty() { synchronized (lock) { return cachingHashMap.isEmpty(); } } @Override public @Nullable V get(@Nullable Object key) { Timestamped<V> value; synchronized (lock) { checkNotNull(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
private final Object lock = new Object(); /** * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link * RunnableExecutorPair#next} field. */ @GuardedBy("lock") private @Nullable RunnableExecutorPair runnables; @GuardedBy("lock") private boolean executed; /** Creates a new, empty {@link ExecutionList}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
private CIFSContext mockDelegate; private Configuration mockConfiguration; private CIFSContextWrapper cifsContextWrapper; @BeforeEach void setUp() { mockDelegate = mock(CIFSContext.class); mockConfiguration = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfiguration);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)