- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 4,619 for _new (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
byte[] buffer = new byte[100]; int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test readDataWireFormat returns 0") void testReadDataWireFormat() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test getMessage behavior with complex cause structure final Exception innerCause = new NullPointerException("NPE occurred"); final Exception outerCause = new IllegalStateException("State error", innerCause); final JobProcessingException exception = new JobProcessingException(outerCause); assertNotNull(exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".getBytes(); private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; static { // Initialize long key with predictable data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page")) * .addEqualityGroup(new User("sergey")) * .testEquals(); * </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} } public void testBridgeMethodIgnored() { new NullPointerTester().testAllPublicInstanceMethods(new StringFoo()); } private abstract static class DefaultValueChecker { private final Map<Integer, Object> arguments = new HashMap<>(); @CanIgnoreReturnValue final DefaultValueChecker runTester() { new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
public void testDurableHandleReconnectInvalidFileId() { assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @Test public void testHandleType() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) { throw new SmbException(unc + " UNC must end with '\\'"); } final SmbTreeHandleImpl th = getTreeHandle(); this.response = new Trans2FindFirst2Response(th.getConfig()); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[20]; response.wordCount = 0; int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] buffer = new byte[4]; pdis.readFully(buffer); assertArrayEquals(data, buffer); } @Test public void testReadFullyWithOffset() throws IOException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; PacDataInputStream pdis = createInputStream(data); byte[] buffer = new byte[6]; pdis.readFully(buffer, 1, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
StringCatcher stringCatcher = new StringCatcher(); List<Object> objectEvents = new ArrayList<>(); Object objCatcher = new Object() { @Subscribe public void eat(Object food) { objectEvents.add(food); } }; List<Comparable<?>> compEvents = new ArrayList<>(); Object compCatcher = new Object() { @Subscribe
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0)