- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,130 for writeln (0.04 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
File lmhostsFile = tempDir.resolve("lmhosts_empty").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 HOST1\n"); writer.write("\n"); writer.write(" \n"); writer.write("192.168.1.101 HOST2\n"); } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
} @Override public long copyTo(CharSink sink) throws IOException { checkNotNull(sink); Closer closer = Closer.create(); try { Writer writer = closer.register(sink.openStream()); writer.write((String) seq); return seq.length(); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
} @Override public long copyTo(CharSink sink) throws IOException { checkNotNull(sink); Closer closer = Closer.create(); try { Writer writer = closer.register(sink.openStream()); writer.write((String) seq); return seq.length(); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.3K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java
/** * Method write. * * @param writer a writer object. * @param model a model object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Model model) throws IOException { try { delegate.write(writer, model.getDelegate()); } catch (XMLStreamException e) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.write(2); cos.write(3); assertTrue(cos.isInMemory()); cos.write(4); // Exceeds threshold assertFalse(cos.isInMemory()); File file = cos.getFile(); assertTrue(file.exists()); cos.close(); } @Test public void testGetDataInMemory() throws IOException { // getData() should return the written data when in memoryRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
bytes = bytes, ) } } override fun toDer( writer: DerWriter, value: AnyValue, ) { writer.write("ANY", value.tagClass, value.tag) { writer.writeOctetString(value.bytes) writer.constructed = value.constructed } } } internal fun parseGeneralizedTime(string: String): Long {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be written correctly"); assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly"); assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (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
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current. entry.writeTo(editor) editor.commit() } catch (_: IOException) { abortQuietly(editor) } } private fun abortQuietly(editor: DiskLruCache.Editor?) { // Give up because the cache cannot be written. try { editor?.abort() } catch (_: IOException) { } } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
// Check that the path is written after the referral level // The path should be written starting at index 2 // writeString adds null terminator assertTrue(len > 2, "Length should include path"); String writtenPath = extractStringFromBuffer(buffer, 2, len - 2); assertTrue(writtenPath.contains("abc"), "Path should be written to buffer"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)