- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for stringy (0.24 sec)
-
clause/where.go
if e, ok := v.Exprs[0].(Expr); ok { sql := strings.ToUpper(e.SQL) wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace) } } case AndConditions: if len(v.Exprs) == 1 { if e, ok := v.Exprs[0].(Expr); ok { sql := strings.ToUpper(e.SQL) wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace) } } case Expr:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 5.1K bytes - Viewed (0) -
src/mime/quotedprintable/writer_test.go
want: strings.Repeat("a", 74) + "=\r\n=3D", }, { in: strings.Repeat("a", 75) + "=", want: strings.Repeat("a", 75) + "=\r\n=3D", }, { in: strings.Repeat(" ", 73), want: strings.Repeat(" ", 72) + "=20", }, { in: strings.Repeat(" ", 74), want: strings.Repeat(" ", 73) + "=\r\n=20", }, { in: strings.Repeat(" ", 75), want: strings.Repeat(" ", 74) + "=\r\n=20",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 5.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/chdir.txt
# go test go test -C ../strings -n stderr 'strings\.test' # go vet go vet -C ../strings -n stderr strings_test # -C must be first on command line (as of Go 1.21) ! go test -n -C ../strings stderr '^invalid value "../strings" for flag -C: -C flag must be first flag on command line$' -- custom/go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 744 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
// incorrectly flag "comments" inside multiline // string constants or anything else (this might // not even be a Go program). So stop. break } } } func (check *checker) comment(pos token.Pos, text string) { if strings.HasPrefix(text, "//") { if strings.Contains(text, "+build") { check.plusBuildLine(pos, text) } if strings.Contains(text, "//go:build") { check.goBuildLine(pos, text)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_gopath_issue11409.txt
package main import ( "fmt" "os" "os/exec" "path/filepath" "strings" ) func changeVolume(s string, f func(s string) string) string { vol := filepath.VolumeName(s) return f(vol) + s[len(vol):] } func main() { gopath := changeVolume(os.Args[1], strings.ToLower) dir := changeVolume(os.Args[2], strings.ToUpper) cmd := exec.Command("go", "run", "hello.go") cmd.Dir = dir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 982 bytes - Viewed (0) -
cmd/signature-v4-parser.go
func parseCredentialHeader(credElement string, region string, stype serviceType) (ch credentialHeader, aec APIErrorCode) { creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2) if len(creds) != 2 { return ch, ErrMissingFields } if creds[0] != "Credential" { return ch, ErrMissingCredTag } credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/go/printer/comment.go
kind = "//" var b strings.Builder for _, c := range list { after, found := strings.CutPrefix(c.Text, "//") if !found { return list } // Accumulate //go:build etc lines separately. if isDirective(after) { directives = append(directives, c) continue } b.WriteString(strings.TrimPrefix(after, " ")) b.WriteString("\n") } text = b.String()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 07:35:19 UTC 2022 - 3.5K bytes - Viewed (0) -
src/cmd/go/internal/str/str.go
if 'A' <= r && r <= 'Z' { r += 'a' - 'A' } b.WriteRune(r) } return b.String() } // FoldDup reports a pair of strings from the list that are // equal according to strings.EqualFold. // It returns "", "" if there are no such strings. func FoldDup(list []string) (string, string) { clash := map[string]string{} for _, s := range list { fold := ToFold(s) if t := clash[fold]; t != "" { if s > t {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 20:08:07 UTC 2024 - 2.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
}, { // case 1 Args: strings.Split("-f missing.yaml", " "), ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`), WantException: true, }, { // case 2 Args: strings.Split( "--meshConfigFile testdata/mesh-config.yaml"+ " --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello.yaml"+ " --valuesFile testdata/inject-values.yaml", " "),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
type execTestCase struct { args []string revision string noIstiod bool // Typically use one of the three expectedOutput string // Expected constant output expectedString string // String output is expected to contain wantException bool } func TestProxyStatus(t *testing.T) { cases := []execTestCase{ { // case 0, with no Isitod instance args: []string{}, noIstiod: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0)