- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for ReadLine (0.07 sec)
-
guava/src/com/google/common/io/CharSource.java
return reader.readLine(); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads all the lines of this source as a list of strings. The returned list will be empty if * this source is empty. * * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
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")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (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")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
*/ public static List<String> readLines(Readable r) throws IOException { List<String> result = new ArrayList<>(); LineReader lineReader = new LineReader(r); String line; while ((line = lineReader.readLine()) != null) { result.add(line); } return result; } /** * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")))) { String line; while ((line = br.readLine()) != null) { mappingSource.append(line); } } return mappingSource.toString(); } private String getDefaultIndexSettings() throws IOException {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) { String line; while ((line = br.readLine()) != null) { sb.append(line); } } return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) { long id = 0; String line = null; while ((line = reader.readLine()) != null) { // Remove comments final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim(); // Skip empty lines or comment lines
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) { String line; while ((line = br.readLine()) != null) { sb.append(line); } } return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
if((read( tmp, 0, 8 )) < 0 ) { throw new SmbException( "EOF" ); } return Encdec.dec_doublebe( tmp, 0 ); } public final String readLine() throws SmbException { StringBuffer input = new StringBuffer(); int c = -1; boolean eol = false; while (!eol) { switch( c = read() ) { case -1:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0)