- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of about 10,000 for String4 (0.12 sec)
-
src/cmd/go/main.go
if used >= len(os.Args) { return } var dir string switch a := os.Args[used]; { default: return case a == "-C", a == "--C": if used+1 >= len(os.Args) { return } dir = os.Args[used+1] os.Args = slices.Delete(os.Args, used, used+2) case strings.HasPrefix(a, "-C="), strings.HasPrefix(a, "--C="): _, dir, _ = strings.Cut(a, "=") os.Args = slices.Delete(os.Args, used, used+1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/module/pseudo.go
Version: v, Pseudo: true, Err: errPseudoSyntax, } } build = semver.Build(v) v = strings.TrimSuffix(v, build) j := strings.LastIndex(v, "-") v, rev = v[:j], v[j+1:] i := strings.LastIndex(v, "-") if j := strings.LastIndex(v, "."); j > i { base = v[:j] // "vX.Y.Z-pre.0" or "vX.Y.(Z+1)-0" timestamp = v[j+1:] } else { base = v[:i] // "vX.0.0" timestamp = v[i+1:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/BUILD
#include "third_party/absl/strings/str_cat.h" #Description: # TensorFlow SavedModel. load("//tensorflow:strict.default.bzl", "py_strict_binary") load( "//tensorflow:tensorflow.bzl", "if_android", "if_google", "if_mobile", "if_not_mobile", "if_not_windows_or_mac", "tf_cc_test", ) load("//tensorflow:tensorflow.default.bzl", "filegroup") load( "//tensorflow/core/platform:build_config_root.bzl",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 05:43:44 UTC 2024 - 18.5K bytes - Viewed (0) -
src/cmd/go/internal/run/run.go
// as a package path, since there can be only one package. func shouldUseOutsideModuleMode(args []string) bool { // NOTE: "@" not allowed in import paths, but it is allowed in non-canonical // versions. return len(args) > 0 && !strings.HasSuffix(args[0], ".go") && !strings.HasPrefix(args[0], "-") && strings.Contains(args[0], "@") && !build.IsLocalImport(args[0]) && !filepath.IsAbs(args[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/util/taints/taints.go
func parseTaint(st string) (v1.Taint, error) { var taint v1.Taint var key string var value string var effect v1.TaintEffect parts := strings.Split(st, ":") switch len(parts) { case 1: key = parts[0] case 2: effect = v1.TaintEffect(parts[1]) if err := validateTaintEffect(effect); err != nil { return taint, err } partsKV := strings.Split(parts[0], "=") if len(partsKV) > 2 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 09:23:35 UTC 2022 - 8.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/asan_test.go
!strings.Contains(out, noSymbolizer) && compilerSupportsLocation() { t.Errorf("%#q exited without expected location of the error\n%s; got failure\n%s", strings.Join(cmd.Args, " "), tc.errorLocation, out) } return } t.Fatalf("%#q exited without expected memory access error\n%s; got failure\n%s", strings.Join(cmd.Args, " "), tc.memoryAccessError, out) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/apis/authorization/validation/validation_test.go
} for _, successCase := range successCases { if errs := ValidateSubjectAccessReviewSpec(successCase, field.NewPath("spec")); len(errs) != 0 { t.Errorf("expected success: %v", errs) } } errorCases := []struct { name string obj authorizationapi.SubjectAccessReviewSpec msg string }{{ name: "neither request",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go
return true } rulePrefix := strings.TrimSuffix(rulePath, "*") if !strings.HasSuffix(rulePrefix, "/") { rulePrefix = rulePrefix + "/" } if strings.HasPrefix(requestPath, rulePrefix) { return true } } return false } func matchPolicyRuleAPIGroup(policyRuleAPIGroups []string, requestAPIGroup string) bool { return containsString(requestAPIGroup, policyRuleAPIGroups, flowcontrol.APIGroupAll) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 6.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%#q: %v:\n%s", strings.Join(cmd.Args, " "), err, out) } i, err := strconv.Atoi(strings.TrimSpace(string(out))) if err != nil { t.Fatalf("long_double_size.go printed invalid size: %s", out) } return i } func TestReportsTypeErrors(t *testing.T) { for _, file := range []string{ "err1.go", "err2.go", "err5.go", "issue11097a.go",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/util/stats.go
if err != nil { return nil, false, err } if !strings.Contains(stats.String(), "server.state") { return nil, false, fmt.Errorf("server.state is not yet updated: %s", stats.String()) } if !strings.Contains(stats.String(), "listener_manager.workers_started") { return nil, false, fmt.Errorf("listener_manager.workers_started is not yet updated: %s", stats.String()) } s := &Stats{} allStats := []*stat{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 21 15:50:49 UTC 2022 - 4.8K bytes - Viewed (0)