- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,969 for longp (0.05 sec)
-
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
@VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class CharStreamsCopyBenchmark { enum CopyStrategy { OLD { @Override long copy(Readable from, Appendable to) throws IOException { CharBuffer buf = CharStreams.createBuffer(); long total = 0; while (from.read(buf) != -1) { ((Buffer) buf).flip(); to.append(buf); total += buf.remaining();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
threads[ti].start(); } while (t.numComplete < t.numThreads) { long delay; do { delay = 2L; synchronized (t) { final long expire = t.ltime + t.delay; final long ctime = System.currentTimeMillis(); if (expire > ctime) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
assertEquals("false", config.getApiJsonResponseExceptionIncluded()); } // Test error code generation public void test_errorCodeGeneration() { long timestamp = System.currentTimeMillis(); String errorCode = "error_code:" + Long.toHexString(timestamp); assertTrue(errorCode.startsWith("error_code:")); assertTrue(errorCode.length() > 11); // "error_code:" is 11 chars }
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/org/codelibs/fess/dict/DictionaryItemTest.java
} public void test_getId_maxValue() { // Test with maximum Long value dictionaryItem.id = Long.MAX_VALUE; assertEquals(Long.MAX_VALUE, dictionaryItem.getId()); } public void test_getId_minValue() { // Test with minimum Long value dictionaryItem.id = Long.MIN_VALUE; assertEquals(Long.MIN_VALUE, dictionaryItem.getId()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
byte[] buffer = new byte[34]; long create = 1600000000000L; long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
val closed = AtomicBoolean() val body: ResponseBody = object : ResponseBody() { override fun contentType(): MediaType? = null override fun contentLength(): Long = 5 override fun source(): BufferedSource { val source = Buffer().writeUtf8("hello") return object : ForwardingSource(source) { @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (0) -
docs/features/events.md
@Override public EventListener create(Call call) { long callId = nextCallId.getAndIncrement(); System.out.printf("%04d %s%n", callId, call.request().url()); return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos; public PrintingEventListener(long callId, long callStartNanos) { this.callId = callId;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(NullPointerException.class, () -> sis.read((byte[]) null)); } @ParameterizedTest @ValueSource(longs = { 0L, -1L, -10L }) @DisplayName("Skip returns 0 for zero or negative values") void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException { // Create message with 5 bytes of data byte[] data = new byte[] { 10, 20, 30, 40, 50 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
private final Analyzer analyzer; private final Settings settings; private final boolean expand; private long reloadInterval = 0; private final Environment env; private volatile long lastModified; private volatile long lastChecked; private volatile SynonymMap synonymMap;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 6.7K bytes - Viewed (1)