- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 5,326 for Returns (0.06 sec)
-
README.md
```java import org.codelibs.core.convert.*; // Safe type conversions with null handling Integer value = IntegerConversionUtil.toInteger("123"); // Returns 123 Integer nullValue = IntegerConversionUtil.toInteger(null); // Returns null Boolean flag = BooleanConversionUtil.toBoolean("true"); // Returns true Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd"); // Primitive conversions with default values
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
} } public void test_findOnMainSchema_alwaysReturnsNull() { // Since the implementation always returns null (no DBFlute classification used), // test that it consistently returns null for any input assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification")); assertNull(invokeMethod(provider, "findOnMainSchema", ""));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
assertEquals("login failed", ex.getMessage()); verify(tree).connectLogon(context); } @Test @DisplayName("send without params returns the stubbed response") void send_noParams_returnsResponse() throws Exception { // Arrange - generic return type respected when(tree.send(request)).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
return setupWireFormatReturn; } @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) { return parametersWireFormatReturn; } @Override protected int writeDataWireFormat(byte[] dst, int dstIndex) { return dataWireFormatReturn; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> { int len = inv.getArgument(2); // First call returns len-1, second returns 1 return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1; }).when(raf).read(any(byte[].class), anyInt(), anyInt()); byte[] dst = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} // Test append returns the same buffer instance public void test_append_returnsSameBuffer() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "test"; StringBuilder result = monitorTarget.append(buf, "key", supplier); assertSame(buf, result); } // Test appendTimestamp returns the same buffer instanceRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
*/ E[] createArray(int length); /** * Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in * place, or a different list. * * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadnMultipleCalls() throws IOException { when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(2) // First read returns 2 bytes .thenReturn(2) // Second read returns 2 bytes .thenReturn(1); // Third read returns 1 byte byte[] buffer = new byte[10]; int bytesRead = SessionServicePacket.readn(mockInputStream, buffer, 0, 5);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Override public String getRemoteHostName() { return "test"; } @Override public Address getRemoteAddress() { return mock(Address.class); } @Override public CIFSContext getContext() { return mock(CIFSContext.class); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> result = sut.watch(); assertNull(result, "Cancelled watch should return null"); verify(tree, times(1)).close(); } // Error code 0x10C should clear the notify list and return it @Test @DisplayName("watch() clears notify list on error 0x10C and returns it") void watch_clearsList_onError10C() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)