- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for abcdefghijX (0.18 sec)
-
src/strings/compare_test.go
{"ab", "abc", -1}, {"abc", "ab", 1}, {"x", "ab", 1}, {"ab", "x", -1}, {"x", "a", 1}, {"b", "x", -1}, // test runtime·memeq's chunked implementation {"abcdefgh", "abcdefgh", 0}, {"abcdefghi", "abcdefghi", 0}, {"abcdefghi", "abcdefghj", -1}, } func TestCompare(t *testing.T) { for _, tt := range compareTests { cmp := Compare(tt.a, tt.b) if cmp != tt.i { t.Errorf(`Compare(%q, %q) = %v`, tt.a, tt.b, cmp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:33:55 UTC 2022 - 2.8K bytes - Viewed (0) -
src/hash/test_cases.txt
a ab abc abcd abcde abcdef abcdefg abcdefgh abcdefghi abcdefghij Discard medicine more than two years old. He who has a shady past knows that nice guys finish last. I wouldn't marry him with a ten foot pole. Free! Free!/A trip/to Mars/for 900/empty jars/Burma Shave The days of the digital watch are numbered. -Tom Stoppard Nepal premier won't resign. For every action there is an equal and opposite government program.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
assertFile(Relay.PREFIX_CLEAN, 10L, metadata.size, "abcdefghij", metadata) } @Test fun readFromFile() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklmnopqrst") val relay = edit(file, upstream, metadata, 5) val source1 = relay.newSource()!!.buffer() val source2 = relay.newSource()!!.buffer() assertThat(source1.readUtf8(10)).isEqualTo("abcdefghij")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
src/hash/adler32/adler32_test.go
{0x081e0256, "abcdef", "adl\x01\x02M\x01'"}, {0x0adb02bd, "abcdefg", "adl\x01\x02M\x01'"}, {0x0e000325, "abcdefgh", "adl\x01\x03\xd8\x01\x8b"}, {0x118e038e, "abcdefghi", "adl\x01\x03\xd8\x01\x8b"}, {0x158603f8, "abcdefghij", "adl\x01\x05\xc8\x01\xf0"}, {0x3f090f02, "Discard medicine more than two years old.", "adl\x01NU\a\x87"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 21:04:12 UTC 2017 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
} } return true; } @SuppressWarnings("deprecation") public void testSimpleStringUtf8() { assertEquals( murmur3_32().hashBytes("ABCDefGHI\u0799".getBytes(Charsets.UTF_8)), murmur3_32().hashString("ABCDefGHI\u0799", Charsets.UTF_8)); } @SuppressWarnings("deprecation") public void testEncodedStringInputs() { Random rng = new Random(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 8.6K bytes - Viewed (0) -
src/crypto/issue21104_test.go
if err != nil { panic(err) } stream := newCipher(block, iv[:]) test(t, name, cipherText, stream.XORKeyStream) } func test(t *testing.T, name string, cipherText []byte, xor func([]byte, []byte)) { want := "abcdefghij" plainText := []byte(want) shorterLen := len(cipherText) / 2 defer func() { err := recover() if err == nil { t.Errorf("%v XORKeyStream expected to panic on len(dst) < len(src), but didn't", name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 06:03:36 UTC 2017 - 1.8K bytes - Viewed (0) -
src/net/http/http_test.go
t.Errorf("disallowed call to %s at %s:%d", match[0], path, lineNum+1) } } return nil }); err != nil { t.Fatal(err) } } const redirectURL = "/thisaredirect细雪withasciilettersのけぶabcdefghijk.html" func BenchmarkHexEscapeNonASCII(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { hexEscapeNonASCII(redirectURL) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 18:18:19 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/internal/buildid/buildid_test.go
{10, 20, []string{"0123456789", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "klmn"}}, // a whole read {0, 5, []string{"\x00\x00\x00\x00\x0056789", "abcdefghij", "klmn"}}, // start {12, 24, []string{"0123456789", "ab\x00\x00\x00\x00\x00\x00\x00\x00", "\x00\x00\x00\x00"}}, // end } p := make([]byte, 10) for _, test := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:28 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertReadsCorrectly(""); } public void testReadsStringsCorrectly() throws IOException { assertReadsCorrectly("abc"); assertReadsCorrectly("abcde"); assertReadsCorrectly("abcdefghijkl"); assertReadsCorrectly( "" + "abcdefghijklmnopqrstuvwxyz\n" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r" + "0123456789\r\n" + "!@#$%^&*()-=_+\t[]{};':\",./<>?\\| ");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy
} } @Test void readerThreadBlocksWhenBufferFull() { def source = stream() source.onRead { buffer, pos, count -> System.arraycopy('abcdefghij'.bytes, 0, buffer, pos, 10) expectLater(1) return 10 } source.onRead { buffer, pos, count -> shouldBeAt(1) return -1 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 8.5K bytes - Viewed (0)