- Sort Score
- Num 10 results
- Language All
Results 1001 - 1010 of 1,394 for each (0.03 seconds)
-
android/guava/src/com/google/common/io/ByteStreams.java
// Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers // quadruple in size until they reach 8k, to minimize the number of small reads for longer // streams. Buffers are retained in a deque so that there's no copying between buffers while // reading and so all of the bytes in each new allocated buffer are available for reading from // the stream.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertEquals(Integer.MAX_VALUE, negotiationResponse.getInitialCredits()); } @Test @DisplayName("Test all dialect versions") void testAllDialectVersions() { // Test each dialect version DialectVersion[] dialects = { DialectVersion.SMB1, DialectVersion.SMB202, DialectVersion.SMB210, DialectVersion.SMB300, DialectVersion.SMB302, DialectVersion.SMB311 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
&& Character.isHighSurrogate(string.charAt(index)) && Character.isLowSurrogate(string.charAt(index + 1)); } /** * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with * the corresponding argument value from {@code args}; or, if the placeholder and argument counts * do not match, returns a best-effort form of that string. Will not throw an exception under
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" }; for (String origin : origins) { resetMocks(); // Reset for each test mockRequest.setHeader("Origin", origin); mockRequest.setMethod("GET"); TestCorsHandler handler = new TestCorsHandler(); corsHandlerFactory.setHandler(handler);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} } /** * Validate array size before allocation * * @param size array size to allocate * @param elementSize size of each element * @param maxElements maximum allowed elements * @throws SmbException if allocation would be too large */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
internal/ioutil/ioutil.go
// the function finishes executing, Run returns context.DeadlineExceeded to the caller. // channel so that the work function can attempt to exit gracefully. // Multiple calls to Run will run independently of each other. func (d *DeadlineWorker) Run(work func() error) error { _, err := WithDeadline[struct{}](context.Background(), d.timeout, func(ctx context.Context) (struct{}, error) { return struct{}{}, work() }) return err
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Doubles.java
} throw new IllegalArgumentException( lenientFormat("min (%s) must be less than or equal to max (%s)", min, max)); } /** * Returns the values from each provided array combined into a single array. For example, {@code * concat(new double[] {a, b}, new double[] {}, new double[] {c}} returns the array {@code {a, b, * c}}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 27.8K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
apply { this.shutdownServer = shutdownServer } /** * Throttles the request reader and response writer to sleep for the given period after each * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior. */ public fun throttleBody( bytesPerPeriod: Long, period: Long, unit: TimeUnit,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) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} } } /** * Copies all of the mappings from the specified map to this map. The effect of this call is * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined * if the specified map is modified while the operation is in progress. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 13:21:19 GMT 2025 - 14K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
* serialization code) which used a map with boxed integers for the values. */ private static final class OldConcurrentHashMultiset<E> extends AbstractMultiset<E> { /** The number of occurrences of each element. */ private final transient ConcurrentMap<E, Integer> countMap; /** * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0)