- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for S1 (0.12 sec)
-
src/log/slog/logger_test.go
} func (h discardHandler) WithGroup(name string) Handler { return h } // concat returns a new slice with the elements of s1 followed // by those of s2. The slice has no additional capacity. func concat[T any](s1, s2 []T) []T { s := make([]T, len(s1)+len(s2)) copy(s, s1) copy(s[len(s1):], s2) return s } // This is a simple benchmark. See the benchmarks subdirectory for more extensive ones.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 21:25:30 UTC 2023 - 19.5K bytes - Viewed (0) -
src/internal/coverage/defs.go
// 06: v++ // 07: // comment // 08: if y == 0 { // 09: return x // 10: } // 11: return (x << 1) ^ (9 / y) // 12: } // 13: // 14: func Medium(q, r int) int { // 15: s1 := small(q, r) // 16: z += s1 // 17: s2 := small(r, q) // 18: w -= s2 // 19: return w + z // 20: } // // The meta-data blob for the single package above might look like the // following: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
} } func canMergeServices(s1, s2 *Service) bool { // Hostname has been compared in the caller `appendSidecarServices`, so we donot need to compare again. if s1.Attributes.Namespace != s2.Attributes.Namespace { return false } if s1.Resolution != s2.Resolution { return false } // kuberneres service registry has been checked before if s1.Attributes.ServiceRegistry != s2.Attributes.ServiceRegistry {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
src/image/gif/reader_test.go
t.Fatal("EncodeAll:", err) } s0, s1 := new(runtime.MemStats), new(runtime.MemStats) runtime.GC() defer debug.SetGCPercent(debug.SetGCPercent(5)) runtime.ReadMemStats(s0) if _, err := Decode(buf); err != nil { t.Fatal("Decode:", err) } runtime.ReadMemStats(s1) if heapDiff := int64(s1.HeapAlloc - s0.HeapAlloc); heapDiff > 30<<20 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 13.3K bytes - Viewed (0) -
test/live.go
//go:noescape func call27(func()) // concatstring slice should die on return var s1, s2, s3, s4, s5, s6, s7, s8, s9, s10 string func f28(b bool) { if b { printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) // ERROR "stack object .autotmp_[0-9]+ \[10\]string$" } printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0) -
src/go/types/typeset.go
// hasTerms reports whether the type set has specific type terms. func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() } // subsetOf reports whether s1 ⊆ s2. func (s1 *_TypeSet) subsetOf(s2 *_TypeSet) bool { return s1.terms.subsetOf(s2.terms) } // TODO(gri) TypeSet.is and TypeSet.underIs should probably also go into termlist.go // is calls f with the specific type terms of s and reports whether
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeset.go
// hasTerms reports whether the type set has specific type terms. func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() } // subsetOf reports whether s1 ⊆ s2. func (s1 *_TypeSet) subsetOf(s2 *_TypeSet) bool { return s1.terms.subsetOf(s2.terms) } // TODO(gri) TypeSet.is and TypeSet.underIs should probably also go into termlist.go // is calls f with the specific type terms of s and reports whether
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.6K bytes - Viewed (0) -
src/expvar/expvar_test.go
var m, m1, m2 Map m.Set("map1", &m1) m1.Add("a", 1) m1.Add("z", 2) m.Set("map2", &m2) for i := 0; i < 9; i++ { m2.Add(strconv.Itoa(i), int64(i)) } var s1, s2 String m.Set("str1", &s1) s1.Set("hello, world!") m.Set("str2", &s2) s2.Set("fizz buzz") b.ResetTimer() b.ReportAllocs() for i := 0; i < b.N; i++ { _ = m.String() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0) -
test/live_regabi.go
//go:noescape func call27(func()) // concatstring slice should die on return var s1, s2, s3, s4, s5, s6, s7, s8, s9, s10 string func f28(b bool) { if b { printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) // ERROR "stack object .autotmp_[0-9]+ \[10\]string$" } printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) printstring(s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18.4K bytes - Viewed (0)