- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 542 for Writer (0.09 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testNullWriter() throws Exception { // create a null writer Writer nullWriter = CharStreams.nullWriter(); // write to the writer nullWriter.write('n'); String test = "Test string for NullWriter"; nullWriter.write(test); nullWriter.write(test, 2, 10); nullWriter.append(null); nullWriter.append(null, 0, 4);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testNullWriter() throws Exception { // create a null writer Writer nullWriter = CharStreams.nullWriter(); // write to the writer nullWriter.write('n'); String test = "Test string for NullWriter"; nullWriter.write(test); nullWriter.write(test, 2, 10); nullWriter.append(null); nullWriter.append(null, 0, 4);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective toolchains"); writer.println(); for (Problem problem : problems) { writer.print("["); writer.print(problem.getSeverity());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
writer.println(); writer.print(" - ["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = ModelProblemUtils.formatLocation(problem, modelId); if (!location.isEmpty()) { writer.print(" @ "); writer.print(location); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
final int result = copy(url, "UTF-8", writer); assertThat(result, is(urlString.length())); assertThat(writer.toString(), is(urlString)); } /** * @throws Exception */ @Test public void testFileToWriter() throws Exception { final int result = copy(inputFile, "UTF-8", writer); assertThat(result, is(urlString.length()));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
} } /** * Returns a Writer that sends all output to the given {@link Appendable} target. Closing the * writer will close the target if it is {@link Closeable}, and flushing the writer will flush the * target if it is {@link java.io.Flushable}. * * @param target the object to which output will be sent * @return a new Writer object, unless target is a Writer, in which case the target is returned */
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/dict/mapping/CharMappingFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 18 06:55:55 UTC 2021 - 3.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
} finally { context.terminal.writer().flush(); } } protected int badGoalsErrorMessage(String message, LocalContext context) { context.terminal.writer().println(message); context.terminal.writer().println("Supported goals are: " + String.join(", ", context.goals.keySet())); context.terminal.writer().println("Use -h to display help."); return BAD_OPERATION;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
internal/logger/logrotate.go
return w.pw.Write(p) } // Close closes the writer. // Any accepted writes will be flushed. Any new writes will be rejected. // Once Close() exits, files are synchronized to disk. func (w *Writer) Close() error { w.pw.CloseWithError(nil) if w.f != nil { if err := w.closeCurrentFile(); err != nil { return err } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0)