- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for 32769 (0.04 sec)
-
tests/lru_test.go
} } func BenchmarkLRU_Rand_NoExpire(b *testing.B) { l := lru.NewLRU[int64, int64](8192, nil, 0) trace := make([]int64, b.N*2) for i := 0; i < b.N*2; i++ { trace[i] = getRand(b) % 32768 } b.ResetTimer() var hit, miss int for i := 0; i < 2*b.N; i++ { if i%2 == 0 { l.Add(trace[i], trace[i]) } else { if _, ok := l.Get(trace[i]); ok { hit++ } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
SMBUtil.writeInt4(50, buffer, 0); SMBUtil.writeInt4(32768, buffer, 4); SMBUtil.writeInt4(1638400, buffer, 8); int bytesDecoded = response.decode(buffer, 0, 12); assertEquals(12, bytesDecoded); assertEquals(50, response.getChunksWritten()); assertEquals(32768, response.getChunkBytesWritten());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
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());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
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));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
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
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
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
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)