- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 376 for readFile (0.05 seconds)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val reader = BufferedReader(InputStreamReader(connection.inputStream, UTF_8)) assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(reader.readLine()).isEqualTo("hello world") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(request.headers["Accept-Language"]).isEqualTo("en-US")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
} entry.currentEditor = null if (entry.zombie) { removeEntry(entry) return } redundantOpCount++ journalWriter!!.apply { if (entry.readable || success) { entry.readable = true writeUtf8(CLEAN).writeByte(' '.code) writeUtf8(entry.key) entry.writeLengths(this) writeByte('\n'.code) if (success) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
src/bufio/bufio_test.go
} line, isPrefix, err := l.ReadLine() if err != io.EOF { t.Errorf("expected EOF from ReadLine, got '%s' %t %s", line, isPrefix, err) } } func TestReadLineNonNilLineOrError(t *testing.T) { r := NewReader(strings.NewReader("line 1\n")) for i := 0; i < 2; i++ { l, _, err := r.ReadLine() if l != nil && err != nil {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8)) assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(reader.readLine()).isEqualTo("hello world") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(request.getHeader("Accept-Language")).isEqualTo("en-US")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/arm64error.s
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 24 21:29:25 GMT 2026 - 38.5K bytes - Click Count (0) -
cmd/local-locker_gen.go
return } case "LastCleanup": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "LastCleanup") return } z.LastCleanup = nil } else { if z.LastCleanup == nil { z.LastCleanup = new(time.Time) } *z.LastCleanup, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "LastCleanup") return
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
return this.nextCommand; } /** * Sets the read size for this message. * * @param readSize * the readSize to set */ public void setReadSize(final int readSize) { this.readSize = readSize; } /** * Checks whether this message is an asynchronous message. * * @return the async */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
fastapi/param_functions.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 68K bytes - Click Count (0) -
src/bufio/bufio.go
// of the line. The returned buffer is only valid until the next call to // ReadLine. ReadLine either returns a non-nil line or it returns an error, // never both. // // The text returned from ReadLine does not include the line end ("\r\n" or "\n"). // No indication or error is given if the input ends without a final line end. // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java
String currentID = ""; try (BufferedReader reader = new BufferedReader(new FileReader(cpuInfoFile))) { for (String line = reader.readLine(); line != null; line = reader.readLine()) { if (line.contains(":")) { List<String> parts = Arrays.stream(line.split(":", 2)).map(String::trim).collect(Collectors.toList());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 3.6K bytes - Click Count (0)