- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 62 for clen (0.04 sec)
-
src/net/http/request.go
const prefix = "Basic " // Case insensitive prefix match. See Issue 22736. if len(auth) < len(prefix) || !ascii.EqualFold(auth[:len(prefix)], prefix) { return "", "", false } c, err := base64.StdEncoding.DecodeString(auth[len(prefix):]) if err != nil { return "", "", false } cs := string(c) username, password, ok = strings.Cut(cs, ":") if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
src/cmd/dist/test.go
// will always include at least one package. func (opts *goTest) packages() []string { pkgs := opts.pkgs if opts.pkg != "" { pkgs = append(pkgs[:len(pkgs):len(pkgs)], opts.pkg) } if len(pkgs) == 0 { panic("no packages") } return pkgs } // printSkip prints a skip message for all of goTest. func (opts *goTest) printSkip(t *tester, msg string) { if t.json {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
pkg/kubelet/pod_workers.go
Static bool } // podWork is the internal changes type podWork struct { // WorkType is the type of sync to perform - sync (create), terminating (stop // containers), terminated (clean up and write status). WorkType PodWorkerState // Options contains the data to sync. Options UpdatePodOptions } // PodWorkers is an abstract interface for testability. type PodWorkers interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/encoding/json/decode_test.go
// as an RFC 3339 time in UTC. type Time3339 time.Time func (t *Time3339) UnmarshalJSON(b []byte) error { if len(b) < 2 || b[0] != '"' || b[len(b)-1] != '"' { return fmt.Errorf("types: failed to unmarshal non-string value %q as an RFC 3339 time", b) } tm, err := time.Parse(time.RFC3339, string(b[1:len(b)-1])) if err != nil { return err } *t = Time3339(tm) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/options_test.go
t.Run(tc.name, func(t *testing.T) { errs := tc.options.Validate() if len(errs) > 0 && !tc.expectErrors { t.Errorf("expected no errors, errors found %+v", errs) } if len(errs) == 0 && tc.expectErrors { t.Errorf("expected errors, no errors found") } if len(errs) > 0 && tc.expectErrors { gotErr := utilerrors.NewAggregate(errs).Error()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
func matchPrefix(s, prefix string) bool { i := strings.Index(s, ":") if i < 0 { return false } j := strings.LastIndex(s[:i], "/") s = s[j+1:] if len(s) <= len(prefix) || s[:len(prefix)] != prefix { return false } switch s[len(prefix)] { case '[', ':': return true } return false } func partitionStrings(prefix string, strs []string) (matched, unmatched []string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
if len(newUncounted) != len(uncountedStatus.Succeeded) { updated = true status.Succeeded += int32(len(uncountedStatus.Succeeded) - len(newUncounted)) uncountedStatus.Succeeded = newUncounted } newUncounted = filterInUncountedUIDs(uncountedStatus.Failed, uidsWithFinalizer) if len(newUncounted) != len(uncountedStatus.Failed) { updated = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
} r.buildList = mg.BuildList() r.buildListVersion = make(map[string]string, len(r.buildList)) for _, m := range r.buildList { r.buildListVersion[m.Path] = m.Version } return true } func reqsFromGoMod(f *modfile.File) []module.Version { reqs := make([]module.Version, len(f.Require), 2+len(f.Require)) for i, r := range f.Require { reqs[i] = r.Mod } if f.Go != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
tar xzvf $tmp_dir\$filename -C $tmp_dir Move-Item -Force $tmp_dir\kubernetes\node\bin\* ${env:NODE_DIR}\ Move-Item -Force ` $tmp_dir\kubernetes\LICENSES ${env:LICENSE_DIR}\LICENSES_kubernetes # Clean up the temporary directory Remove-Item -Force -Recurse $tmp_dir } # Downloads the csi-proxy binaries from kube-env's CSI_PROXY_STORAGE_PATH and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0)