- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,190 for a$b (0.03 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go
} if !s.HasAll("a", "b") { t.Errorf("Missing contents: %#v", s) } s2.Insert("a", "b", "d") if s.IsSuperset(s2) { t.Errorf("Unexpected contents: %#v", s) } s2.Delete("d") if !s.IsSuperset(s2) { t.Errorf("Missing contents: %#v", s) } } func TestSetDeleteMultiples(t *testing.T) { s := sets.Set[string]{} s.Insert("a", "b", "c") if len(s) != 3 { t.Errorf("Expected len=3: %d", len(s)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 09:03:44 UTC 2023 - 7.7K bytes - Viewed (0) -
src/strings/compare.go
// The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // // Use Compare when you need to perform a three-way comparison (with // slices.SortFunc, for example). It is usually clearer and always faster // to use the built-in string comparison operators ==, <, >, and so on. func Compare(a, b string) int { return bytealg.CompareString(a, b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 628 bytes - Viewed (0) -
test/phiopt.go
} //go:noinline func f2(a, b int) bool { x := true if a == b { x = false } return x // ERROR "converted OpPhi to Not$" } //go:noinline func f3(a, b int) bool { x := false if a == b { x = true } return x // ERROR "converted OpPhi to Copy$" } //go:noinline func f4(a, b bool) bool { return a || b // ERROR "converted OpPhi to OrB$" } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2K bytes - Viewed (0) -
test/typeparam/combine.go
if !ok { return t, false } return join(t1, t2), true } } type Pair[A, B any] struct { A A B B } func _NewPair[A, B any](a A, b B) Pair[A, B] { return Pair[A, B]{a, b} } func Combine2[A, B any](ga Gen[A], gb Gen[B]) Gen[Pair[A, B]] { return Combine(ga, gb, _NewPair[A, B]) } func main() { var g1 Gen[int] = func() (int, bool) { return 3, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy
"HashSet<String>" | "['a', 'b', 'c'] as HashSet" | "[a, b, c]" "LinkedHashSet<String>" | "['a', 'b', 'c'] as LinkedHashSet" | "[a, b, c]" "CopyOnWriteArraySet<String>" | "['a', 'b', 'c'] as CopyOnWriteArraySet" | "[a, b, c]" "TreeSet<String>" | "['a', 'b', 'c'] as TreeSet" | "[a, b, c]"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 26.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.conversion.go
if err := s.AddGeneratedConversionFunc((*url.Values)(nil), (*CreateOptions)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_url_Values_To_v1_CreateOptions(a.(*url.Values), b.(*CreateOptions), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*url.Values)(nil), (*DeleteOptions)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:25 UTC 2023 - 21.6K bytes - Viewed (0) -
src/net/url/url_test.go
{"http://a/b/c/d;p?q", "g#s", "http://a/b/c/g#s"}, {"http://a/b/c/d;p?q", "g?y#s", "http://a/b/c/g?y#s"}, {"http://a/b/c/d;p?q", ";x", "http://a/b/c/;x"}, {"http://a/b/c/d;p?q", "g;x", "http://a/b/c/g;x"}, {"http://a/b/c/d;p?q", "g;x?y#s", "http://a/b/c/g;x?y#s"}, {"http://a/b/c/d;p?q", "", "http://a/b/c/d;p?q"}, {"http://a/b/c/d;p?q", ".", "http://a/b/c/"}, {"http://a/b/c/d;p?q", "./", "http://a/b/c/"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
when: succeeds "a", "b" then: result.assertTasksNotSkipped(":a", ":b") // No changes when: succeeds "a", "b" then: result.assertTasksSkipped(":a", ":b") // Delete an output file when: file('build/file1.txt').delete() succeeds "a", "b" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/BiActionsTest.groovy
BiAction<List<String>, List<String>> first = {a, b -> a << "first a"; b << "first b" } BiAction<List<String>, List<String>> second = {a, b -> a << "second a"; b << "second b" } def composite = BiActions.composite(first, second) def a = [] def b = [] when: composite.execute(a, b) then: a == ["first a", "second a"] b == ["first b", "second b"] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy
projectsConfigured(":", ":a", ":b") problem("Build file 'build.gradle': line 3: Project ':' cannot access 'Project.plugins' functionality on another project ':a'") } } def "reports problem when root project build script uses #expression method to apply plugins to another project"() { createDirs("a", "b") settingsFile << """ include("a")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 32.4K bytes - Viewed (0)