- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 4,560 for long (0.12 seconds)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then assertEquals(24, bytesConsumed); // Note: multiplication may overflow, but that's expected behavior long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE; assertEquals(expectedCapacity, fileFsSizeInfo.getCapacity()); } @Test @DisplayName("Should decode buffer with offset correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
public val onResponseBody: SocketEffect? public val onResponseEnd: SocketEffect? public val shutdownServer: Boolean public val headersDelayNanos: Long public val bodyDelayNanos: Long public val trailersDelayNanos: Long /** The streams the server will push with this response. */ public val pushPromises: List<PushPromise> public val settings: Settings public constructor( code: Int = 200,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
public final State state; public final long totalCalls; public final long totalSuccesses; public final long totalFailures; public final long rejectedCalls; public final int consecutiveFailures; public final double successRate; public Statistics(String name, State state, long totalCalls, long totalSuccesses, long totalFailures, long rejectedCalls,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} fun throttleBody( bytesPerPeriod: Long, period: Long, unit: TimeUnit, ) = apply { throttleBytesPerPeriod = bytesPerPeriod throttlePeriodAmount = period throttlePeriodUnit = unit } fun getThrottlePeriod(unit: TimeUnit): Long = unit.convert(throttlePeriodAmount, throttlePeriodUnit) fun setBodyDelay( delay: Long, unit: TimeUnit, ) = apply {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
android/guava/src/com/google/common/io/CharStreams.java
* Returns the total number of chars read. Does not close the stream. * * @since 20.0 */ @CanIgnoreReturnValue public static long exhaust(Readable readable) throws IOException { long total = 0; long read; CharBuffer buf = createBuffer(); while ((read = readable.read(buf)) != -1) { total += read; Java8Compatibility.clear(buf); } return total;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ private final long timeout; /** * The timestamp when this handle was created */ private final long createTime; /** * The timestamp of the last access to this handle */ private volatile long lastAccessTime; /** * The associated lease key if this handle has an SMB2 lease */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
ByteBuffer bb2 = ByteBuffer.wrap(bytes, 8, 8).order(java.nio.ByteOrder.BIG_ENDIAN); long data4 = bb2.getLong(); // Construct UUID from components - Java UUID expects big-endian representation long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF); long leastSig = data4; this.guid = new UUID(mostSig, leastSig); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
/** An OID string like "2.5.4.11" for organizationalUnitName. */ val type: String, val value: Any?, ) internal data class Validity( val notBefore: Long, val notAfter: Long, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + notBefore.toInt() result = 31 * result + notAfter.toInt()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
@Test public void test_formatDetails_truncation() { TestableLogNotificationJob testableJob = new TestableLogNotificationJob(); long timestamp = 1700000000000L; List<LogNotificationEvent> events = new ArrayList<>(); // Create many events with long messages for (int i = 0; i < 100; i++) { String longMessage = "A".repeat(300) + " event " + i;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0)