- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,619 for _new (0.02 sec)
-
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // decode back buf.setIndex(0); m.decode_header(buf); assertEquals(0, m.ptype); } @Test void testDecodeHeaderInvalidVersion() { NdrBuffer buf = new NdrBuffer(new byte[10], 0); buf.enc_ndr_small(4); // bad major buf.enc_ndr_small(0); TestMessage msg = new TestMessage();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Profile notActivated = new Profile(); notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final NullPointerException npeCause = new NullPointerException("Null query parameter"); final IllegalStateException iseCause = new IllegalStateException("Invalid parser state"); final OutOfMemoryError oomCause = new OutOfMemoryError("Query too large"); // Execute final InvalidQueryException npeException = new InvalidQueryException(messageCode, message, npeCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
super.setUp(); pingSearchEngineJob = new PingSearchEngineJob(); } // Test normal operation with GREEN status and state change public void test_execute_greenStatusNoChange() { // Setup mock components SearchEngineClient searchEngineClient = new SearchEngineClient() { @Override public PingResponse ping() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
FsctlPipeWaitRequest request1 = new FsctlPipeWaitRequest(pipeName); byte[] buffer1 = new byte[200]; int encoded1 = request1.encode(buffer1, 0); assertEquals(request1.size(), encoded1); // Test with timeout FsctlPipeWaitRequest request2 = new FsctlPipeWaitRequest(pipeName, 5000L); byte[] buffer2 = new byte[200]; int encoded2 = request2.encode(buffer2, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
// Create and encode FileEndOfFileInformation original = new FileEndOfFileInformation(testValue); byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode into new instance FileEndOfFileInformation decoded = new FileEndOfFileInformation();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
static Stream<Arguments> hexCases() { return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"), Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"), Arguments.of(new byte[] { (byte) 0xAB }, "ab"), Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt"); int dstIndex = 2; // When int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex); // Then assertEquals(2, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Test with all zeros byte[] zeroFileId = new byte[16]; Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)