- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,251 for its (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* The particular nature and strength of the guarantees made by the proxy is * implementation-dependent. However, it is important that each of the methods on the target * object behaves appropriately when its thread is interrupted. * * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code * DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code: * * <pre>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
* loader} if necessary. The method improves upon the conventional "if cached, return; otherwise * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its * {@link LoadingCache#get(Object) get(K)} method instead of this one. * * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are: * * <ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
creator.setString(1, "C") creator.abort() cache.close() assertJournalEquals("DIRTY k1", "REMOVE k1") } /** On Windows we have to wait until the edit is committed before we can delete its files. */ @Test fun `unterminated edit is reverted on cache close`() { val editor = cache.edit("k1")!! editor.setString(0, "AB") editor.setString(1, "C") cache.close()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
/* * While the current implementation returns `this`, that's not something we mean to guarantee. * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector, * so its return value will get used naturally. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") ImmutableTableCollectorState<R, C, V> combine(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field. } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange String server = "testServer"; int access = 123;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
cmd/healthcheck-handler.go
writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone) case http.MethodGet: writeErrorResponse(r.Context(), w, apiErr, r.URL) } return } // Verify if KMS is reachable if its configured if GlobalKMS != nil { ctx, cancel := context.WithTimeout(r.Context(), time.Minute) defer cancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 26 07:44:34 GMT 2024 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
// Run Enums.getIfPresent on that other TestEnum and then return a WeakReference containing the // new ClassLoader. If Enums.getIfPresent does caching that prevents the shadow TestEnum // (and therefore its ClassLoader) from being unloaded, then this WeakReference will never be // cleared. @J2ktIncompatible private WeakReference<?> doTestClassUnloading() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
} } /** * Sorts the array, treating its elements as unsigned 32-bit integers. * * @since 23.1 */ public static void sort(int[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 32-bit integers. * * @since 23.1
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIterator.java
/** * This class provides a skeletal implementation of the {@code Iterator} interface, to make this * interface easier to implement for certain types of data sources. * * <p>{@code Iterator} requires its implementations to support querying the end-of-data status * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
* passes through both {@code (x1, y1)} and {@code (x1 + xDelta, y1 + yDelta)}. Includes * assertions about all the public instance methods of {@link LinearTransformation} (on both * {@code transformation} and its inverse). Since the transformation is expected to be diagonal, * neither {@code xDelta} nor {@code yDelta} may be zero. */ static void assertDiagonalLinearTransformation(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0)