Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Blank (0.12 sec)

  1. cmd/leak-detect_test.go

    // of leak checking. It excludes testing or runtime ones.
    func pickRelevantGoroutines() (gs []string) {
    	// get runtime stack buffer.
    	buf := debug.Stack()
    	// runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" .
    	for _, g := range strings.Split(string(buf), "\n\n") {
    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	ch := globalNotificationSys.DriveSpeedTest(ctx, opts)
    
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-keepAliveTicker.C:
    			// Write a blank entry to prevent client from disconnecting
    			if err := enc.Encode(madmin.DriveSpeedTestResult{}); err != nil {
    				return
    			}
    			w.(http.Flusher).Flush()
    		case result, ok := <-ch:
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top