- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 132 for 65535 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
assertEquals("Structure size != 4", ex1.getMessage()); // Test maximum 2-byte value (65535) SMBUtil.writeInt2(65535, buffer, 0); SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
// Protocol limits private static final int MAX_SMB_MESSAGE_SIZE = 16 * 1024 * 1024; // 16MB max for SMB3 private static final int MAX_SMB1_MESSAGE_SIZE = 65535; // 64KB for SMB1 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; // StatisticsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
buffer.encode(dst, 0); ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); // -1 as unsigned short should be 65535 assertEquals((short) -1, bb.getShort()); assertEquals(65535, Short.toUnsignedInt((short) -1)); } } @Nested @DisplayName("Integration Tests with SMBUtil") class SMBUtilIntegrationTests {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]} * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned writeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private static final int DEFAULT_LIST_SIZE = 65535; private static final int DEFAULT_LIST_COUNT = 200; private final int searchAttributes; private final int flags; private final int informationLevel; private final int searchStorageType = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
utils/utils_test.go
{"int64", int64(math.MaxInt64), "9223372036854775807"}, {"uint", uint(math.MaxUint64), "18446744073709551615"}, {"uint8", uint8(math.MaxUint8), "255"}, {"uint16", uint16(math.MaxUint16), "65535"}, {"uint32", uint32(math.MaxUint32), "4294967295"}, {"uint64", uint64(math.MaxUint64), "18446744073709551615"}, {"string", "abc", "abc"}, {"other", true, ""}, } for _, test := range tests {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
@Test @DisplayName("Should decode large value correctly") void testDecodeLargeValue() throws NdrException { // Given: NdrShort and mock returning large value int largeValue = 65535; NdrShort ndrShort = new NdrShort(0); when(mockBuffer.dec_ndr_short()).thenReturn(largeValue); // When: Decoding the value ndrShort.decode(mockBuffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]} * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned writeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
cmd/net_test.go
{":0", nil}, {"localhost", nil}, {"", fmt.Errorf("invalid argument")}, {"example.org:54321", fmt.Errorf("host in server address should be this server")}, {":-10", fmt.Errorf("port must be between 0 to 65535")}, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { err := CheckLocalServerAddr(testCase.serverAddr) switch { case testCase.expectedErr == nil: if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validatePort(65535)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(0)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(-1)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(65536)); } @Test @DisplayName("Test timeout validation")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0)