Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,773 for spring (0.12 sec)

  1. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/strings/strings.go

    		return b.String()
    	}
    	return Map(unicode.ToLower, s)
    }
    
    // ToTitle returns a copy of the string s with all Unicode letters mapped to
    // their Unicode title case.
    func ToTitle(s string) string { return Map(unicode.ToTitle, s) }
    
    // ToUpperSpecial returns a copy of the string s with all Unicode letters mapped to their
    // upper case using the case mapping specified by c.
    func ToUpperSpecial(c unicode.SpecialCase, s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/scoring.go

    			base.Debug.InlScoreAdj, err)
    	}
    }
    
    func adjStringToVal(s string) (scoreAdjustTyp, bool) {
    	for adj := scoreAdjustTyp(1); adj < sentinelScoreAdj; adj <<= 1 {
    		if adj.String() == s {
    			return adj, true
    		}
    	}
    	return 0, false
    }
    
    func parseScoreAdj(val string) error {
    	clauses := strings.Split(val, "/")
    	if len(clauses) == 0 {
    		return fmt.Errorf("no clauses")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // preScoreStateKey is the key in CycleState to InterPodAffinity pre-computed data for Scoring.
    const preScoreStateKey = "PreScore" + Name
    
    type scoreMap map[string]map[string]int64
    
    // preScoreState computed at PreScore and used at Score.
    type preScoreState struct {
    	topologyScore scoreMap
    	podInfo       *framework.PodInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	if !ok {
    		ln.Close()
    		return nil, 0, fmt.Errorf("invalid listen address: %q", ln.Addr().String())
    	}
    
    	return ln, tcpAddr.Port, nil
    }
    
    type multipleControls []func(network, addr string, conn syscall.RawConn) error
    
    func (mcs multipleControls) Control(network, addr string, conn syscall.RawConn) error {
    	for _, c := range mcs {
    		if err := c(network, addr, conn); err != nil {
    			return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    const invalidScore = -1
    
    // preScoreState computed at PreScore and used at Score.
    // Fields are exported for comparison during testing.
    type preScoreState struct {
    	Constraints []topologySpreadConstraint
    	// IgnoredNodes is a set of node names which miss some Constraints[*].topologyKey.
    	IgnoredNodes sets.Set[string]
    	// TopologyPairToPodCounts is keyed with topologyPair, and valued with the number of matching pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. src/fmt/print.go

    func Printf(format string, a ...any) (n int, err error) {
    	return Fprintf(os.Stdout, format, a...)
    }
    
    // Sprintf formats according to a format specifier and returns the resulting string.
    func Sprintf(format string, a ...any) string {
    	p := newPrinter()
    	p.doPrintf(format, a)
    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/template.go

    	}
    	return proto.Message(pc)
    }
    
    func toJSONMap(mps ...map[string]string) string {
    	data, err := json.Marshal(mergeMaps(mps...))
    	if err != nil {
    		return ""
    	}
    	return string(data)
    }
    
    func omit(dict map[string]string, keys ...string) map[string]string {
    	res := map[string]string{}
    
    	omit := make(map[string]bool, len(keys))
    	for _, k := range keys {
    		omit[k] = true
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. tools/docker-builder/types.go

    	SupportsEmulation bool
    	NoClobber         bool
    	NoCache           bool
    	Targets           []string
    	Variants          []string
    	Architectures     []string
    	BaseVersion       string
    	BaseImageRegistry string
    	ProxyVersion      string
    	ZtunnelVersion    string
    	IstioVersion      string
    	Tags              []string
    	Hubs              []string
    	// Suffix on artifacts, used for multi-arch images where we cannot use manifests
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. pkg/log/scope.go

    //
    // Scope names cannot include colons, commas, or periods.
    func RegisterScope(name string, description string) *Scope {
    	// We only allow internal callers to set callerSkip
    	return registerScope(name, description, 0)
    }
    
    func registerScope(name string, description string, callerSkip int) *Scope {
    	if strings.ContainsAny(name, ":,.") {
    		panic(fmt.Sprintf("scope name %s is invalid, it cannot contain colons, commas, or periods", name))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top