Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for skewY (0.1 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    // topology domain, the constraint's maxSkew and the topology weight.
    // `maxSkew-1` is added to the score so that differences between topology
    // domains get watered down, controlling the tolerance of the score to skews.
    func scoreForCount(cnt int64, maxSkew int32, tpWeight float64) float64 {
    	return float64(cnt)*tpWeight + float64(maxSkew-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    // This algorithm is taken from RFC 3492 section 6.2.
    func (rst *rustState) expandPunycode(s string) string {
    	const (
    		base        = 36
    		tmin        = 1
    		tmax        = 26
    		skew        = 38
    		damp        = 700
    		initialBias = 72
    		initialN    = 128
    	)
    
    	var (
    		output   []rune
    		encoding string
    	)
    	idx := strings.LastIndex(s, "_")
    	if idx >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    		}
    	}
    
    	// Set environment (GOOS, GOARCH, etc) explicitly.
    	// In theory all the commands we invoke should have
    	// the same default computation of these as we do,
    	// but in practice there might be skew
    	// This makes sure we all agree.
    	cfg.OrigEnv = toolchain.FilterEnv(os.Environ())
    	cfg.CmdEnv = envcmd.MkEnv()
    	for _, env := range cfg.CmdEnv {
    		if os.Getenv(env.Name) != env.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	finishAt, expireAt, err := getFinishAndExpireTime(j)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	if finishAt.After(*since) {
    		logger.Info("Warning: Found Job finished in the future. This is likely due to time skew in the cluster. Job cleanup will be deferred.", "job", klog.KObj(j))
    	}
    	remaining := expireAt.Sub(*since)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/config.go

    	// PeerAdvertiseAddress is the IP for this kube-apiserver which is used by peer apiservers to route a request
    	// to this apiserver. This happens in cases where the peer is not able to serve the request due to
    	// version skew. If unset, AdvertiseAddress/BindAddress will be used.
    	PeerAdvertiseAddress peerreconcilers.PeerAdvertiseAddress
    
    	ServiceAccountIssuer        serviceaccount.TokenGenerator
    	ServiceAccountMaxExpiration time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy.go

    		Message: "Scheduling is blocked due to non-empty scheduling gates",
    	})
    }
    
    // applyAppArmorVersionSkew implements the version skew behavior described in:
    // https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/24-apparmor#version-skew-strategy
    func applyAppArmorVersionSkew(ctx context.Context, pod *api.Pod) {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.AppArmorFields) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. security/pkg/pki/util/generate_cert.go

    	}
    
    	return cert, key, nil
    }
    
    // ClockSkewGracePeriod defines the period of time a certificate will be valid before its creation.
    // This is meant to handle cases where we have clock skew between the CA and workloads.
    const ClockSkewGracePeriod = time.Minute * 2
    
    // genCertTemplateFromCSR generates a certificate template with the given CSR.
    // The NotBefore value of the cert is set to current time.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/covdata/metamerge.go

    	val := mm.pod.pmm[key]
    	// FIXME: in theory either A) len(val.Counters) is zero, or B)
    	// the two lengths are equal. Assert if not? Of course, we could
    	// see odd stuff if there is source file skew.
    	if *verbflag > 4 {
    		fmt.Printf("visit pk=%d fid=%d len(counters)=%d\n", data.PkgIdx, data.FuncIdx, len(data.Counters))
    	}
    	if len(val.Counters) < len(data.Counters) {
    		t := val.Counters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. cmd/globals.go

    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    	// date and server date during signature verification.
    	globalMaxSkewTime = 15 * time.Minute // 15 minutes skew allowed.
    
    	// GlobalStaleUploadsExpiry - Expiry duration after which the uploads in multipart,
    	// tmp directory are deemed stale.
    	GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/loader.cc

    // `tensorflow::LoadSavedModel` API label.
    constexpr char kCCLoadLabel[] = "cc_load";
    
    uint64 GetLatencyMicroseconds(const uint64 start_microseconds) {
      const uint64 end_microseconds = EnvTime::NowMicros();
      // Avoid clock skew.
      if (end_microseconds < start_microseconds) return 0;
      return end_microseconds - start_microseconds;
    }
    
    // Ensure that constant tensors loaded from the saved model have valid shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top