- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 1,840 for theme (0.05 sec)
-
tests/test_tutorial/test_additional_responses/test_tutorial003.py
client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"id": "foo", "value": "there goes my hero"} def test_path_operation_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.text assert response.json() == {"message": "Item not found"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 4.5K bytes - Viewed (0) -
build-logic-commons/settings.gradle.kts
the<JavaPluginExtension>().toolchain { // if you change this java version please also consider changing .idea/misc.xml#project/component(@project-jdk-name} // Also, there are a lot of other places this should be changed. languageVersion = JavaLanguageVersion.of(17) vendor = JvmVendorSpec.ADOPTIUM } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 06:19:29 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
SIP_HASH24(Hashing.sipHash24()), FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()), // Hash functions found in //javatests for comparing against current implementation of CityHash. // These can probably be removed sooner or later. ; private final HashFunction hashFunction; private HashFunctionEnum(HashFunction hashFunction) { this.hashFunction = hashFunction; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/RuntimeCIFSException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Base for all checked exceptions used by this library * * * These should only occur under very rare circumstances. * * @author mbechler * */ public class RuntimeCIFSException extends RuntimeException { /** * */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial002.py
def test_get_item_not_found_header(): response = client.get("/items-header/bar") assert response.status_code == 404, response.text assert response.headers.get("x-error") == "There goes my error" assert response.json() == {"detail": "Item not found"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
common/scripts/lint_go.sh
# # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". # Copyright Istio Authors # # Licensed under the Apache License, Version 2.0 (the "License");
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 26 21:57:53 UTC 2022 - 1.2K bytes - Viewed (0) -
README.md
![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg) *Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attribution license][cc4-by].* Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file. ### Download and Install
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jul 22 17:45:27 UTC 2024 - 1.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}} client := kube.NewFakeClient(ns, pod) // We are expecting at most 1 calls to the mock, wait for them wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} fs.On("AddPodToMesh", ctx, mock.IsType(pod), util.GetPodIPsIfPresent(pod), "", ).Return(nil)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
TF_AddInput(desc, {zero, 0}); TF_AddInput(desc, {input, 0}); TF_SetAttrInt(desc, "num_split", 3); TF_SetAttrType(desc, "T", TF_INT32); // Set device to CPU since there is no version of split for int32 on GPU // TODO(iga): Convert all these helpers and tests to use floats because // they are usually available on GPUs. After doing this, remove TF_SetDevice // call in c_api_function_test.cc TF_SetDevice(desc, "/cpu:0");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0)