- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 2,715 for INTERNAL (0.07 seconds)
-
docs/de/docs/advanced/async-tests.md
## Beispiel { #example } Betrachten wir als einfaches Beispiel eine Dateistruktur ähnlich der in [Größere Anwendungen](../tutorial/bigger-applications.md){.internal-link target=_blank} und [Testen](../tutorial/testing.md){.internal-link target=_blank}: ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Die Datei `main.py` hätte als Inhalt:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (1) -
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器显示错误提示。 使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。 /// /// info | 说明 本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。 但实际开发中,尤其是在实现安全措施时,最好使用 FastAPI 内置的[安全工具](../security/index.md){.internal-link target=_blank}(详见下一章)。 /// ## 依赖项错误和返回值 路径装饰器依赖项也可以使用普通的依赖项*函数*。 ### 依赖项的需求项 路径装饰器依赖项可以声明请求的需求项(比如响应头)或其他子依赖项: {* ../../docs_src/dependencies/tutorial006.py hl[6,11] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/crypto/sse.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "context" "errors" "fmt" "io" "net/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" "github.com/minio/sio" ) const ( // SealAlgorithm is the encryption/sealing algorithm used to derive & seal // the key-encryption-key and to en/decrypt the object data.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
* limitations under the License. */ package okhttp3 import java.io.Closeable import java.io.EOFException import java.io.IOException import java.net.ProtocolException import okhttp3.internal.http1.HeadersReader import okio.Buffer import okio.BufferedSource import okio.ByteString.Companion.encodeUtf8 import okio.Options import okio.Source import okio.Timeout import okio.buffer /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 7.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
import okhttp3.CipherSuite.Companion.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 import okhttp3.CipherSuite.Companion.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 import okhttp3.internal.effectiveCipherSuites import okhttp3.internal.platform.Platform import okhttp3.testing.PlatformRule import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Sep 16 07:21:43 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertFailsWith
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/zh/docs/advanced/async-tests.md
`TestClient` 是基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a> 的。幸运的是,我们可以直接使用它来测试API。 ## 示例 举个简单的例子,让我们来看一个[更大的应用](../tutorial/bigger-applications.md){.internal-link target=_blank}和[测试](../tutorial/testing.md){.internal-link target=_blank}中描述的类似文件结构: ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 文件 `main.py` 将包含: {* ../../docs_src/async_tests/main.py *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 17 21:49:06 GMT 2024 - 3.9K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "net/http" "testing" "time" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) // TestParseRestoreObjStatus tests parseRestoreObjStatus func TestParseRestoreObjStatus(t *testing.T) { testCases := []struct { restoreHdr string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0) -
cmd/metrics-realtime.go
package cmd import ( "context" "fmt" "net/http" "strings" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/disk" "github.com/minio/minio/internal/net" c "github.com/shirou/gopsutil/v3/cpu" "github.com/shirou/gopsutil/v3/load" ) type collectMetricsOpts struct { hosts map[string]struct{} disks map[string]struct{} jobID string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/healthcheck-handler.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "net/http" "strconv" "time" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/kms" ) const unavailable = "offline" func checkHealth(w http.ResponseWriter) ObjectLayer { objLayer := newObjectLayerFn() if objLayer == nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 26 07:44:34 GMT 2024 - 6.9K bytes - Click Count (0)