- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,036 for stringy (0.1 sec)
-
pilot/pkg/security/authz/matcher/string.go
case v == "*": return StringMatcherRegex(".+") case strings.HasPrefix(v, "*"): if prefix == "" { return StringMatcherSuffix(strings.TrimPrefix(v, "*"), false) } return StringMatcherRegex(prefix + ".*" + strings.TrimPrefix(v, "*")) case strings.HasSuffix(v, "*"): return StringMatcherPrefix(prefix+strings.TrimSuffix(v, "*"), false) default: return StringMatcherExact(prefix+v, false) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.5K bytes - Viewed (0) -
src/internal/stringslite/strings.go
} return s[:len(s)-len(suffix)], true } func TrimPrefix(s, prefix string) string { if HasPrefix(s, prefix) { return s[len(prefix):] } return s } func TrimSuffix(s, suffix string) string { if HasSuffix(s, suffix) { return s[:len(s)-len(suffix)] } return s } func Clone(s string) string { if len(s) == 0 { return "" } b := make([]byte, len(s)) copy(b, s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
Run: run, } // describe returns a string describing the type typ contained within the type // set of inType. If non-empty, inName is used as the name of inType (this is // necessary so that we can use alias type names that may not be reachable from // inType itself). func describe(typ, inType types.Type, inName string) string { name := inName if typ != inType { name = typeName(typ) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h
#endif // Compares two C strings. Returns true iff they have the same content. // // Unlike strcmp(), this function can handle NULL argument(s). A // NULL C string is considered different to any non-NULL C string, // including the empty string. static bool CStringEquals(const char* lhs, const char* rhs); // Converts a wide C string to a String using the UTF-8 encoding.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.8K bytes - Viewed (0) -
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/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) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
} } return nil } func checkArguments(fields []string) error { for _, arg := range fields[1:] { for _, elem := range strings.Split(arg, ",") { if strings.HasPrefix(elem, "!!") { return fmt.Errorf("invalid double negative in build constraint: %s", arg) } elem = strings.TrimPrefix(elem, "!") for _, c := range elem {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
src/crypto/purego_test.go
} pkgs := strings.Split(strings.TrimSpace(string(out)), "\n") cmd = exec.Command(testenv.GoToolPath(t), "tool", "dist", "list") cmd.Stderr = os.Stderr out, err = cmd.Output() if err != nil { log.Fatalf("loading architecture list: %v\n%s", err, out) } allGOARCH := make(map[string]bool) for _, pair := range strings.Split(strings.TrimSpace(string(out)), "\n") { GOARCH := strings.Split(pair, "/")[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
String string = null; if (idx >= strings.length) { String[] grow = new String[strings.length * 3 / 2]; System.arraycopy(strings, 0, grow, 0, strings.length); strings = grow; } else { string = strings[idx]; } if (string == null) { string = input.readString(); strings[idx] = string;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0)