Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 776 for sock (0.02 sec)

  1. cmd/routers.go

    	registerPeerRESTHandlers(router, commonGrid)
    
    	// Register bootstrap REST router for distributed setups.
    	registerBootstrapRESTHandlers(commonGrid)
    
    	// Register distributed namespace lock routers.
    	registerLockRESTHandlers(lockGrid)
    
    	// Add lock grid to router
    	router.Handle(grid.RouteLockPath, adminMiddleware(lockGrid.Handler(storageServerRequestValidate), noGZFlag, noObjLayerFlag))
    
    	// Add grid to router
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        private byte[] testMachineId = new byte[16];
        private byte[] testSalt = new byte[32];
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            mockRandom = mock(SecureRandom.class);
    
            // Initialize test data
            for (int i = 0; i < 16; i++) {
                testMachineId[i] = (byte) (i + 1);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.util.transport.Response;
    
    /**
     * Test class for SmbNegotiationResponse interface
     */
    class SmbNegotiationResponseTest {
    
        @Mock
        private SmbNegotiationResponse negotiationResponse;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. cmd/metacache-bucket.go

    	if o.Bucket != b.bucket {
    		logger.Info("bucketMetacache.findCache: bucket %s does not match this bucket %s", o.Bucket, b.bucket)
    		debug.PrintStack()
    		return metacache{}
    	}
    
    	// Grab a write lock, since we create one if we cannot find one.
    	b.mu.Lock()
    	defer b.mu.Unlock()
    
    	// Check if exists already.
    	if c, ok := b.caches[o.ID]; ok {
    		c.lastHandout = time.Now()
    		b.caches[o.ID] = c
    		b.debugf("returning existing %v", o.ID)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    
    /**
     * Test class for TransWaitNamedPipeResponse
     */
    class TransWaitNamedPipeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @Deprecated
    class ArtifactDeployerTest extends AbstractArtifactComponentTestCase {
        @Inject
        private ArtifactDeployer artifactDeployer;
    
        @Inject
        private SessionScope sessionScope;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.smb.NtStatus;
    
    class ServerMessageBlock2ResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/FileNotifyInformationTest.java

    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for FileNotifyInformation interface
     */
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    public class FileNotifyInformationTest {
    
        @Mock
        private FileNotifyInformation mockFileNotifyInfo;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
            when(context.getConfig()).thenReturn(config);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top