Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 178 for 2586 (0.03 seconds)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (Math.random() * 256);
                }
    
                // When & Then
                // Should either read successfully if random data happens to be 4,
                // or throw SMBProtocolDecodingException
                try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/InputValidator.java

        }
    
        // 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;
        public static final int MAX_BUFFER_SIZE = 65536; // 64KB default max buffer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const CLONE_VM = 256
    pkg syscall (netbsd-arm64-cgo), const CLONE_VM ideal-int
    pkg syscall (netbsd-arm64-cgo), const CREAD = 2048
    pkg syscall (netbsd-arm64-cgo), const CREAD ideal-int
    pkg syscall (netbsd-arm64-cgo), const CS5 = 0
    pkg syscall (netbsd-arm64-cgo), const CS5 ideal-int
    pkg syscall (netbsd-arm64-cgo), const CS6 = 256
    pkg syscall (netbsd-arm64-cgo), const CS6 ideal-int
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals((byte) (value & 0xFF), dst[3]);
        }
    
        private static Stream<Arguments> provideInt4TestValues() {
            return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536),
                    Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF));
        }
    
        @Test
        @DisplayName("readInt2 should correctly read 16-bit integer")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            verify(response).getErrorCode();
        }
    
        @Test
        @DisplayName("Test Response interface methods - verifySignature")
        void testVerifySignature() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
            int size = 100;
            when(response.verifySignature(buffer, offset, size)).thenReturn(true);
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

      private val certificateTransparencySignedCertificateTimestamps = "1.3.6.1.4.1.11129.2.4.2"
      private val authorityInfoAccess = "1.3.6.1.5.5.7.1.1"
      private val serialNumber = "2.5.4.5"
      private val countryName = "2.5.4.6"
      private val localityName = "2.5.4.7"
      private val stateOrProvinceName = "2.5.4.8"
      private val organizationName = "2.5.4.10"
      private val businessCategory = "2.5.4.15"
      private val subjectKeyIdentifier = "2.5.29.14"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, subCommand);
        }
    
        @Test
        @DisplayName("Test with very long domain name")
        void testVeryLongDomainName() {
            String longDomain = "A".repeat(256); // Very long domain name
            netServerEnum2 = new NetServerEnum2(realConfig, longDomain, NetServerEnum2.SV_TYPE_ALL);
    
            byte[] dst = new byte[2048];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testGetNextEntryOffset() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            int expectedNextEntryOffset = 256;
            SMBUtil.writeInt4(expectedNextEntryOffset, buffer, 0);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  9. internal/s3select/unused-errors.go

    func errExpressionTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ExpressionTooLong",
    		message:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errColumnTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ColumnTooLong",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should handle offset correctly")
            void testSignWithOffset() {
                byte[] largeData = new byte[256];
                int offset = 64;
                Arrays.fill(largeData, (byte) 0x00);
    
                digest.sign(largeData, offset, 128, request, response);
    
                // Verify signature is placed at correct location
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
Back to Top