- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 265 for 0L (0.02 sec)
-
guava/src/com/google/common/base/Defaults.java
return (T) Short.valueOf((short) 0); } else if (type == int.class) { return (T) Integer.valueOf(0); } else if (type == long.class) { return (T) Long.valueOf(0L); } else if (type == float.class) { return (T) FLOAT_DEFAULT; } else if (type == double.class) { return (T) DOUBLE_DEFAULT; } } return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} } public void test_interval_boundary_values() { // Test interval boundary values quickly dataIndexHelper.setCrawlingExecutionInterval(0L); dataIndexHelper.setCrawlingExecutionInterval(1L); dataIndexHelper.setCrawlingExecutionInterval(Long.MAX_VALUE); assertTrue("Boundary value tests should be fast", true); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
assertEquals(100L, t.delay, "Default delay should be 100"); assertNull(t.url, "URL should be null by default"); assertEquals(0, t.numComplete, "numComplete should start at 0"); assertEquals(0L, t.ltime, "ltime should start at 0"); } @Test @DisplayName("TestLocking fields can be configured") void testFieldConfiguration() { TestLocking t = new TestLocking();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
assertEquals(Long.MAX_VALUE, webFsIndexHelper.maxAccessCount); } public void test_setMaxAccessCount_withZero() { webFsIndexHelper.setMaxAccessCount(0L); assertEquals(0L, webFsIndexHelper.maxAccessCount); } public void test_setCrawlingExecutionInterval() { long interval = 5000L; webFsIndexHelper.setCrawlingExecutionInterval(interval);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 15.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
} return bufferedSource; } private Source source(Source source) { return new ForwardingSource(source) { long totalBytesRead = 0L; @Override public long read(Buffer sink, long byteCount) throws IOException { long bytesRead = super.read(sink, byteCount);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
*/ public TestLocking() { // Default constructor } int numThreads = 1; int numIter = 1; long delay = 100; String url = null; int numComplete = 0; long ltime = 0L; @Override public void run() { try { final SmbFile f = new SmbFile(url); final SmbFile d = new SmbFile(f.getParent()); final byte[] buf = new byte[1024];
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/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
@Test void testConstructor() { assertNotNull(response); // Default values from constructor assertEquals(0, response.fid); assertEquals(0, response.fileAttributes); assertEquals(0L, response.lastWriteTime); assertEquals(0, response.dataSize); assertEquals(0, response.grantedAccess); assertEquals(0, response.fileType); assertEquals(0, response.deviceState);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1]; rng.nextBytes(bytes); assertEquals(hashFunction.hashBytes(bytes), hashFunction.hashBytes(ByteBuffer.wrap(bytes))); } static void assertHashByteBufferExhaustsBuffer(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// When int bytesWritten = chunk.encode(buffer, startIndex); // Then assertEquals(EXPECTED_SIZE, bytesWritten); assertEquals(0L, SMBUtil.readInt8(buffer, startIndex)); assertEquals(0L, SMBUtil.readInt8(buffer, startIndex + 8)); assertEquals(0, SMBUtil.readInt4(buffer, startIndex + 16)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
* length-in-digits of an encoded integer. */ private fun writeOrCountBytes( sink: BufferedSink?, countBytes: Boolean, ): Long { var byteCount = 0L val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer for (i in 0 until encodedNames.size) { if (i > 0) buffer.writeByte('&'.code) buffer.writeUtf8(encodedNames[i])
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0)