Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 1,418 for SetUp (0.05 seconds)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

    /**
     * Test class for SecureKeyManager
     */
    public class SecureKeyManagerTest {
    
        private SecureKeyManager keyManager;
        private byte[] testKey;
    
        @BeforeEach
        public void setUp() {
            keyManager = new SecureKeyManager();
            testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
        }
    
        @AfterEach
        public void tearDown() {
            if (keyManager != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
            mockConfig = Mockito.mock(Configuration.class);
            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
         * Test that malformed structure size is properly rejected.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. internal/grid/manager.go

    			incomingBytes: o.Incoming,
    			outgoingBytes: o.Outgoing,
    			dialer:        o.Dialer,
    			authFn:        o.AuthFn,
    		})
    	}
    	if !found {
    		return nil, fmt.Errorf("grid: local host (%s) not found in cluster setup", o.Local)
    	}
    
    	return m, nil
    }
    
    // AddToMux will add the grid manager to the given mux.
    func (m *Manager) AddToMux(router *mux.Router, authReq func(r *http.Request) error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      ExecutorService executor;
    
      private ExecutionSequencer serializer;
      private SettableFuture<@Nullable Void> firstFuture;
      private TestCallable firstCallable;
    
      @Override
      public void setUp() throws Exception {
        executor = newCachedThreadPool();
        serializer = ExecutionSequencer.create();
        firstFuture = SettableFuture.create();
        firstCallable = new TestCallable(firstFuture);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. docs/SMB3_IMPLEMENTATION_PLAN.md

    4. Phased rollout with beta testing
    
    ## Resource Requirements
    
    ### Development Team
    - 2-3 Senior Java developers with SMB protocol expertise
    - 1 QA engineer for test infrastructure
    - 1 DevOps engineer for CI/CD setup
    
    ### Timeline
    - **Total Duration**: 6-8 months for all features
    - **Phases 1-2**: 2-3 months (High priority)
    - **Phases 3-4**: 2 months (Medium priority)
    - **Phases 5-6**: 2-3 months (Low priority)
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

    class Smb2SetInfoRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private Smb2SetInfoRequest request;
        private byte[] testFileId;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

    @DisplayName("Smb2TransformHeader Tests")
    class Smb2TransformHeaderTest extends BaseTest {
    
        private Smb2TransformHeader transformHeader;
        private byte[] testNonce;
        private long testSessionId;
    
        @BeforeEach
        void setUp() {
            transformHeader = new Smb2TransformHeader();
            testNonce = new byte[16];
            new SecureRandom().nextBytes(testNonce);
            testSessionId = 0x123456789ABCDEF0L;
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. cmd/erasure-decode.go

    		return newBuf, nil
    	}
    
    	readTriggerCh := make(chan bool, len(p.readers))
    	defer xioutil.SafeClose(readTriggerCh) // close the channel upon return
    
    	for i := 0; i < p.dataBlocks; i++ {
    		// Setup read triggers for p.dataBlocks number of reads so that it reads in parallel.
    		readTriggerCh <- true
    	}
    
    	disksNotFound := int32(0)
    	bitrotHeal := int32(0)       // Atomic bool flag.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class FessMessagesTest extends UnitFessTestCase {
    
        private FessMessages messages;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            messages = new FessMessages();
        }
    
        // Test constant fields
        @Test
        public void test_constantFields() {
            // Test error message constants
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

    import jcifs.ResolverType;
    import jcifs.SmbConstants;
    
    /**
     * Test class for BaseConfiguration
     */
    class BaseConfigurationTest {
    
        private BaseConfiguration config;
    
        @BeforeEach
        void setUp() throws CIFSException {
            config = new BaseConfiguration(false);
        }
    
        @Test
        @DisplayName("Test constructor with initDefaults true")
        void testConstructorWithInitDefaults() throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top