- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 2,036 for wong (0.02 sec)
-
src/test/java/jcifs/util/transport/ResponseTest.java
} @Test void testSetMid() { long mid = 12345L; mockResponse.setMid(mid); // Verify that the method was called with the correct argument verify(mockResponse, times(1)).setMid(mid); } @Test void testGetMid() { long mid = 54321L; when(mockResponse.getMid()).thenReturn(mid);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
} /** * Retrieve a <code>long</code>. If the key does not exist or * cannot be converted to a <code>long</code>, the provided default * argument will be returned. * * @param key the property key to look up * @param def the default value to return if the property is not found or cannot be parsed * @return the property value as a long, or the default value */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
@Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime(); Request request = chain.request(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime(); logger.info(String.format("Received response for %s in %.1fms%n%s",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
@NullUnmarked public class MoreObjectsTest extends TestCase { public void testFirstNonNull_withNonNull() { String s1 = "foo"; String s2 = MoreObjects.firstNonNull(s1, "bar"); assertSame(s1, s2); Long n1 = 42L; Long n2 = MoreObjects.firstNonNull(null, n1); assertSame(n1, n2); Boolean b1 = true; Boolean b2 = MoreObjects.firstNonNull(b1, null); assertSame(b1, b2); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
} /** * State tracking for channel failover */ public static class FailoverState { private final String channelId; private final long failureTime; private int retryCount; private long nextRetryTime; /** * Create failover state * * @param channelId channel identifier */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @ParameterizedTest @DisplayName("Should handle various offsets") @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE }) void testVariousOffsets(long offset) { assertDoesNotThrow(() -> request.setOffset(offset)); } } @Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
void testSourceKeyAllMax() { // Given byte[] maxKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(maxKey, (byte) 0xFF); SrvCopychunk chunk = new SrvCopychunk(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE); SrvCopychunkCopy copy = new SrvCopychunkCopy(maxKey, chunk); byte[] buffer = new byte[100]; // When
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/smb/DirFileEntryEnumIterator1Test.java
} @Override public long createTime() { return 0; } @Override public long lastModified() { return 0; } @Override public long lastAccess() { return 0; } @Override public long length() { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
assertEquals(Constants.HEAD_METHOD, response.getMethod()); } static class TestClient implements CrawlerClient { int count; int exceptionCount; long interval = 500; long previousTime; @Override public void setInitParameterMap(final Map<String, Object> params) { } /* * (non-Javadoc) *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
* * @param lastWriteTime the last write time to set, or 0 to leave unchanged * @throws CIFSException if an error occurs while closing the file */ void close(long lastWriteTime) throws CIFSException; /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)