- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 311 for S1 (0.02 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go
// s2.SymmetricDifference(s1) = {a3, a4, a5} func (s1 Byte) SymmetricDifference(s2 Byte) Byte { return Byte(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Byte) Union(s2 Byte) Byte { return Byte(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go
// s2.SymmetricDifference(s1) = {a3, a4, a5} func (s1 Int64) SymmetricDifference(s2 Int64) Int64 { return Int64(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int64) Union(s2 Int64) Int64 { return Int64(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/string.go
// s2.SymmetricDifference(s1) = {a3, a4, a5} func (s1 String) SymmetricDifference(s2 String) String { return String(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 String) Union(s2 String) String { return String(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 4K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51335.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type S1 struct{} type S2 struct{} func _[P *S1|*S2]() { _= []P{{ /* ERROR "invalid composite literal element type P (no core type)" */ }} } func _[P *S1|S1]() { _= []P{{ /* ERROR "invalid composite literal element type P (no core type)" */ }}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 420 bytes - Viewed (0) -
test/typeparam/ordered.go
s1 := make([]Elem, len(s)) copy(s1, s) s2 := make([]Elem, len(s)) copy(s2, s) _OrderedSlice(s1) sorter(s2) ok := true if !sliceEq(s1, s2) { fmt.Printf("%s: got %v, want %v", name, s1, s2) ok = false } for i := len(s1) - 1; i > 0; i-- { if s1[i] < s1[i-1] { fmt.Printf("%s: element %d (%v) < element %d (%v)", name, i, s1[i], i-1, s1[i-1]) ok = false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager_test.go
assert.Equal(t, 1, refs("ns1", "s1")) manager.RegisterPod(podWithSecrets("ns1", "name2", s1)) assert.Equal(t, 2, refs("ns1", "s1")) manager.UnregisterPod(podWithSecrets("ns1", "name1", s1)) assert.Equal(t, 1, refs("ns1", "s1")) manager.UnregisterPod(podWithSecrets("ns1", "name1", s1)) assert.Equal(t, 1, refs("ns1", "s1")) manager.UnregisterPod(podWithSecrets("ns1", "name2", s1))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy
def black = withValues("black") def cat = withValues("cat") when: def zipped = providerFactory.zip( providerFactory.zip(big, black) { s1, s2 -> "$s1 $s2" } , cat) { s1, s2 -> "${s1.capitalize()} ${s2}"} then: zipped instanceof Provider zipped.get() == 'Big black cat' } def "can zip two providers and use null to remove the value"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/kubelet/secret/secret_manager_test.go
} // Create a pod with some secrets. s1 := secretsToAttach{ imagePullSecretNames: []string{"s1"}, containerEnvSecrets: []envSecrets{ {envVarNames: []string{"s1"}}, {envVarNames: []string{"s2"}}, {envFromNames: []string{"s20"}}, }, } manager.RegisterPod(podWithSecrets("ns1", "name1", s1)) // Update the pod with a different secrets. s2 := secretsToAttach{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 4.5K bytes - Viewed (0) -
src/runtime/libfuzzer.go
// 2. s1: first string used in the comparison // 3. s2: second string used in the comparison // 4. result: an integer representing the comparison result. 0 indicates // equality (comparison will ignored by libfuzzer), non-zero indicates a // difference (comparison will be taken into consideration). // //go:nosplit func libfuzzerHookStrCmp(s1, s2 string, fakePC int) { if s1 != s2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 23 01:12:02 UTC 2022 - 6.3K bytes - Viewed (0)