- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of about 10,000 for stringy (0.09 sec)
-
src/mime/multipart/multipart_test.go
` testBody = strings.ReplaceAll(testBody, "\n", sep) return strings.Replace(testBody, "[longline]", longLine, 1) } func TestMultipart(t *testing.T) { bodyReader := strings.NewReader(testMultipartBody("\r\n")) testMultipart(t, bodyReader, false) } func TestMultipartOnlyNewlines(t *testing.T) { bodyReader := strings.NewReader(testMultipartBody("\n")) testMultipart(t, bodyReader, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 30.4K bytes - Viewed (0) -
cmd/postpolicyform.go
checkHeader := map[string][]string{} ignoreKeys := map[string]bool{} for key, value := range formValues { switch { case ignoreKeys[key], postPolicyIgnoreKeys[key], strings.HasPrefix(key, encrypt.SseGenericHeader): continue case strings.HasPrefix(key, "X-Amz-Ignore-"): ignoreKey := strings.Replace(key, "X-Amz-Ignore-", "", 1) ignoreKeys[ignoreKey] = true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 10:52:41 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc
** The strings `rc`, `snapshot`, `final`, `ga`, `release` and `sp` are considered **higher** than any other string part (sorted in this order): `1.0-zeta` < `1.0-rc` < `1.0-snapshot` < `1.0-final` < `1.0-ga` < `1.0-release` < `1.0-sp` < `1.0`. ** These special values are **NOT case sensitive**, as opposed to regular string parts and they do not depend on the separator used around them: `1.0-RC-1` == `1.0.rc.1`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:46:26 UTC 2024 - 6.5K bytes - Viewed (0) -
src/compress/flate/dict_decoder_test.go
writeCopy(len(abc), 59*len(abc)) want.WriteString(strings.Repeat(abc, 60)) writeString(fox) writeCopy(len(fox), 9*len(fox)) want.WriteString(strings.Repeat(fox, 10)) writeString(".") writeCopy(1, 9) want.WriteString(strings.Repeat(".", 10)) writeString(strings.ToUpper(poem)) writeCopy(len(poem), 7*len(poem)) want.WriteString(strings.Repeat(strings.ToUpper(poem), 8)) writeCopy(dd.histSize(), 10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 28 10:36:01 UTC 2016 - 4.4K bytes - Viewed (0) -
operator/pkg/compare/compare.go
hash[i] = ".*" } } return regexp.Compile(strings.Join(hash, ":")) } // manifestDiff an internal function to compare the manifests difference specified in the input. func manifestDiff(aom, bom map[string]*object.K8sObject, im map[string]string, verbose bool) (string, error) { var sb strings.Builder out := make(map[string]string) for ak, av := range aom { ay, err := av.YAML() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
// there is no possibility of strings from the crash report (which may // contain PII) leaking into the telemetry system. // // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.) func parseStackPCs(crash string) ([]uintptr, error) { // getPC parses the PC out of a line of the form: // \tFILE:LINE +0xRELPC sp=... fp=... pc=... getPC := func(line string) (uint64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/go/ast/print_test.go
// the concatenated non-empty lines. func trim(s string) string { lines := strings.Split(s, "\n") i := 0 for _, line := range lines { line = strings.TrimSpace(line) if line != "" { lines[i] = line i++ } } return strings.Join(lines[0:i], "\n") } func TestPrint(t *testing.T) { var buf strings.Builder for _, test := range tests { buf.Reset()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:35:30 UTC 2022 - 1.8K bytes - Viewed (0) -
src/runtime/testdata/testprog/traceback_ancestors.go
for { n := runtime.Stack(buf, true) if n < len(buf) { all := string(buf[:n]) var saved string // Delete any ignored goroutines, if present. for all != "" { var g string g, all, _ = strings.Cut(all, "\n\n") if strings.HasPrefix(g, "goroutine ") { id, _, _ := strings.Cut(strings.TrimPrefix(g, "goroutine "), " ") if ignoreGoroutines[id] { continue } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 17:14:59 UTC 2022 - 2.1K bytes - Viewed (0) -
src/syscall/mkasm.go
} in := string(in1) + string(in2) + string(in3) trampolines := map[string]bool{} var out bytes.Buffer fmt.Fprintf(&out, "// go run mkasm.go %s\n", strings.Join(os.Args[1:], " ")) fmt.Fprintf(&out, "// Code generated by the command above; DO NOT EDIT.\n") fmt.Fprintf(&out, "#include \"textflag.h\"\n") for _, line := range strings.Split(in, "\n") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 03:24:15 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/fix/main.go
os.Exit(exitCode) } sort.Sort(byDate(fixes)) if *allowedRewrites != "" { allowed = make(map[string]bool) for _, f := range strings.Split(*allowedRewrites, ",") { allowed[f] = true } } if *forceRewrites != "" { force = make(map[string]bool) for _, f := range strings.Split(*forceRewrites, ",") { force[f] = true } } if flag.NArg() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0)