- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 273 for 0L (0.04 sec)
-
src/test/java/jcifs/SmbFileHandleTest.java
verify(smbFileHandle, times(1)).getInitialSize(); } /** * Test getInitialSize() when the size is zero. */ @Test void testGetInitialSize_zero() { long expectedSize = 0L; when(smbFileHandle.getInitialSize()).thenReturn(expectedSize); long actualSize = smbFileHandle.getInitialSize(); assertEquals(expectedSize, actualSize, "getInitialSize should return 0 for an empty file.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
} // Decode smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify - all zeros should result in 0 capacity and free assertEquals(0L, smbInfoAllocation.getCapacity()); assertEquals(0L, smbInfoAllocation.getFree()); } @Test @DisplayName("Test getFree with maximum values") void testGetFreeWithMaximumValues() throws SMBProtocolDecodingException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
} /** Timeout values to combine with each {@link Scenario}. */ private enum Timeout { MIN(Long.MIN_VALUE, "-oo"), MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"), ZERO(0L, "0ms"), SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"), LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"), MAX(Long.MAX_VALUE, "+oo"); final long millis;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
} catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } } internal data class TbsCertificate( /** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */ val version: Long, val serialNumber: BigInteger, val signature: AlgorithmIdentifier, val issuer: List<List<AttributeTypeAndValue>>, val validity: Validity,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
} fun writeBigInteger(value: BigInteger) { sink().write(value.toByteArray()) } fun writeLong(v: Long) { val sink = sink() val lengthBitCount: Int = if (v < 0L) { 65 - java.lang.Long.numberOfLeadingZeros(v xor -1L) } else { 65 - java.lang.Long.numberOfLeadingZeros(v) } val lengthByteCount = (lengthBitCount + 7) / 8
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
v3 = Long.rotateLeft(v3, 21); v1 ^= v2; v3 ^= v0; v2 = Long.rotateLeft(v2, 32); } } } private static final long serialVersionUID = 0L;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
} @Override public String toString() { return sourceFormat + ".converterTo(" + targetFormat + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L; } abstract String normalizeWord(String word); String normalizeFirstWord(String word) { return normalizeWord(word); } private static String firstCharOnlyToUpper(String word) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
assertEquals(token1, token2); } public void test_generateAccessToken_withCustomRandom() { final Random customRandom = new Random(0L); accessTokenHelper.setRandom(customRandom); final String token = accessTokenHelper.generateAccessToken(); assertNotNull(token); assertFalse(token.isEmpty()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
"close".equals(response.header("Connection"), ignoreCase = true) ) { exchange.noNewExchangesOnConnection() } if ((code == 204 || code == 205) && response.body.contentLength() > 0L) { throw ProtocolException( "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}", ) } return response } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
* </p> * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { /** Counter for generating unique IDs */ protected static volatile long idCount = 0L; /** Lock object for synchronizing access to idCount */ private static Object idCountLock = new Object(); /** Helper for managing access result data in memory */ @Resource
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.8K bytes - Viewed (0)