- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 512 for 2048 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
void testLargeBufferEncode() { byte[] largeName = new byte[1024]; Arrays.fill(largeName, (byte) 'X'); byte[] largeData = new byte[2048]; Arrays.fill(largeData, (byte) 'Y'); TestCreateContextRequest request = new TestCreateContextRequest(largeName, largeData); byte[] buffer = new byte[8192];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} } @Test @DisplayName("Should create transform header with constructor") void testConstructorWithParameters() { // Given int messageSize = 2048; int flags = 0x0002; // When Smb2TransformHeader header = new Smb2TransformHeader(testNonce, messageSize, flags, testSessionId); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
assertTrue(result.contains("lastWriteTime=")); assertTrue(result.contains("changeTime=")); assertTrue(result.contains("endOfFile=1024")); assertTrue(result.contains("allocationSize=2048")); assertTrue(result.contains("extFileAttributes=32")); assertTrue(result.contains("eaSize=512")); assertTrue(result.contains("shortName=TOSTRI~1.TXT"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
String longDomain = "A".repeat(256); // Very long domain name netServerEnum2 = new NetServerEnum2(realConfig, longDomain, NetServerEnum2.SV_TYPE_ALL); byte[] dst = new byte[2048]; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0); assertTrue(bytesWritten > 0); // Verify domain is written (uppercase)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
(long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 2) + // The possible number of two byte characters TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS; // 2048 private static final long THREE_BYTE_SURROGATES = 2 * 1024; // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates] private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validateBuffer(buffer, 100, 1024); }); } @Test public void testBufferTooLarge() throws Exception { byte[] buffer = new byte[2048]; assertThrows(SmbException.class, () -> { validator.validateBuffer(buffer, 100, 1024); }); } @Test public void testValidBufferAccess() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token); byte[] buffer = new byte[2048]; // When req.encode(buffer, 0); // Then int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH; // Verify token length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks); byte[] buffer = new byte[2048]; int bytesWritten = req.writeBytesWireFormat(buffer, 0); assertEquals(48, SMBUtil.readInt2(buffer, 0)); assertEquals(lockCount, SMBUtil.readInt2(buffer, 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
const val LOOM_PROPERTY = "loom" /** * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it * to use RSA-2048 instead. * * (We otherwise prefer ECDSA because it's faster.) */ private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy { val heldCertificate =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
buffer.putLong(2000L); buffer.putInt(4); buffer.putInt(2048); // When allocInfo.decode(buffer.array(), 0, 24); // Then assertEquals(5000L * 4 * 2048, allocInfo.getCapacity()); assertEquals(2000L * 4 * 2048, allocInfo.getFree());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)