Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 270 for 256 (0.07 sec)

  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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrUnsupportedSyntax-251]
    	_ = x[ErrUnsupportedRangeHeader-252]
    	_ = x[ErrLexerInvalidChar-253]
    	_ = x[ErrLexerInvalidOperator-254]
    	_ = x[ErrLexerInvalidLiteral-255]
    	_ = x[ErrLexerInvalidIONLiteral-256]
    	_ = x[ErrParseExpectedDatePart-257]
    	_ = x[ErrParseExpectedKeyword-258]
    	_ = x[ErrParseExpectedTokenType-259]
    	_ = x[ErrParseExpected2TokenTypes-260]
    	_ = x[ErrParseExpectedNumber-261]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    				t.Fatalf("birthday's precision should be 2, but got %v", precision)
    			}
    		}
    	}
    
    	type UserMigrateColumn3 struct {
    		ID                  uint
    		Name                string    `gorm:"size:256"`
    		Salary              float64   `gorm:"precision:3"`
    		Birthday            time.Time `gorm:"precision:3"`
    		NameIgnoreMigration string    `gorm:"size:128;-:migration"`
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            Files.createDirectory(largeDir);
            byte[] largeContent = new byte[10 * 1024 * 1024]; // 10MB
            for (int i = 0; i < largeContent.length; i++) {
                largeContent[i] = (byte) (i % 256);
            }
            Files.write(largeDir.resolve("largefile.bin"), largeContent);
    
            // Special character files for test_specialCharactersInFileName
            Path specialDir = publicDir.resolve("special");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  6. api/go1.14.txt

    pkg syscall (freebsd-arm64), const HUPCL ideal-int
    pkg syscall (freebsd-arm64), const ICANON = 256
    pkg syscall (freebsd-arm64), const ICANON ideal-int
    pkg syscall (freebsd-arm64), const ICMP6_FILTER = 18
    pkg syscall (freebsd-arm64), const ICMP6_FILTER ideal-int
    pkg syscall (freebsd-arm64), const ICRNL = 256
    pkg syscall (freebsd-arm64), const ICRNL ideal-int
    pkg syscall (freebsd-arm64), const IEXTEN = 1024
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  7. 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")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

            } else {
                id = Long.parseLong(tmp);
            }
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0; i--) {
                this.identifier_authority[i] = (byte) (id % 256);
                id >>= 8;
            }
    
            this.sub_authority_count = (byte) st.countTokens();
            if (this.sub_authority_count > 0) {
                this.sub_authority = new int[this.sub_authority_count];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

                largeDescriptor[i] = 0;
            }
            // Rest of the buffer can be arbitrary
            for (int i = 20; i < largeDescriptor.length; i++) {
                largeDescriptor[i] = (byte) (i % 256);
            }
            info502.security_descriptor = largeDescriptor;
            info502.sd_size = largeDescriptor.length;
    
            // Replace info field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top