- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 124 for SMALL (0.02 sec)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Thread.sleep(5); // Small delay to ensure different timestamps Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); Thread.sleep(5); // Small delay to ensure different timestamps
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
} /** * Encodes a small integer (1 byte) in NDR format. * * @param s the small integer value to encode */ public void enc_ndr_small(final int s) { this.buf[this.index] = (byte) (s & 0xFF); advance(1); } /** * Decodes a small integer (1 byte) from NDR format. * * @return the decoded small integer value */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response.readBytesWireFormat(tooSmallBuffer, 0); }); assertTrue(exception.getMessage().contains("Buffer too small for SMB2 negotiate response")); assertTrue(exception.getMessage().contains("minimum 65 bytes required")); } /** * Test validation of excessive negotiate context count. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testReadDataWireFormat_BufferTooSmall() throws Exception { // Test with buffer too small for complete data response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; // Too small for SmbInfoAllocation // Set dataCount setDataCount(response, 10);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016; /** Access is denied */ int NT_STATUS_ACCESS_DENIED = 0xC0000022; /** The data area passed to a system call is too small */ int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023; /** The object name is invalid */ int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033; /** The object was not found */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(0xFFFFFFFF, response.getMaximalAccess()); } @Test @DisplayName("Should handle buffer too small for reading") void testBufferTooSmall() { // Given byte[] buffer = new byte[15]; // Too small for 16-byte structure SMBUtil.writeInt2(16, buffer, 0); // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
} /** * Encodes a small integer (1 byte) in NDR format. * * @param s the small integer value to encode */ public void enc_ndr_small(final int s) { buf[index] = (byte) (s & 0xFF); advance(1); } /** * Decodes a small integer (1 byte) from NDR format. * * @return the decoded small integer value */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private enum TimeoutsToUse { ANY(Timeout.values()), PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO), FUTURE(Timeout.SMALL, Timeout.MAX), SMALL(Timeout.SMALL), FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL), INFINITE(Timeout.LARGE, Timeout.MAX); final ImmutableList<Timeout> timeouts; TimeoutsToUse(Timeout... timeouts) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 27.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
byte[] buffer = new byte[4]; // Set error code to 0 setErrorCode(response, 0); // ArrayIndexOutOfBoundsException is thrown when buffer is too small assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
@Test void testEngineDigestWithInsufficientBuffer() { // Test engineDigest with buffer too small HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // Should throw exception when buffer is too small assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0)