- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 3,562 for new1 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
void testEncodeSizeConsistency() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(sourceKey, (byte) 0x55); SrvCopychunk[] testCases = { new SrvCopychunk(1, 2, 3), new SrvCopychunk(4, 5, 6), new SrvCopychunk(7, 8, 9), new SrvCopychunk(10, 11, 12), new SrvCopychunk(13, 14, 15) };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
boolean replaceIfExists = true; FileRenameInformation2 original = new FileRenameInformation2(fileName, replaceIfExists); // Encode byte[] buffer = new byte[200]; int bytesWritten = original.encode(buffer, 0); // Decode FileRenameInformation2 decoded = new FileRenameInformation2(); int bytesRead = decoded.decode(buffer, 0, bytesWritten);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbFileHandleImpl hA = id1 != null ? new SmbFileHandleImpl(cfg, id1, tA, "//eq/a", 0, 0, 0, 0, 0L) : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L); SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L) : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L); if (expectEqual) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
public void test_nestedExceptions() { // Test nested exception handling Exception level3 = new RuntimeException("Level 3 error"); Exception level2 = new IllegalStateException("Level 2 error", level3); Exception level1 = new IOException("Level 1 error", level2); SsoLoginException exception = new SsoLoginException("Top level SSO error", level1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
super.setUp(); indexUpdateCallback = new FileListIndexUpdateCallbackImpl(null, null, 1); } /** Case 1: Normal merge (no duplicates) */ public void test_mergeResponseData_noOverwrite() { Map<String, Object> dataMap = new HashMap<>(); dataMap.put("a", "A0"); Map<String, Object> responseDataMap = new HashMap<>(); responseDataMap.put("b", "B1");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 23:31:00 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
@GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read()); assertSame(ticker, ticker.advance(10)); assertEquals(10, ticker.read());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
principalVector.add(new DERTaggedObject(true, 0, new ASN1Integer(1))); // name-type principalVector.add(new DERTaggedObject(true, 1, new DERSequence(principalNameVector))); v.add(new DERTaggedObject(true, 2, new DERSequence(principalVector))); ASN1EncodableVector encPart = new ASN1EncodableVector(); encPart.add(new DERTaggedObject(true, 0, new ASN1Integer(encType)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
try { // Create a new QueryProcessor and initialize it QueryProcessor newQueryProcessor = new QueryProcessor(); newQueryProcessor.init(); ComponentUtil.register(newQueryProcessor, "queryProcessor"); // Register the command with the new processor PrefixQueryCommand newCommand = new PrefixQueryCommand(); newCommand.register();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValues); assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValuesLowercase); assertArrayEquals(new String[0], missingValues); } @Test public void testGetHeaderValueMultipleValues() { CurlResponse response = new CurlResponse();
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data)); SocketInputStream sis = new SocketInputStream(in); // Reading with zero-length array should return 0 without consuming data assertEquals(0, sis.read(new byte[0])); // Verify data can still be read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)