- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 2,008 for new (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
NtlmChallenge nc = new NtlmChallenge(null, dc); assertNull(nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null dc") void testConstructorAcceptsNullDc() { byte[] challenge = new byte[] { 1, 2, 3 }; NtlmChallenge nc = new NtlmChallenge(challenge, null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
@DisplayName("Test complete wire format writing") void testCompleteWireFormatWriting() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO); byte[] setupBuffer = new byte[256]; byte[] paramBuffer = new byte[256]; byte[] dataBuffer = new byte[256]; int setupWritten = trans2QueryFSInfo.writeSetupWireFormat(setupBuffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
*/ protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>(); /** * The number of URLs to fetch when polling. */ protected int pollingFetchSize = 1000; /** * The maximum size of the crawling queue. */ protected int maxCrawlingQueueSize = 100; /** * Creates a new instance of OpenSearchUrlQueueService.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
when(config.getNotifyBufferSize()).thenReturn(8192); Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId); byte[] buffer = new byte[512]; req.writeBytesWireFormat(buffer, 0); byte[] readFileId = new byte[16]; System.arraycopy(buffer, 8, readFileId, 0, 16); assertArrayEquals(fileId, readFileId); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
/** * Constructs a new popular words request. */ public PopularWordsRequest() { // nothing } private String index = null; private int size = 10; private final List<String> tags = new ArrayList<>(); private final List<String> roles = new ArrayList<>(); private final List<String> fields = new ArrayList<>();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
@BeforeEach void setUp() { handler = new Handler(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create handler with default constructor") void testDefaultConstructor() { // When Handler testHandler = new Handler(); // Then assertNotNull(testHandler);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
short level = 1; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Assert assertSame(mockPolicyHandle, queryPolicy.handle); } @Test void constructor_shouldSetLevelCorrectly() { // Arrange short level = 7; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
if (mechanismListMIC != null) { fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC))); } final ASN1EncodableVector ev = new ASN1EncodableVector(); ev.add(SPNEGO_OID); ev.add(new DERTaggedObject(true, 0, new DERSequence(fields))); final ByteArrayOutputStream collector = new ByteArrayOutputStream();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
// Create a dummy rpc.unicode_string rpc.unicode_string dummyRus = new rpc.unicode_string(); dummyRus.length = 10; dummyRus.maximum_length = 20; dummyRus.buffer = new short[] { 'H', 'e', 'l', 'l', 'o' }; // Test with zterm = true UnicodeString unicodeStringTrue = new UnicodeString(dummyRus, true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)