- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 4,617 for New (0.01 sec)
-
src/main/java/jcifs/util/ServerResponseValidator.java
private static final int MAX_PATH_SIZE = 32767; // Statistics private final AtomicLong totalValidations = new AtomicLong(0); private final AtomicLong failedValidations = new AtomicLong(0); private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0); private final AtomicLong integerOverflowsPrevented = new AtomicLong(0); /** * Validate SMB response buffer bounds *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
// Test ID change event.setId("new-id-456"); assertEquals("new-id-456", event.getId()); // Test null ID NullSearchLogEvent nullEvent = new NullSearchLogEvent(); assertNull(nullEvent.getId()); // Test empty ID EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent(); assertEquals("", emptyEvent.getId()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS); static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS); static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS); static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS); private static final ImmutableSet<CharSource> BROKEN_SOURCES =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }); byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
byte[] dst = new byte[fileName.length() + 1]; int result = smbComOpenAndX.writeBytesWireFormat(dst, 0); assertEquals(fileName.length() + 1, result); } /** * Test readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); byte[] buffer = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
Configuration cfg = mock(Configuration.class); SmbComLockingAndX cmd = new SmbComLockingAndX(cfg); // arrays of size 1 so internal method will attempt to decode a range setField(cmd, "unlocks", new LockingAndXRange[] { new LockingAndXRange(false) }); setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) }); setField(cmd, "largeFile", false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(0L, MemoryUtil.sizeOf(new String[] { null, null })); // Mixed content array assertEquals(84L, MemoryUtil.sizeOf(new Object[] { "test", 123, null })); // Nested arrays assertEquals(120L, MemoryUtil.sizeOf(new Object[] { new String[] { "test" }, new String[] { "test" } })); } public void test_sizeOf_collectionVariations() { // Empty collection
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
/** The new file. */ protected File newFile; /** The writer for the new file. */ protected Writer writer; /** The item to be added or updated. */ protected KuromojiItem item; /** * Constructs a new Kuromoji updater. * * @param newItem The new item to be added or updated. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() { assertEquals(0, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber()); assertEquals(1, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0)