- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 787 for sock (0.01 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
* method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @Mock private SmbTransport transport; @Mock private SmbTree tree; @BeforeEach void resetMocks() { Mockito.reset(session, transport, tree); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/admin-heal-ops.go
func (ahs *allHealState) setDiskHealingStatus(ep Endpoint, healing bool) { ahs.Lock() defer ahs.Unlock() ahs.healLocalDisks[ep] = healing } func (ahs *allHealState) pushHealLocalDisks(healLocalDisks ...Endpoint) { ahs.Lock() defer ahs.Unlock() for _, ep := range healLocalDisks { ahs.healLocalDisks[ep] = false } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
private final boolean dcePipe; Object lock; TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException { super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL); this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT; lock = new Object(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
in.defaultReadObject(); lock = new Object(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } private static final class NonSerializableMemoizingSupplier<T extends @Nullable Object> implements Supplier<T> { private final Object lock = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
class NodeStatusResponseTest { @Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query address
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; class NameQueryRequestTest { @Mock private Configuration mockConfig; @Mock private Name mockName; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
@Test @DisplayName("writeParametersWireFormat with mock request buffer") void testWriteParametersWireFormatWithMock() throws Exception { // Given String filename = "\\\\server\\share"; trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); // Mock the request buffer DfsReferralRequestBuffer mockRequest = mock(DfsReferralRequestBuffer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for the NdrObject abstract class. * This test uses a concrete implementation to verify the abstract contract. */ @ExtendWith(MockitoExtension.class) class NdrObjectTest { @Mock private NdrBuffer mockBuffer; private ConcreteNdrObject ndrObject;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
CommonServerMessageBlockRequest next = mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class)); resp.prepare(next); verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId)); } @Test void prepare_doesNothing_whenNotReceived() { Configuration config = Mockito.mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)