Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 268 for 1024 (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
                byte[] buffer = new byte[1024];
                Smb2SessionSetupRequest req =
                        new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[8] = 0x00;
                buffer[9] = 0x20; // alloc = 8192
                buffer[16] = 0x00;
                buffer[17] = 0x04; // bytesPerSect = 1024
    
                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(4L * 8192L * 1024L, smbInfoAllocation.getCapacity());
            }
    
            @Test
            @DisplayName("Should handle zero values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    func BenchmarkInitStorageDisksMax(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

    import jcifs.util.Encdec;
    
    public class NdrBufferTest {
    
        private byte[] buffer;
        private NdrBuffer ndrBuffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[1024]; // Initialize with a reasonable size
            ndrBuffer = new NdrBuffer(buffer, 0);
        }
    
        @Test
        void testConstructor() {
            // Verify initial state
            assertEquals(0, ndrBuffer.start);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    }
    
    // Test get request auth type.
    func TestGetRequestAuthType(t *testing.T) {
    	type testCase struct {
    		req   *http.Request
    		authT authType
    	}
    	nopCloser := io.NopCloser(io.LimitReader(&nullReader{}, 1024))
    	testCases := []testCase{
    		// Test case - 1
    		// Check for generic signature v4 header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), const RTF_HOST = 4
    pkg syscall (freebsd-arm64), const RTF_HOST ideal-int
    pkg syscall (freebsd-arm64), const RTF_LLDATA = 1024
    pkg syscall (freebsd-arm64), const RTF_LLDATA ideal-int
    pkg syscall (freebsd-arm64), const RTF_LLINFO = 1024
    pkg syscall (freebsd-arm64), const RTF_LLINFO ideal-int
    pkg syscall (freebsd-arm64), const RTF_LOCAL = 2097152
    pkg syscall (freebsd-arm64), const RTF_LOCAL ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                int[] largeHashAlgos = new int[100];
                Arrays.fill(largeHashAlgos, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
                byte[] largeSalt = new byte[1024];
                Arrays.fill(largeSalt, (byte) 0xAB);
    
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, largeHashAlgos, largeSalt);
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    // Validate context data length
                    if (dataLen < 0 || dataLen > 1024) { // 1KB max per context
                        throw new SMBProtocolDecodingException(
                                "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)");
                    }
    
                    ncpos += 4;
                    ncpos += 4; // Reserved
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            super(config, command);
            this.subCommand = subCommand;
            this.maxDataCount = config.getTransactionBufferSize() - 512;
            this.maxParameterCount = 1024;
            this.primarySetupOffset = PRIMARY_SETUP_OFFSET;
            this.secondaryParameterOffset = SECONDARY_PARAMETER_OFFSET;
        }
    
        /**
         * Sets the maximum buffer size for this transaction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top