- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,008 for new (0.01 sec)
-
src/main/java/jcifs/util/transport/Transport.java
*/ protected final Object inLock = new Object(); /** * Lock object for synchronizing output operations */ protected final Object outLock = new Object(); /** * Map for tracking pending responses by their key */ protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10); private final AtomicLong usageCount = new AtomicLong(1); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } return new SID(info.sid, jcifs.SID.SID_TYPE_DOMAIN, new UnicodeString(info.name, false).toString(), null, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Test with all zeros byte[] zeroFileId = new byte[16]; Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
*/ class DfsReferralResponseBufferTest { private DfsReferralResponseBuffer buffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); buffer = new DfsReferralResponseBuffer(); } @Nested @DisplayName("Constructor and Initial State Tests") class ConstructorTests { @Test @DisplayName("Should initialize with null referrals")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test setFileId method") void testSetFileId() { request = new Smb2QueryInfoRequest(mockConfig); byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) { newFileId[i] = (byte) (i + 10); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
if (tc.getConfig().isUseRawNTLM()) { return setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)); } try { if (initialToken != null && initialToken.length > 0) { NegTokenInit tok = new NegTokenInit(initialToken); if (log.isDebugEnabled()) { log.debug("Have initial token " + tok);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] dst = new byte[100]; int result = response.writeDataWireFormat(dst, 0); assertEquals(0, result); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
@BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32]; KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
/** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java
/** * Creates a new DFS root enumeration request for the specified server. * * @param server the server name to enumerate DFS roots from */ public MsrpcDfsRootEnum(final String server) { super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0)); this.info.level = this.level; this.info.e = new netdfs.DfsEnumArray200(); this.ptype = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)