Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 282 for drain1 (0.18 sec)

  1. internal/http/close.go

    package http
    
    import (
    	"io"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    // DrainBody close non nil response with any response Body.
    // convenient wrapper to drain any remaining data on response body.
    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/mgclimit_test.go

    			t.Fatalf("expected fill of %d, got %d cpu-ns", expect, l.Fill())
    		}
    
    		// Test passing time without assists during a GC. Specifically, just enough to drain the bucket to
    		// exactly procs nanoseconds (easier to get to because of rounding).
    		//
    		// The window we need to drain the bucket is 1/(1-2*gcBackgroundUtilization) times the current fill:
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 16:02:20 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. releasenotes/notes/31403.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    issue:
      - 31403
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 12 03:01:25 UTC 2021
    - 178 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/objective-cpp/groovy/src/main/objcpp/main.mm

    int main (int argc, const char * argv[])
    {
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    
        Greeter *greeter = [Greeter new];
        [greeter sayHello];
        [greeter release];
    
        [pool drain];
    
        return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 249 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/objective-c/groovy/src/main/objc/main.m

    int main (int argc, const char * argv[])
    {
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    
        Greeter *greeter = [Greeter new];
        [greeter sayHello];
        [greeter release];
    
        [pool drain];
    
        return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 249 bytes
    - Viewed (0)
  6. pkg/envoy/proxy.go

    	if network.AllIPv6(e.NodeIPs) {
    		proxyLocalAddressType = "v6"
    	}
    	startupArgs := []string{
    		"-c", fname,
    		"--drain-time-s", fmt.Sprint(int(e.DrainDuration.AsDuration().Seconds())),
    		"--drain-strategy", "immediate", // Clients are notified as soon as the drain process starts.
    		"--local-address-ip-version", proxyLocalAddressType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/kube/krt/bench_test.go

    	v++
    	v3 := byte(v & 0xFF)
    	v2 := byte((v >> 8) & 0xFF)
    	v1 := byte((v >> 16) & 0xFF)
    	v0 := byte((v >> 24) & 0xFF)
    	nextIP = net.IPv4(v0, v1, v2, v3)
    	return ret
    }
    
    func drainN(c chan string, n int) {
    	for n > 0 {
    		n--
    		<-c
    	}
    }
    
    func BenchmarkControllers(b *testing.B) {
    	log.FindScope("krt").SetOutputLevel(log.InfoLevel)
    	watch.DefaultChanSize = 100_000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. docs/contribute/concurrency.md

    #### Shared reader thread
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  9. pkg/envoy/proxy_test.go

    		t.Errorf("unexpected struct got\n%v\nwant\n%v", testProxy, test)
    	}
    
    	got := test.args("test.json", "testdata/bootstrap.json")
    	want := []string{
    		"-c", "test.json",
    		"--drain-time-s", "45",
    		"--drain-strategy", "immediate",
    		"--local-address-ip-version", "v4",
    		"--file-flush-interval-msec", "1000",
    		"--disable-hot-restart",
    		"--allow-unknown-static-fields",
    		"-l", "trace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 11:45:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    			select {
    			case currentGlobalBuffer <- v:
    			default:
    			}
    		}
    
    		if mainWorker {
    		drain:
    			for {
    				select {
    				case v, ok := <-h.logCh:
    					if !ok {
    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    				}
    			}
    		}
    	}()
    
    	var entry interface{}
    	var ok bool
    	var err error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top