- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 215 for Callers (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* * To avoid leaking resources callers should close the [Response] which in turn will close the * underlying [ResponseBody]. * * ```java * // ensure the response (and underlying response body) is closed * try (Response response = client.newCall(request).execute()) { * ... * } * ``` * * The caller may read the response body with the response's [Response.body] method. To avoid
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
ATOMIC_HELPER.compareAndSetSeenExceptions(this, null, seenExceptionsLocal); /* * If another handleException() caller created the set, we need to use that copy in case yet * other callers have added to it. * * This read is guaranteed to get us the right value because we only set this once (here). *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt
/** * Returns the trailers that follow an HTTP response, blocking if they aren't ready yet. * Implementations of this interface should respond to [Call.cancel] by immediately throwing an * [IOException]. * * Most callers won't need this interface, and should use [Response.trailers] instead. * * This interface is for test and production code that creates [Response] instances without making * an HTTP call to a remote server. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* {@link ImmutableList}) instead of the general collection interface type (such as {@link List}). * This communicates to your callers all of the semantic guarantees listed above, which is almost * always very useful information. * * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
utils/utils.go
// - Exclude test files (*_test.go) // - go-gorm/gen's Generated files (*.gen.go) func CallerFrame() runtime.Frame { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next()
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 10:56:26 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
UnmodifiableIterator<Entry<K, V>> entryIterator() { return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator()); } @Override boolean isPartialView() { return false; } // All callers of the constructor are restricted to <K extends Enum<K>>. @Override @J2ktIncompatible // serialization Object writeReplace() { return new EnumSerializedForm<>(delegate); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
Java8Compatibility.flip(buf); to.append(buf); total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able // to reuse buffers, others would be able to size them more appropriately than the constant // defaults /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable { var taskFaker: TaskFaker = TaskFaker()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 6.7K bytes - Viewed (0)