- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 410 for fallbacks (0.05 sec)
-
internal/stmt_store/stmt_store.go
// // This function defines an onEvicted callback that is invoked when a cache entry is evicted. // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously // to release associated resources. // // Returns: // - A Store instance implemented by lruStore, which internally uses an LRU cache with the specified size, // eviction callback, and TTL. func New(size int, ttl time.Duration) Store {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Apr 27 06:05:16 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
responseCallback.onResponse(this@RealCall, response) } catch (e: IOException) { if (signalledCallback) { // Do not signal the callback twice! Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e) } else { responseCallback.onFailure(this@RealCall, e) } } catch (t: Throwable) { cancel()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
val latch = CountDownLatch(1) val exceptionRef = AtomicReference<Throwable>() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) call.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { exceptionRef.set(e) latch.countDown() } @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
} /** * Starts a new process with the given session ID and command list. * Uses default buffer size and no output callback. * * @param sessionId unique identifier for the process session * @param cmdList list of command and arguments to execute * @param pbCall callback to configure the ProcessBuilder * @return JobProcess representing the started process */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
} /** * Streams lines from a URL, stopping when our callback returns false, or we have read all of the * lines. * * @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants * @param callback the LineProcessor to use to handle the lines * @return the output of processing the linesRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
callbacks/helper_test.go
package callbacks import ( "reflect" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" ) func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes.kt import java.io.IOException import okhttp3.Call import okhttp3.Callback import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = RequestRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
* limitations under the License. */ package okhttp.android.testapp import android.os.Bundle import androidx.activity.ComponentActivity import okhttp3.Call import okhttp3.Callback import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okhttp3.internal.platform.AndroidPlatform import okio.IOException
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
* Returns a new instance of {@link Options} with values interpolated using the given properties. * * @param callback the callback to use for interpolation * @return a new {@link Options} instance with interpolated values */ @Nonnull Options interpolate(@Nonnull UnaryOperator<String> callback); /** * Emits warning messages if deprecated options are used. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
nestedMap.put("outer", Maps.map("inner", "value").$()); assertEquals(183L, MemoryUtil.sizeOf(nestedMap)); } public void test_sizeOf_customObjects() { // Test fallback case for custom objects (should return 16L) assertEquals(16L, MemoryUtil.sizeOf(new Object())); assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0)