- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 261 for sS (0.06 sec)
-
test/typeparam/issue51303.go
IntersectSS(x, y) } type list[E any] interface { ~[]E Equal(x, y E) bool } // ss is a set of sets type ss[E comparable, T []E] []T func (ss[E, T]) Equal(a, b T) bool { return SetEq(a, b) } func IntersectSS[E comparable](x, y [][]E) [][]E { return IntersectT[[]E, ss[E, []E]](ss[E, []E](x), ss[E, []E](y)) } func IntersectT[E any, L list[E]](x, y L) L { var z L outer:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.1K bytes - Viewed (0) -
src/sort/sort_slices_benchmark_test.go
} func TestStructSorts(t *testing.T) { ss := makeRandomStructs(200) ss2 := make([]*myStruct, len(ss)) for i := range ss { ss2[i] = &myStruct{n: ss[i].n} } Sort(ss) slices.SortFunc(ss2, func(a, b *myStruct) int { return a.n - b.n }) for i := range ss { if *ss[i] != *ss2[i] { t.Fatalf("ints2 mismatch at %d; %v != %v", i, *ss[i], *ss2[i]) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 22:59:40 UTC 2024 - 4K bytes - Viewed (0) -
src/crypto/tls/ticket.go
ss.verifiedChains = append(ss.verifiedChains, chain) } if ss.EarlyData { var alpn []byte if !readUint8LengthPrefixed(&s, &alpn) { return nil, errors.New("tls: invalid session encoding") } ss.alpnProtocol = string(alpn) } if isClient := typ == 2; !isClient { if !s.Empty() { return nil, errors.New("tls: invalid session encoding") } return ss, nil } ss.isClient = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
pkg/registry/apps/statefulset/strategy_test.go
} errs := Strategy.Validate(ctx, ss) if len(errs) != 0 { t.Errorf("Strategy.Validate(%v) returned error: %v", ss, errs) } if ss.Generation != 1 { t.Errorf("Generation = %v, want = 1 for StatefulSet: %v", ss.Generation, ss) } // Validate that the ordinals field is retained when StatefulSetStartOridnal is disabled.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.1K bytes - Viewed (0) -
src/internal/profile/profile.go
// for debugging purposes. func (p *Profile) String() string { ss := make([]string, 0, len(p.Sample)+len(p.Mapping)+len(p.Location)) if pt := p.PeriodType; pt != nil { ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit)) } ss = append(ss, fmt.Sprintf("Period: %d", p.Period)) if p.TimeNanos != 0 { ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos))) } if p.DurationNanos != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 13.4K bytes - Viewed (0) -
pilot/pkg/xds/debug_test.go
} else { errorHandler = t.Logf } for _, ss := range gotStatus { if ss.ProxyID == nodeID { if ss.ProxyVersion == "" { errorHandler("ProxyVersion should always be set for %v", nodeID) } if (ss.ClusterSent != "") != wantSent { errorHandler("wanted ClusterSent set %v got %v for %v", wantSent, ss.ClusterSent, nodeID) } if (ss.ClusterAcked != "") != wantAcked {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
ss << "\nprune_unused_nodes: " << prune_unused_nodes; ss << "\nconvert_legacy_fed_inputs: " << convert_legacy_fed_inputs; ss << "\ngraph_as_function: " << graph_as_function; ss << "\nupgrade_legacy: " << upgrade_legacy; ss << "\nrestrict_functionalization_to_compiled_nodes: " << restrict_functionalization_to_compiled_nodes; ss << "\nenable_shape_inference: " << enable_shape_inference;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go
func TestSeatSecondsString(t *testing.T) { testCases := []struct { ss SeatSeconds expectFloat float64 expectStr string }{ {ss: SeatSeconds(1), expectFloat: 1.0 / ssScale, expectStr: "0.00000001ss"}, {ss: SeatSeconds(ssScale - 1), expectFloat: (ssScale - 1) / ssScale, expectStr: "0.99999999ss"}, {ss: 0, expectFloat: 0, expectStr: "0.00000000ss"}, {ss: SeatsTimesDuration(1, time.Second), expectFloat: 1, expectStr: "1.00000000ss"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 29 20:20:16 UTC 2021 - 2.5K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-toascii.json
}, { "input": "-x.ß", "output": "-x.xn--zca" }, { "comment": "Label with trailing hyphen", "input": "x-.xn--zca", "output": "x-.xn--zca" }, { "input": "x-.ß", "output": "x-.xn--zca" }, { "comment": "Empty labels", "input": "x..xn--zca", "output": "x..xn--zca" }, { "input": "x..ß", "output": "x..xn--zca" }, {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 5.2K bytes - Viewed (0) -
src/go/token/serialize.go
func (s *FileSet) Read(decode func(any) error) error { var ss serializedFileSet if err := decode(&ss); err != nil { return err } s.mutex.Lock() s.base = ss.Base files := make([]*File, len(ss.Files)) for i := 0; i < len(ss.Files); i++ { f := &ss.Files[i] files[i] = &File{ name: f.Name, base: f.Base, size: f.Size, lines: f.Lines,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 29 22:19:48 UTC 2022 - 1.4K bytes - Viewed (0)