- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for String4 (0.18 sec)
-
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy
def encoder = new KryoBackedEncoder(outputStream) def "can serialize/deserialize isolated String values"() { def string1 = "foo" def string2 = "bar" Isolatable<?>[] isolatables = [isolatableFactory.isolate(string1), isolatableFactory.isolate(string2)] when: serialize(isolatables) and: Isolatable<?>[] newIsolatables = deserialize()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 11.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
"a=b; Path=/c; Domain=example.com; Max-Age=5; Secure; ; SameSite=Lax", ) for (stringA in cookieStrings) { val cookieA = parseCookie(0, url, stringA!!) for (stringB in cookieStrings) { val cookieB = parseCookie(0, url, stringB!!) if (stringA == stringB) { assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode()) assertThat(cookieB).isEqualTo(cookieA)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} } String stringA = new String(charsA); String stringB = new String(charsB); assertThat(stringA).isNotEqualTo(stringB); assertThat(HASH_FN.hashUnencodedChars(stringA)) .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 15:56:47 UTC 2017 - 6.2K bytes - Viewed (0) -
src/strings/example_test.go
fmt.Println(strings.Contains("", "")) // Output: // true // false // true // true } func ExampleContainsAny() { fmt.Println(strings.ContainsAny("team", "i")) fmt.Println(strings.ContainsAny("fail", "ui")) fmt.Println(strings.ContainsAny("ure", "ui")) fmt.Println(strings.ContainsAny("failure", "ui")) fmt.Println(strings.ContainsAny("foo", "")) fmt.Println(strings.ContainsAny("", "")) // Output: // false // true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
src/regexp/testdata/re2-search.txt
strings "" "xabcdx" regexps "ab|cd" -;-;-;- -;1-3;-;1-3 "^(?:ab|cd)$" -;-;-;- -;-;-;- "^(?:ab|cd)" -;-;-;- -;-;-;- "(?:ab|cd)$" -;-;-;- -;-;-;- strings "" "hello\ngoodbye\n" regexps "h.*od?" -;-;-;- -;0-5;-;0-5 "^(?:h.*od?)$" -;-;-;- -;-;-;- "^(?:h.*od?)" -;-;-;- -;0-5;-;0-5 "(?:h.*od?)$" -;-;-;- -;-;-;- strings ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 13 14:52:20 UTC 2021 - 42.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4.5K bytes - Viewed (0) -
pkg/config/schema/codegen/collections.go
} func toImport(p string) string { return strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll(p, "/", ""), ".", ""), "-", "") } func toIstioAwareImport(p string) string { imp := strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll(p, "/", ""), ".", ""), "-", "") if strings.Contains(p, "istio.io") { return "api" + imp } return imp
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 07:19:43 UTC 2023 - 5.4K bytes - Viewed (0) -
src/strings/reader_test.go
} if offset, err := (&strings.Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil { t.Errorf("Seek: got %d, %v; want 11, nil", offset, err) } if s := (&strings.Reader{}).Size(); s != 0 { t.Errorf("Size: got %d, want 0", s) } if (&strings.Reader{}).UnreadByte() == nil { t.Errorf("UnreadByte: got nil, want error") } if (&strings.Reader{}).UnreadRune() == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.9K bytes - Viewed (0) -
src/internal/goos/gengoos.go
package main import ( "bytes" "fmt" "log" "os" "strings" ) var gooses []string func main() { data, err := os.ReadFile("../../go/build/syslist.go") if err != nil { log.Fatal(err) } const goosPrefix = `var knownOS = map[string]bool{` inGOOS := false for _, line := range strings.Split(string(data), "\n") { if strings.HasPrefix(line, goosPrefix) { inGOOS = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 15 21:31:23 UTC 2022 - 1.8K bytes - Viewed (0) -
src/strings/clone_test.go
package strings_test import ( "strings" "testing" "unsafe" ) var emptyString string func TestClone(t *testing.T) { var cloneTests = []string{ "", strings.Clone(""), strings.Repeat("a", 42)[:0], "short", strings.Repeat("a", 42), } for _, input := range cloneTests { clone := strings.Clone(input) if clone != input {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 17:24:17 UTC 2023 - 1.1K bytes - Viewed (0)