- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 2,024 for writer (0.04 seconds)
-
src/archive/tar/writer_test.go
} } } // testNonEmptyWriter wraps an io.Writer and ensures that // Write is never called with an empty buffer. type testNonEmptyWriter struct{ io.Writer } func (w testNonEmptyWriter) Write(b []byte) (int, error) { if len(b) == 0 { return 0, errors.New("unexpected empty Write call") } return w.Writer.Write(b) } func TestFileWriter(t *testing.T) { type (Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
startLatch.countDown(); // Wait for writer thread to complete writerThread.join(1000); // Wait for all reader threads to complete for (Thread thread : readerThreads) { thread.join(testDurationMs + 1000); } // Verify that alive was changed to false assertFalse("alive should be false after writer thread", dataStore.alive);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
Writer writer = sink.openStream(); try { writer.write(data); } finally { writer.close(); } assertContainsExpectedString(); } public void testOpenBufferedStream() throws IOException { Writer writer = sink.openBufferedStream(); try { writer.write(data); } finally { writer.close(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
* * @param writer the print writer to write the event to * @param event the event name * @param data the event data to serialize as JSON */ protected void sendSseEvent(final PrintWriter writer, final String event, final Map<String, Object> data) { try { writer.write("event: " + event + "\n");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . * * @throws IOException */ @Test public void testStorePropertiesWriterString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final Writer writer = WriterUtil.create(file);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.6K bytes - Click Count (0) -
internal/s3select/simdj/record.go
return sql.SelectFmtSIMDJSON, r.object } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { o := r.object elems, err := o.Parse(nil) if err != nil { return err } b, err := elems.MarshalJSON() if err != nil { return err } n, err := writer.Write(b) if err != nil { return err } if n != len(b) { return io.ErrShortWrite } return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
try { Files.createDirectories(resumeProperties.getParent()); try (Writer writer = Files.newBufferedWriter(resumeProperties)) { properties.store(writer, null); } } catch (IOException e) { String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } /** * Writes a string line to the temporary file. * @param line the line to write */ public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/IndexingOperations.java
import org.codelibs.fess.suggest.exception.SuggestIndexException; import org.codelibs.fess.suggest.index.SuggestIndexResponse; import org.codelibs.fess.suggest.index.writer.SuggestWriter; import org.codelibs.fess.suggest.index.writer.SuggestWriterResult; import org.codelibs.fess.suggest.settings.SuggestSettings; import org.opensearch.transport.client.Client; /** * Internal operations class for core indexing functionality.
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 3.9K bytes - Click Count (0)