- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,635 for writer (0.07 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
* @throws IOException If the settings could not be serialized. */ void write(File output, Map<String, Object> options, Settings settings) throws IOException; /** * Writes the supplied settings to the specified character writer. The writer will be automatically closed before * the method returns. * * @param output The writer to serialize the settings to, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
fun fromDer(byteString: ByteString): T { val buffer = Buffer().write(byteString) val reader = DerReader(buffer) return fromDer(reader) } /** * Writes [value] to this adapter, unless it is the default value and can be safely omitted. * * If this does write a value, it will write a tag and a length and a full value. */ fun toDer( writer: DerWriter, value: T, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/ioutil/ioutil.go
// we have written the entire stream, return right here. return written, nil } if eof { // We reached EOF prematurely but we did not write everything // that we promised that we would write. if totalSize > 0 && written != totalSize { return written, io.ErrUnexpectedEOF } return written, nil } } } // SafeClose safely closes any channel of any type
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
} public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try { writer.write(s); writer.write('\n'); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java
} /** * Method write. * * @param writer a writer object * @param metadata a Metadata object * @throws java.io.IOException java.io.IOException if any */ public void write(Writer writer, Metadata metadata) throws java.io.IOException { try { delegate.write(writer, metadata.getDelegate()); } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
Reader reader = source.openStream(); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString()); } public void testOpenBufferedStream() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
if len(mappedResp) > 0 { mresp, err := json.MarshalIndent(mappedResp, "", " ") if err != nil { return nil, nil, err } _, _ = s.Writer.Write(mresp) _, _ = s.Writer.Write([]byte("\n")) } return w, fullStatus, nil } func xdsStatusPrintln(w io.Writer, status *xdsWriterStatus) error { _, err := fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\n", status.proxyID, status.clusterID,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K 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/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.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 - 9.7K bytes - Viewed (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()); assertEquals(STRING, sink.getString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.5K bytes - Viewed (0)