- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 85 for S1 (0.04 sec)
-
pkg/spiffe/spiffe_test.go
// Create servers that will act as SPIFFE bundle endpoints. s1 := httptest.NewTLSServer(h) s2 := httptest.NewTLSServer(h) // The system needs to trust these server certs to securely connect to // the SPIFFE bundle endpoints. serverCerts := []*x509.Certificate{s1.Certificate(), s2.Certificate()} input1 := map[string]string{ "foo": s1.Listener.Addr().String(), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
src/slices/iter_test.go
} if want := [][]int{{1, 2}, {3, 4}}; !chunkEqual(got, want) { t.Errorf("Chunk iteration did not stop, got %v, want %v", got, want) } } func chunkEqual[Slice ~[]E, E comparable](s1, s2 []Slice) bool { return EqualFunc(s1, s2, Equal[Slice])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
continue } if s.Addr == 0 || s.Size == 0 { continue } secs = append(secs, s) } secOverlaps := func(s1, s2 *elf.Section) bool { st1 := s1.Addr st2 := s2.Addr en1 := s1.Addr + s1.Size en2 := s2.Addr + s2.Size return max(st1, st2) < min(en1, en2) } // Sort by address sort.SliceStable(secs, func(i, j int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/proxy/config/api_test.go
_, ctx := klogtesting.NewTestContext(t) service1v1 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"}, Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}} service1v2 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"}, Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}} service2 := &v1.Service{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 8.2K bytes - Viewed (0) -
src/strings/strings_test.go
for times := 0; times < 10; times++ { for strLen := 5 + rand.Intn(5); strLen < 140; strLen += 10 { // Arbitrary s1 := make([]byte, strLen) for i := range s1 { s1[i] = chars[rand.Intn(len(chars))] } s := string(s1) for i := 0; i < 50; i++ { begin := rand.Intn(len(s) + 1) end := begin + rand.Intn(len(s)+1-begin) sep := s[begin:end] if i%4 == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K 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) -
src/slices/example_test.go
fmt.Println(clip) fmt.Println(len(clip)) fmt.Println(cap(clip)) // Output: // 10 // [0 1 2 3] // 4 // 4 } func ExampleConcat() { s1 := []int{0, 1, 2, 3} s2 := []int{4, 5, 6} concat := slices.Concat(s1, s2) fmt.Println(concat) // Output: // [0 1 2 3 4 5 6] } func ExampleContains() { numbers := []int{0, 1, 2, 3} fmt.Println(slices.Contains(numbers, 2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 8.1K 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)