- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,033 for bundle (0.06 seconds)
-
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0xDE, buffer[1] & 0xFF); assertEquals(0xBC, buffer[2] & 0xFF); assertEquals(0x9A, buffer[3] & 0xFF); } @Test @DisplayName("Should handle big endian encoding/decoding") void testBigEndianOperations() { // Given int value = 0x12345678; byte[] buffer = new byte[4]; // When - encode big endian
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Test @DisplayName("Should handle null buffer in decode") void testNullBuffer() { FileFsSizeInformation info = new FileFsSizeInformation(); assertThrows(NullPointerException.class, () -> { info.decode(null, 0, 0); }); } @Test @DisplayName("Should handle insufficient buffer length")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Should handle empty notification list") void testEmptyNotificationList() throws Exception { // Given byte[] buffer = new byte[256]; int offset = 0; setHeaderStart(response, 64);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
setDefault(Dispatcher.class, Dispatcher.immediate()); } private static class DummySubscriber { private final EventBus eventBus = new EventBus(); @Subscribe public void handle(@Nullable Object unused) {} Subscriber toSubscriber() throws Exception { return Subscriber.create(eventBus, this, subscriberMethod()); } SubscriberExceptionContext toContext() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
default: return "Check resource availability and retry"; } } /** * Static factory for file handle exhaustion */ public static SmbResourceException fileHandleExhausted(int errorCode) { return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE); } /** * Static factory for connection pool exhaustion */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} } return false; } /** * Add a durable handle V1 context to this request */ public void addDurableHandleV1Context() { addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest()); } /** * Add a durable handle V2 context to this request * @param timeoutMs the timeout in milliseconds (0 for persistent handles)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertNotNull(type3.getNTResponse()); assertTrue(type3.getLMResponse().length > 0); assertTrue(type3.getNTResponse().length > 0); } @Test @DisplayName("Should handle Unicode strings") void testUnicodeStrings() throws Exception { // Given Type2Message type2 = createMockType2Message(); String unicodeDomain = "TËSTDØMÄIN";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java
import jcifs.smb1.dcerpc.rpc; /** * MS-RPC SAMR close handle operation. * * This class implements the SAMR CloseHandle operation for releasing * Security Account Manager (SAM) handles. */ public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle { /** * Creates a new request to close a SAM handle. * * @param policyHandle the policy handle to close */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeResource.java
int PIPE_TYPE_UNSHARED = 0x800; /** * Gets the type of this pipe. * * @return the type of the pipe */ int getPipeType(); /** * Create a pipe handle * * @return pipe handle, needs to be closed when finished */ SmbPipeHandle openPipe();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0)