- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 222 for ONE (1.14 sec)
-
src/main/java/jcifs/CIFSContext.java
import java.net.URLStreamHandler; /** * Encapsulation of client context * * * A context holds the client configuration, shared services as well as the active credentials. * * Usually you will want to create one context per client configuration and then * multiple sub-contexts using different credentials (if necessary). * * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
private static final String HANDLER_PKGS_PROPERTY = "java.protocol.handler.pkgs"; /** * Vendor-specific default packages. If no packages are specified in * "java.protocol.handler.pkgs", the VM uses one or more default * packages, which are vendor specific. Sun's is included below * for convenience; others could be as well. If a particular vendor's * package isn't listed, it can be specified inRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
// Test release (still in use because of initial transport acquire) session.release(); assertTrue(session.isInUse(), "Session should still be in use after one release"); // Test final release session.release(); assertFalse(session.isInUse(), "Session should not be in use after all releases"); // Test multiple releases (should not throw)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
// Both have null netName assertTrue(info1.equals(info2)); SmbShareInfo info3 = new SmbShareInfo(TEST_NET_NAME, 0, TEST_REMARK); // One null, one non-null assertFalse(info1.equals(info3)); assertFalse(info3.equals(info1)); } @Test @DisplayName("Test equals method with same object") void testEqualsWithSameObject() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
void testBoundaryValuesForIndexNumber() throws SMBProtocolDecodingException { // Test various boundary values long[] testValues = { 0L, // Zero 1L, // One -1L, // Negative one 0x00000000FFFFFFFFL, // 32-bit max as long 0xFFFFFFFF00000000L, // High 32 bits set 0x7FFFFFFFFFFFFFFFL, // Long.MAX_VALUE
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
this.andx = andx; andxCommand = andx.command; } } int getBatchLimit(final byte command) { /* the default limit is 0 batched messages before this * one, meaning this message cannot be batched. */ return 0; } /* * We overload this method from ServerMessageBlock because * we want writeAndXWireFormat to write the parameterWordsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
availableReceiveRegions.size()); } /** * Get a send region from the pool or allocate a new one * * @param minSize minimum required size * @return memory region for sending * @throws IOException if allocation fails */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertNotNull(authorizations, "The authorizations list should not be null."); assertEquals(1, authorizations.size(), "The authorizations list should contain one element."); assertEquals(mockAuthData, authorizations.get(0), "The authorization element should be the mocked object."); } /** * Test constructor with a malformed ASN.1 token. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
byte[] buffer1 = BufferCache.getBuffer(); buffer1[0] = (byte) 0xAB; buffer1[1] = (byte) 0xCD; BufferCache.releaseBuffer(buffer1); // When - Get another buffer (might be the same one from cache) byte[] buffer2 = BufferCache.getBuffer(); // Then - Buffer should be valid assertNotNull(buffer2, "Reused buffer should not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
// Assert assertNotNull(result, "Unwrapped transport should not be null"); assertEquals(mockUnwrappedTransport, result, "Returned unwrapped transport should be the mocked one"); verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called } @Test void testClose() throws Exception { // Act smbTransport.close();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)