Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for closeFn (0.47 sec)

  1. pkg/scheduler/schedule_one_test.go

    				return
    			}
    			if pods == 0 {
    				close(waitPodExpireChan)
    				return
    			}
    			time.Sleep(100 * time.Millisecond)
    		}
    	}()
    	// waiting for the assumed pod to expire
    	select {
    	case err := <-errChan:
    		t.Fatal(err)
    	case <-waitPodExpireChan:
    	case <-time.After(wait.ForeverTestTimeout):
    		close(timeout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

              range.lowerBoundType() == BoundType.CLOSED,
              range.upperEndpoint(),
              range.upperBoundType() == BoundType.CLOSED);
        } else if (range.hasLowerBound()) {
          return map.tailMap(range.lowerEndpoint(), range.lowerBoundType() == BoundType.CLOSED);
        } else if (range.hasUpperBound()) {
          return map.headMap(range.upperEndpoint(), range.upperBoundType() == BoundType.CLOSED);
        }
        return checkNotNull(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	go func() {
    		defer wg.Done()
    		pod, err := q.Pop(logger)
    		if err != nil {
    			t.Errorf("Expected nil err from Pop() if queue is closed, but got %q", err.Error())
    		}
    		if pod != nil {
    			t.Errorf("Expected pod nil from Pop() if queue is closed, but got: %v", pod)
    		}
    	}()
    	q.Close()
    	wg.Wait()
    }
    
    // TestRecentlyTriedPodsGoBack tests that pods which are recently tried and are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    		// (status was not updated within nodeReadyGracePeriod and the second argument below gets true),
    		// then we close the channel and abort the loop.
    		if kl.fastNodeStatusUpdate(ctx, kl.clock.Since(start) >= nodeReadyGracePeriod) {
    			close(stopCh)
    		}
    	}, 100*time.Millisecond, stopCh)
    }
    
    // CheckpointContainer tries to checkpoint a container. The parameters are used to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/asm6.go

    )
    
    const (
    	// Encoding for VEX prefix in tables.
    	// The P, L, and W fields are chosen to match
    	// their eventual locations in the VEX prefix bytes.
    
    	// Encoding for VEX prefix in tables.
    	// The P, L, and W fields are chosen to match
    	// their eventual locations in the VEX prefix bytes.
    
    	// Using spare bit to make leading [E]VEX encoding byte different from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    		if matchErr.Match.IsLiteral() {
    			// The error has a pattern has a pattern similar to the import path.
    			// It may be slightly different (./foo matching example.com/foo),
    			// but close enough to seem redundant.
    			// Unwrap the error so we don't show the pattern.
    			err = matchErr.Err
    		}
    	}
    
    	// Replace (possibly wrapped) *build.NoGoError with *load.NoGoError.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. samples/addons/grafana.yaml

    ({{pod}})"}],"title":"CPU Usage","type":"timeseries"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":9},"id":5,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"datasource","uid":"-- Mixed --"},"description":"Connections opened and closed per instance","fieldConfig":{"defaults":{"custom":{"fillOpacity":10,"gradientMode":"hue","showPoints":"never"},"unit":"cps"}},"gridPos":{"h":8,"w":8,"x":0,"y":10},"id":6,"interval":"5s","options":{"legend":{"calcs":["last","max"],"displayMode":"t...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure-helper.sh

      local devel=""
      if [[ "${gitref}" != "${version}" ]]; then
        devel="
    Note: This looks like a development version, which might not be present on GitHub.
    If it isn't, the closest tag is at:
      https://github.com/kubernetes/kubernetes/tree/${gitref}
    "
        gitref="${version//*+/}"
      fi
      cat > /etc/motd <<EOF
    
    Welcome to Kubernetes ${version}!
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

       * and accesses that were performed on the map. The queue is drained on writes and when it exceeds
       * its capacity threshold.
       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    // main_init_done is a signal used by cgocallbackg that initialization
    // has been completed. It is made before _cgo_notify_runtime_init_done,
    // so all cgo calls can rely on it existing. When main_init is complete,
    // it is closed, meaning cgocallbackg can reliably receive from it.
    var main_init_done chan bool
    
    //go:linkname main_main main.main
    func main_main()
    
    // mainStarted indicates that the main M has started.
    var mainStarted bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top