- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,050 for Spread (0.16 sec)
-
samples/guide/src/main/java/okhttp3/recipes/Progress.java
return new ForwardingSource(source) { long totalBytesRead = 0L; @Override public long read(Buffer sink, long byteCount) throws IOException { long bytesRead = super.read(sink, byteCount); // read() returns the number of bytes read, or -1 if this source is exhausted. totalBytesRead += bytesRead != -1 ? bytesRead : 0;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count); // The method should return the number of bytes read. assertEquals(8, bytesRead); } /** * Test the writeParameterWordsWireFormat method. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
/** * Flag indicating whether thumbnail generation is currently in progress. */ protected volatile boolean generating; private Thread thumbnailQueueThread; /** * Size of the thumbnail path cache. */ protected int thumbnailPathCacheSize = 10; /** * File extension for generated thumbnail images. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
cache.getUnchecked("a"); shouldWait.set(true); CountDownLatch computationStarted = new CountDownLatch(1); CountDownLatch computationComplete = new CountDownLatch(1); new Thread( new Runnable() { @Override public void run() { computationStarted.countDown(); cache.getUnchecked("b");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
long startTime = ticker.read(); V calculatedValue; try { calculatedValue = loader.load(key); put(key, calculatedValue); } catch (RuntimeException e) { statsCounter.recordLoadException(ticker.read() - startTime); throw new UncheckedExecutionException(e); } catch (Exception e) { statsCounter.recordLoadException(ticker.read() - startTime);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
} /** * Attaches [tag] to the request using [T] as a key. Tags can be read from a request using * [Request.tag]. Use null to remove any existing tag assigned for [T]. * * Use this API to attach timing, debugging, or other application data to a request so that * you may read it in interceptors, event listeners, or callbacks. */ @JvmName("reifiedTag")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 14.7K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
byte[] buffer = new byte[10]; // When int bytesRead = trans.readSetupWireFormat(buffer, 0, 10); // Then assertEquals(0, bytesRead, "Should read 0 bytes."); } /** * Tests the readParametersWireFormat method. */ @Test void testReadParametersWireFormat() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
HcHttpClient client = new HcHttpClient() { @Override protected ResponseData processHttpMethod(final String url, final HttpUriRequest httpRequest) { try { Thread.sleep(2000); } catch (InterruptedException e) { throw new CrawlingAccessException(e); } return null; } };
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
* a default value. * * If this does read a value, it starts with the tag and length, and reads an entire value, * including any potential composed values. * * If there's nothing to read and no default value, this will throw an exception. */ fun fromDer(reader: DerReader): T fun fromDer(byteString: ByteString): T {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Ticker.java
@GwtCompatible public abstract class Ticker { /** Constructor for use by subclasses. */ protected Ticker() {} /** Returns the number of nanoseconds elapsed since this ticker's fixed point of reference. */ public abstract long read(); /** * A ticker that reads the current time using {@link System#nanoTime}. * * @since 10.0 */ public static Ticker systemTicker() { return SYSTEM_TICKER; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.8K bytes - Viewed (0)