- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for abcdefghj (0.04 sec)
-
src/bufio/scan_test.go
} } } var scanTests = []string{ "", "a", "¼", "☹", "\x81", // UTF-8 error "\uFFFD", // correctly encoded RuneError "abcdefgh", "abc def\n\t\tgh ", "abc¼☹\x81\uFFFD日本語\x82abc", } func TestScanByte(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanBytes)Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/archive/zip/writer_test.go
}{ { name: "small store w desc", content: []byte("gophers"), method: Store, flags: 0x8, }, { name: "small deflate wo desc", content: bytes.Repeat([]byte("abcdefg"), 2048), method: Deflate, }, } // write a zip file archive := new(bytes.Buffer) w := NewWriter(archive) for i := range files { f := &files[i]Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
// the smaller of these blocks with the far end of the other one. That leaves us with a // smaller version of the same problem. // Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]: // [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
} }, ) } @Test fun goAwayWithDebugDataRoundTrip() { val expectedError = ErrorCode.PROTOCOL_ERROR val expectedData: ByteString = "abcdefgh".encodeUtf8() // Compose the expected GOAWAY frame without debug data. writeMedium(frame, 8 + expectedData.size) frame.writeByte(TYPE_GOAWAY) frame.writeByte(FLAG_NONE)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/archive/tar/common.go
// that the file has no data in it, which is rather odd. // // As an example, if the underlying raw file contains the 10-byte data: // // var compactFile = "abcdefgh" // // And the sparse map has the following entries: // // var spd sparseDatas = []sparseEntry{ // {Offset: 2, Length: 5}, // Data fragment for 2..6 // {Offset: 18, Length: 3}, // Data fragment for 18..20Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 07 19:46:36 UTC 2025 - 24.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
@Test fun inputStreamAvailableWithNoLengthHeaders() { testInputStreamAvailable(TransferKind.END_OF_STREAM) } private fun testInputStreamAvailable(transferKind: TransferKind) { val body = "ABCDEFGH" val builder = MockResponse.Builder() transferKind.setBody(builder, body, 4) server.enqueue(builder.build()) val response = getResponse(newRequest("/"))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testReadFrom{fileOps{int64(2), "abc", int64(1), "\x00"}, 7, nil}, testRemaining{0, 0}, }, }, { maker: makeSparse{makeReg{3, ""}, sparseHoles{{0, 2}, {5, 2}}, 7}, tests: []testFnc{ testWrite{"abcdefg", 0, errWriteHole}, }, }, { maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7}, tests: []testFnc{ testWrite{"\x00\x00abcde", 5, errWriteHole}, }, }, {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Read next chunk bytesRead = in.read(buffer); assertEquals(10, bytesRead, "Should read next chunk"); assertEquals("ABCDEFGHIJ", new String(buffer, 0, bytesRead, "UTF-8")); } } @Test void testZeroByteFile() throws Exception { // Test handling of zero-byte filesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/bufio/bufio_test.go
for rno, read := range readers { // Some input data that is longer than the minimum reader buffer size. const n = 10 var buf bytes.Buffer for i := 0; i < n; i++ { buf.WriteString("abcdefg") } r := NewReaderSize(&buf, minReadBufferSize) readTo := func(delim byte, want string) { data, err := read(r, delim) if err != nil {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0)