- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 516 for open0 (0.02 sec)
-
tests/error_translator_test.go
untranslatedErr := errors.New("some random error") db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}) err := db.AddError(untranslatedErr) if !errors.Is(err, untranslatedErr) { t.Fatalf("expected err: %v got err: %v", untranslatedErr, err) } // it should translate error when the TranslateError flag is true db, _ = gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}, &gorm.Config{TranslateError: true})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/releasing.md
Releasing ========= ### Prerequisite: Sonatype (Maven Central) Account Create an account on the [Sonatype issues site][sonatype_issues]. Ask an existing publisher to open an issue requesting publishing permissions for `com.squareup` projects. Cutting a Release ----------------- 1. Update `CHANGELOG.md`. 2. Set versions: ``` export RELEASE_VERSION=X.Y.Z export NEXT_VERSION=X.Y.Z-SNAPSHOT ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 26 22:07:16 UTC 2022 - 1.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
package okhttp3.internal.cache import java.io.IOException import okio.Buffer import okio.ForwardingSink import okio.Sink /** A sink that never throws IOExceptions, even if the underlying sink does. */ internal open class FaultHidingSink( delegate: Sink, val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
/** * A policy for how the pool should treat a specific address. */ class AddressPolicy( /** * How many concurrent calls should be possible to make at any time. * The pool will routinely try to pre-emptively open connections to satisfy this minimum. * Connections will still be closed if they idle beyond the keep-alive but will be replaced. */ @JvmField val minimumConcurrentCalls: Int = 0,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
* characters to lowercase. */ open fun canonicalize(s: String): String = s } /** Tests integration between HttpUrl and the host platform's built-in URL classes, if any. */ open class Platform { open fun test( codePoint: Int, codePointString: String, encoding: Encoding, component: Component,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
class SamrOpenDomainTests { @Test @DisplayName("Should construct with correct parameters and opnum") void testConstructorAndOpnum() { // When: Creating open domain message samr.SamrOpenDomain message = new samr.SamrOpenDomain(mockPolicyHandle, 123, mockSidT, mockPolicyHandle); // Then: Should have correct values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
names = append(names, f.Name) if _, err := f.Open(); err != nil { t.Errorf("Error opening %q: %v", f.Name, err) } if _, err := r.Open(f.Name); err == nil { t.Errorf("Opening %q with fs.FS API succeeded", f.Name) } } if !slices.Equal(names, entryNames) { t.Errorf("Unexpected file entries: %q", names) } if _, err := r.Open(""); err == nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
<div class="termy"> ```console $ fastapi dev main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>. You will see a simple page like: <img src="/img/tutorial/websockets/image01.png">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Verifies that the isOpen method returns true for an open handle. */ @Test public void testIsOpen_ReturnsTrueWhenOpen() { when(smbPipeHandle.isOpen()).thenReturn(true); assertTrue(smbPipeHandle.isOpen(), "isOpen() should return true when the handle is open."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)