Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testConfigs (0.24 sec)

  1. cmd/erasure-coding.go

    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(minimalProps);
    
            // Then
            // Hostname may be null when not provided
            assertTrue(testConfig.getConnTimeout() > 0);
            assertTrue(testConfig.getSoTimeout() > 0);
            assertNotNull(testConfig.getMinimumVersion());
            assertNotNull(testConfig.getMaximumVersion());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.useNTSmbs = true;
            testConfig.useNtStatus = true;
            testConfig.useExtendedSecurity = true;
            testConfig.useLargeReadWrite = true;
            testConfig.useUnicode = true;
    
            testConfig.initDefaults();
    
            assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_NT_SMBS) != 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                        return value;
                    }
                };
    
                assertEquals(value, testConfig.getTimeAdjustTimeMillisAsLong());
                FessTimeResourceProvider testProvider = new FessTimeResourceProvider(testConfig);
                assertNotNull(testProvider);
            }
        }
    
        // Test centralTimeZone reference
        public void test_centralTimeZone() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            void testConfigurationHandling() {
                // Given - create a mock configuration
                Configuration testConfig = mock(Configuration.class);
    
                // When
                Smb2FlushResponse newResponse = new Smb2FlushResponse(testConfig);
    
                // Then
                assertNotNull(newResponse);
                // Verify the response was created successfully with the 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)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        @DisplayName("Verify Configuration is passed to parent")
        void testConfigurationPassedToParent() {
            // Arrange
            Configuration testConfig = mock(Configuration.class);
    
            // Act
            TransWaitNamedPipeResponse testResponse = new TransWaitNamedPipeResponse(testConfig);
    
            // Assert
            assertNotNull(testResponse);
        }
    
        @Test
    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. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        @DisplayName("Verify Configuration is passed to parent")
        void testConfigurationPassedToParent() {
            // Arrange
            Configuration testConfig = mock(Configuration.class);
    
            // Act
            TransPeekNamedPipeResponse testResponse = new TransPeekNamedPipeResponse(testConfig);
    
            // Assert
            assertNotNull(testResponse);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top