- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 493 for Writer (0.07 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
} /** * Writes the properties file to the given writer, preserving as much of its * structure as possible. * * @param out the writer * @throws IOException if an error occurs */ protected void saveLayout(Writer out, boolean typed) throws IOException { PropertiesWriter writer = new PropertiesWriter(out, typed); if (header != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy
void emptyAcceptedApiChanges(File jsonFile) { jsonFile.withWriter { fileWriter -> def writer = new JsonWriter(fileWriter) writer.setIndent(" ") new Gson().toJson([acceptedApiChanges: []], Object, writer) writer.close() } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
.build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).writer(writer).build()); } void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException; /** * Simply parse the given xml string. * * @param xml the input xml string
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java
} } public void writePlan(Consumer<String> writer, BuildPlan plan) { plan.projects().forEach(project -> writePlan(writer, plan, project)); } public void writePlan(Consumer<String> writer, BuildPlan plan, MavenProject project) { writer.accept("=== PROJECT BUILD PLAN ================================================"); writer.accept("Project: " + getKey(project));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
public void setUp() { sink = new TestCharSink(); } public void testOpenBufferedStream() throws IOException { Writer writer = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); writer.write(STRING); writer.close(); assertTrue(sink.wasStreamClosed()); assertThat(sink.getString()).isEqualTo(STRING); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
src/bufio/bufio.go
// size. If the argument io.Writer is already a [Writer] with large enough // size, it returns the underlying [Writer]. func NewWriterSize(w io.Writer, size int) *Writer { // Is it already a Writer? b, ok := w.(*Writer) if ok && len(b.buf) >= size { return b } if size <= 0 { size = defaultBufSize } return &Writer{ buf: make([]byte, size), wr: w, } }
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-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
try { if (event.getMessage().equals("\n")) { writer.write(event.getMessage()); } else { writer.write(prefix + event.getMessage()); } } catch (IOException e) { throw new UncheckedIOException("Unable to write test suite output", e); } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
} @Test public void test_sendSseEvent_basic() { final StringWriter stringWriter = new StringWriter(); final PrintWriter writer = new PrintWriter(stringWriter); chatApiManager.sendSseEvent(writer, "test", Map.of("key", "value")); final String output = stringWriter.toString(); assertTrue(output.contains("event: test"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(model, "model cannot be null"); try (Writer out = output) { new MavenXpp3Writer().write(out, model); } } @Override public void write(OutputStream output, Map<String, Object> options, Model model) throws IOException {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
failed = true socketToCancel = this.socket writerToClose = this.writer this.writer = null if (!isWriter && writerToClose != null) { // If the caller isn't the writer thread, get that thread to close the writer. taskQueue.execute("$name writer close", cancelable = false) { writerToClose.closeQuietly() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0)