- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,692 for spring (1.06 sec)
-
src/log/slog/value.go
return v.time() default: panic(fmt.Sprintf("bad kind: %s", v.Kind())) } } // String returns Value's value as a string, formatted like [fmt.Sprint]. Unlike // the methods Int64, Float64, and so on, which panic if v is of the // wrong kind, String never panics. func (v Value) String() string { if sp, ok := v.any.(stringptr); ok { return unsafe.String(sp, v.num) } var buf []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/encoding/json/encode_test.go
"strconv" "testing" ) type Optionals struct { Sr string `json:"sr"` So string `json:"so,omitempty"` Sw string `json:"-"` Ir int `json:"omitempty"` // actually named omitempty, not an option Io int `json:"io,omitempty"` Slr []string `json:"slr,random"` Slo []string `json:"slo,omitempty"` Mr map[string]any `json:"mr"` Mo map[string]any `json:",omitempty"` Fr float64 `json:"fr"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
pilot/pkg/xds/bench_test.go
return configs, k8sTypes } func parseKubernetesTypes(inputs string) (string, int) { matches := 0 sb := strings.Builder{} for _, text := range strings.Split(inputs, "\n---") { if strings.Contains(text, "kind: Secret") { sb.WriteString(text + "\n---\n") matches++ } if strings.Contains(text, "kind: Service\n") { sb.WriteString(text + "\n---\n") matches++ } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 22 18:13:40 UTC 2024 - 19.7K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
) type TestOptions struct { // If provided, these configs will be used directly Configs []config.Config ConfigPointers []*config.Config // If provided, the yaml string will be parsed and used as configs ConfigString string // If provided, the ConfigString will be treated as a go template, with this as input params ConfigTemplateInput any // Services to pre-populate as part of the service discovery
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/storage/storage_test.go
ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: namespace, }, Spec: api.ReplicationControllerSpec{ Selector: map[string]string{"a": "b"}, Template: &api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{"a": "b"}, }, Spec: api.PodSpec{ Containers: []api.Container{ { Name: "test",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 16 06:57:01 UTC 2024 - 16.9K bytes - Viewed (0) -
src/math/big/ratconv_test.go
// license that can be found in the LICENSE file. package big import ( "bytes" "fmt" "io" "math" "reflect" "strconv" "strings" "testing" ) var exponentTests = []struct { s string // string to be scanned base2ok bool // true if 'p'/'P' exponents are accepted sepOk bool // true if '_' separators are accepted x int64 // expected exponent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 19.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go
case int64, int32, float64, float32, bool: // use simple printer for simple types s = fmt.Sprintf("%s: %v", v.Type, value) case string: s = fmt.Sprintf("%s: %q", v.Type, t) case fmt.Stringer: // anything that defines String() is better than raw struct s = fmt.Sprintf("%s: %s", v.Type, t.String()) default: // fallback to raw struct
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go
{Name: "Missing", Type: "string", JSONPath: ".spec.missing"}, {Name: "Invalid", Type: "integer", JSONPath: ".spec.string"}, {Name: "String", Type: "string", JSONPath: ".spec.string"}, {Name: "StringFloat64", Type: "string", JSONPath: ".spec.float64"}, {Name: "StringInt64", Type: "string", JSONPath: ".spec.replicas"}, {Name: "StringBool", Type: "string", JSONPath: ".spec.bool"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 25.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
private: std::string internal_str; llvm::raw_string_ostream string_stream; }; } // namespace Status CreateFileForDumping(llvm::StringRef name, std::unique_ptr<raw_ostream>* os, std::string* filepath, llvm::StringRef dirname) { std::string dir; if (!dirname.empty()) dir = std::string(dirname); else
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 03:03:46 UTC 2024 - 11.4K bytes - Viewed (0) -
src/os/signal/signal_test.go
} for i := 1; i <= 2; i++ { i := i t.Run(fmt.Sprintf("%d", i), func(t *testing.T) { t.Parallel() args := []string{ "-test.v", "-test.run=^TestStop$", "-send_uncaught_sighup=" + strconv.Itoa(i), "-die_from_sighup", } if subTimeout != 0 { args = append(args, fmt.Sprintf("-test.timeout=%v", subTimeout)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 15:34:56 UTC 2023 - 27.2K bytes - Viewed (0)