- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for 0L (0.01 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Test default attributes value response = new SmbComQueryInformationResponse(mockConfig, 0L); assertEquals(0x0000, response.getAttributes()); } @Test void testGetSizeDefault() { // Test default file size value response = new SmbComQueryInformationResponse(mockConfig, 0L); assertEquals(0, response.getSize()); } @Test void testTimeConversionMethods() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
// Initial value assertEquals(0L, item.getId()); // First modification item.id = 50L; assertEquals(50L, item.getId()); // Second modification item.id = 100L; assertEquals(100L, item.getId()); // Third modification back to 0 item.id = 0L; assertEquals(0L, item.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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
val servedMillis = servedDate?.time ?: sentRequestMillis val delta = servedMillis - lastModified!!.time return if (delta > 0L) delta / 10 else 0L } return 0L } /** * Returns the current age of the response, in milliseconds. The calculation is specified by RFC * 7234, 4.2.3 Calculating Age. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
} @Test @DisplayName("Test with zero times and attributes") void testWithZeroValues() throws SMBProtocolDecodingException { FileBasicInfo info = new FileBasicInfo(0L, 0L, 0L, 0L, 0); // Encode byte[] buffer = new byte[50]; int encodedBytes = info.encode(buffer, 0); // Decode FileBasicInfo decoded = new FileBasicInfo();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When Integer timeout = request.getOverrideTimeout(); // Then assertNull(timeout, "Cancel requests should not override timeout"); } @Test @DisplayName("Test allowChain returns false") void testAllowChain() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
assertEquals("0", mockConfig.getTimeAdjustTimeMillis()); assertEquals(Long.valueOf(0L), mockConfig.getTimeAdjustTimeMillisAsLong()); // Test multiple calls return same values for (int i = 0; i < 10; i++) { assertEquals("0", mockConfig.getTimeAdjustTimeMillis()); assertEquals(Long.valueOf(0L), mockConfig.getTimeAdjustTimeMillisAsLong()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
if ((dattrs & SmbConstants.ATTR_READONLY) != 0) { /* * Remove READONLY and try again */ dest.setPathInformation(dattrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L); return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} // Test with zero SMBUtil.writeInt8(0L, dst, 16); for (int i = 16; i < 24; i++) { assertEquals((byte) 0x00, dst[i]); } } @Test void testReadTime() { byte[] src = new byte[16]; // Test with zero time SMBUtil.writeInt8(0L, src, 0); long time = SMBUtil.readTime(src, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
mockResponse.http2ErrorCode = 0 mockResponse = mockResponse.throttleBody(0L, 0L, TimeUnit.SECONDS) var throttleBytesPerPeriod: Long = mockResponse.throttleBytesPerPeriod throttleBytesPerPeriod = mockResponse.throttleBytesPerPeriod var throttlePeriod: Long = mockResponse.getThrottlePeriod(TimeUnit.SECONDS) mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS) val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
throw ProtocolException("length encoded with more than 8 bytes is not supported") } var lengthBits = source.readByte().toLong() and 0xff if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) { throw ProtocolException("invalid encoding for length") } for (i in 1 until lengthBytes) { lengthBits = lengthBits shl 8
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)