Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Pairing (0.14 sec)

  1. cmd/typed-errors.go

    // error returned by disks which are to be initialized are waiting for the
    // first server to initialize them in distributed set to initialize them.
    var errNotFirstDisk = errors.New("Not first drive")
    
    // error returned by first disk waiting to initialize other servers.
    var errFirstDiskWait = errors.New("Waiting on other drives")
    
    // error returned for a negative actual size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    	flag.DurationVar(&margin, "margin", 0, "margin time")
    	flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/leak-detect_test.go

    }
    
    // DetectLeak - Creates a snapshot of runtime stack and compares it with the initial stack snapshot.
    func (initialSnapShot LeakDetect) DetectLeak(t TestErrHandler) {
    	if t.Failed() {
    		return
    	}
    	// Loop, waiting for goroutines to shut down.
    	// Wait up to 5 seconds, but finish as quickly as possible.
    	deadline := UTCNow().Add(leakDetectDeadline * time.Second)
    	for {
    		// get sack snapshot of relevant go routines.
    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)
  4. cni/pkg/nodeagent/server_test.go

    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ambientPods)
    	return args.Error(0)
    }
    
    // Custom "wait group with timeout" for waiting for fakeServer calls in a goroutine to finish
    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    		done: make(chan struct{}),
    	}
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    			continue
    		}
    		c.reconnectMu.Lock()
    		remoteUUID := uuid.UUID(r.ID)
    		if c.remoteID != nil {
    			c.reconnected()
    		}
    		c.remoteID = &remoteUUID
    		if debugPrint {
    			fmt.Println(c.Local, "Connected Waiting for Messages")
    		}
    		// Handle messages...
    		c.handleMessages(c.ctx, conn)
    		// Reconnect unless we are shutting down (debug only).
    		if c.State() == StateShutdown {
    			conn.Close()
    			return
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/api-router.go

    	// ListBuckets
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// S3 browser with signature v4 adds '//' for ListBuckets request, so rather
    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    				if !s.IsLocal() {
    					for {
    						if s.IsOnline() {
    							break
    						}
    						time.Sleep(100 * time.Millisecond)
    						if time.Since(t) > 10*time.Second {
    							return nil, nil, errors.New("timeout waiting for disk to come online")
    						}
    					}
    				}
    			}
    		}
    	}
    
    	return obj, fsDirs, nil
    }
    
    func prepareErasure16(ctx context.Context) (ObjectLayer, []string, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    		n = tw
    	}
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	t.objAPI = objAPI
    	t.updateWorkers(n)
    }
    
    // PendingTasks returns the number of ILM transition tasks waiting for a worker
    // goroutine.
    func (t *transitionState) PendingTasks() int {
    	return len(t.transitionCh)
    }
    
    // ActiveTasks returns the number of active (ongoing) ILM transition tasks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig.go

    		if err == nil {
    			break
    		}
    		installLog.Warnf("Istio CNI is configured as chained plugin, but cannot find existing CNI network config: %v", err)
    		installLog.Infof("Waiting for CNI network config file to be written in %v...", cfg.mountedCNINetDir)
    		if err := watcher.Wait(ctx); err != nil {
    			return "", err
    		}
    	}
    
    	cniConfigFilepath := filepath.Join(cfg.mountedCNINetDir, filename)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/metacache-server-pool.go

    				// No cache found, no entries found.
    				return entries, io.EOF
    			}
    			if c.status == scanStateError || c.status == scanStateNone {
    				o.ID = ""
    				o.Create = false
    				o.debugln("scan status", c.status, " - waiting a roundtrip to create")
    			} else {
    				// Continue listing
    				o.ID = c.id
    				go func(meta metacache) {
    					// Continuously update while we wait.
    					t := time.NewTicker(metacacheMaxClientWait / 10)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top