Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 166 for Locks (0.06 sec)

  1. api/go1.16.txt

    pkg syscall (darwin-arm64), type RtMetrics struct, Filler [4]uint32
    pkg syscall (darwin-arm64), type RtMetrics struct, Hopcount uint32
    pkg syscall (darwin-arm64), type RtMetrics struct, Locks uint32
    pkg syscall (darwin-arm64), type RtMetrics struct, Mtu uint32
    pkg syscall (darwin-arm64), type RtMetrics struct, Pksent uint32
    pkg syscall (darwin-arm64), type RtMetrics struct, Recvpipe uint32
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        /**
         * Sets up the mocks and the NtlmHttpURLConnection instance before each test.
         * @throws IOException
         */
        @BeforeEach
        void setUp() throws IOException {
            // Create a real URL instead of mocking to avoid protocol issues
            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NdrHyperTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructorAndGetValue() {
            // Test that the constructor correctly initializes the value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertThrows(RuntimeCIFSException.class, a::getUNCPath);
        }
    
        @Test
        @DisplayName("Server, port, URL passthrough getters")
        void testServerPortUrl() throws Exception {
            // No context mocks needed for this test
            SmbResourceLocatorImpl a = locator("smb://server:444/share");
            assertEquals("server", a.getServer());
            assertEquals(444, a.getPort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

    class DcerpcSecurityProviderTest {
    
        @Mock
        private DcerpcSecurityProvider dcerpcSecurityProvider;
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTransportTest.java

        private SmbTransport smbTransport;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
        private Address remoteAddress;
    
        @BeforeEach
        void setUp() {
            // Common setup for mocks if needed
        }
    
        @Test
        void testGetContext() {
            // Arrange
            when(smbTransport.getContext()).thenReturn(cifsContext);
    
            // Act
            CIFSContext result = smbTransport.getContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]);
        }
    
        /**
         * Helper method to create a DcerpcPipeHandle with injected mocks
         * Uses mock to avoid constructor issues while allowing real method calls
         */
        private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception {
            // Create a mock without calling the constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        @Mock
        private TransactNamedPipeInputStream mockPipeIn;
    
        @InjectMocks
        private TransTransactNamedPipeResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks created above
            MockitoAnnotations.openMocks(this);
            // We need to manually inject the mock as we are not using @InjectMocks on the constructor
            response = new TransTransactNamedPipeResponse(mockPipe);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top