Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 853 for Avery (0.1 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py

        return client
    
    
    @needs_py39
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go

    		f(ctx)
    	})
    }
    
    // Start starts f in a new goroutine in the group.
    func (g *Group) Start(f func()) {
    	g.wg.Add(1)
    	go func() {
    		defer g.wg.Done()
    		f()
    	}()
    }
    
    // Forever calls f every period for ever.
    //
    // Forever is syntactic sugar on top of Until.
    func Forever(f func(), period time.Duration) {
    	Until(f, period, NeverStop)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/empty_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // All of the actual test files have limited build constraints. This file
    // ensures there's at least one test file on every platform.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 19:43:56 UTC 2023
    - 320 bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/asm_arm64_test.go

    	cmd.Env = append(os.Environ(), "GOOS=linux")
    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Errorf("Build failed: %v, output: %s", err, out)
    	}
    }
    
    // gen generates a very large program, with a very far conditional branch.
    func gen(buf *bytes.Buffer) {
    	fmt.Fprintln(buf, "TEXT f(SB),0,$0-0")
    	fmt.Fprintln(buf, "TBZ $5, R0, label")
    	fmt.Fprintln(buf, "CBZ R0, label")
    	fmt.Fprintln(buf, "BEQ label")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:46:11 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/README.md

    that generate the SavedModel. That leads to very compact test inputs.
    
    As the SavedModel work progresses, it's likely to be of interest to find a
    shortcut between the Python `tf.Module` and the SavedModel MLIR representation
    that doesn't involve serializing a SavedModel to disk and reading it back.
    
    ## Potential improvements
    
    The test iteration cycle for these tests is very long (usually over a minute).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 02 03:37:19 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/setgid2_linux.go

    	"runtime"
    	"testing"
    )
    
    func testSetgidStress(t *testing.T) {
    	const N = 50
    	ch := make(chan int, N)
    	for i := 0; i < N; i++ {
    		go func() {
    			C.setgid(0)
    			ch <- 1
    			runtime.LockOSThread() // so every goroutine uses a new thread
    		}()
    	}
    	for i := 0; i < N; i++ {
    		<-ch
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 681 bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/tests/perf_test.cc

      size_t i = 0;
      for (auto dummy : state) {
        sum = *callable.Call<Integer>(sum, Integer(i));
        i++;
      }
    }
    
    // Add numbers in a loop by calling a callable, looking up method every
    // time by tokenized string.
    void CallFunctionsIndirect(::testing::benchmark::State& state) {
      Integer sum(0);
      Callable callable((impl::TaggedValue(impl::Func(AddTagged))));
      Object o;
      String name("f");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseMultiModuleIntegrationTest.groovy

            assert deps.contains("/very-cool-model")
            assert deps.contains("/root-util")
            assert deps.contains("/shared-api")
            assert deps.contains("/services-util")
        }
    
        def assertApiProjectContainsCorrectDependencies() {
            def deps = parseEclipseProjectDependencies(project: 'api')
    
            assert deps.contains("/very-cool-model")
            assert deps.contains("/shared-api")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. docs/contribute/concurrency.md

    primary responsibility for any HTTP client is to efficiently manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py

    
    @needs_py310
    @needs_pydanticv2
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py310
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top