Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 47 for 32764 (0.04 seconds)

  1. utils/utils_test.go

    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            byte[] largeData = new byte[65536]; // 64KB
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 1024;
            int length = 32768; // 32KB
    
            // Act
            signingDigest.sign(largeData, offset, length, request, response);
    
            // Assert
            verify(signingDigest, times(1)).sign(largeData, offset, length, request, response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.getSendBufferSize()).thenReturn(32768);
            when(mockRequest.getCapabilities()).thenReturn(0);
    
            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
            assertTrue(valid);
            // Should be aligned to 8-byte boundary
            assertEquals(32768 & ~0x7, response.getReceiveBufferSize());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  4. api/go1.1.txt

    pkg math, const MaxInt16 = 32767
    pkg math, const MaxInt32 = 2147483647
    pkg math, const MaxInt64 = 9223372036854775807
    pkg math, const MaxInt8 = 127
    pkg math, const MaxUint16 = 65535
    pkg math, const MaxUint32 = 4294967295
    pkg math, const MaxUint64 = 18446744073709551615
    pkg math, const MaxUint8 = 255
    pkg math, const MinInt16 = -32768
    pkg math, const MinInt32 = -2147483648
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
  5. api/go1.11.txt

    pkg syscall (netbsd-arm-cgo), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-arm-cgo), func Pipe2([]int, int) error
    pkg syscall (openbsd-386), const SOCK_CLOEXEC = 32768
    pkg syscall (openbsd-386), const SOCK_CLOEXEC ideal-int
    pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384
    pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int
    pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Act & Assert
            assertEquals(0, response.writeSetupWireFormat(largeBuffer, 0));
            assertEquals(0, response.writeParametersWireFormat(largeBuffer, 32768));
            assertEquals(0, response.writeDataWireFormat(largeBuffer, 65535));
            assertEquals(0, response.readSetupWireFormat(largeBuffer, 0, 65536));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/InputValidator.java

        private InputValidator() {
            // Utility class
        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
        public static final int MAX_SMB_PATH_LENGTH = 32767; // Windows MAX_PATH
        public static final int MAX_USERNAME_LENGTH = 256;
        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testWriteBytesWireFormatWithLargeArray() {
                // Given
                byte[] dst = new byte[65536]; // 64KB array
    
                // When
                int result = response.writeBytesWireFormat(dst, 32768);
    
                // Then
                assertEquals(0, result);
            }
        }
    
        @Nested
        @DisplayName("readBytesWireFormat tests")
        class ReadBytesWireFormatTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

        private static final int MIN_SMB_HEADER_SIZE = 32;
        private static final int MAX_PATH_COMPONENT_SIZE = 255;
        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
        private final AtomicLong totalValidations = new AtomicLong(0);
        private final AtomicLong failedValidations = new AtomicLong(0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const BRKINT ideal-int
    pkg syscall (netbsd-arm64-cgo), const CFLUSH = 15
    pkg syscall (netbsd-arm64-cgo), const CFLUSH ideal-int
    pkg syscall (netbsd-arm64-cgo), const CLOCAL = 32768
    pkg syscall (netbsd-arm64-cgo), const CLOCAL ideal-int
    pkg syscall (netbsd-arm64-cgo), const CLONE_CSIGNAL = 255
    pkg syscall (netbsd-arm64-cgo), const CLONE_CSIGNAL ideal-int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
Back to Top