Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,181 for Avery (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/net/http/client.go

    	CheckRedirect func(req *Request, via []*Request) error
    
    	// Jar specifies the cookie jar.
    	//
    	// The Jar is used to insert relevant cookies into every
    	// outbound Request and is updated with the cookie values
    	// of every inbound Response. The Jar is consulted for every
    	// redirect that the Client follows.
    	//
    	// If Jar is nil, cookies are only sent if they are explicitly
    	// set on the Request.
    	Jar CookieJar
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/net/http/internal/chunked.go

    		return
    	}
    	// A sender who sends one byte per chunk will send 5 bytes of overhead
    	// for every byte of data. ("1\r\nX\r\n" to send "X".)
    	// We want to allow this, since streaming a byte at a time can be legitimate.
    	//
    	// A sender can use chunk extensions to add arbitrary amounts of additional
    	// data per byte read. ("1;very long extension\r\nX\r\n" to send "X".)
    	// We don't want to disallow extensions (although we discard them),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/runtime/mcentral.go

    	// spans, and one of unswept in-use spans. These two trade
    	// roles on each GC cycle. The unswept set is drained either by
    	// allocation or by the background sweeper in every GC cycle,
    	// so only two roles are necessary.
    	//
    	// sweepgen is increased by 2 on each GC cycle, so the swept
    	// spans are in partial[sweepgen/2%2] and the unswept spans are in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. src/go/doc/testdata/examples/import_groups_named.go

    	tm "time"
    
    	r "golang.org/x/time/rate"
    )
    
    func Example() {
    	fmt.Println("Hello, world!")
    	// Output: Hello, world!
    }
    
    func ExampleLimiter() {
    	// Uses fmt, time and rate.
    	l := r.NewLimiter(r.Every(tm.Second), 1)
    	fmt.Println(l)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 426 bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy

    
            when:
            map.put(key1, "Foo")
            map.put(key2, "Bar")
    
            then:
            map.keySet().every { it.get() != null }
    
            when:
            key1 = null
            key2 = null
    
            then:
            waitForConditionAfterGC { map.keySet().every { it.get() == null } }
        }
    
        def "weakKey is doesn't keep strong reference at referent"() {
            Thing referent = new Thing("thing")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top