Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 666 for Pwritev (0.11 sec)

  1. 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();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/AppendableWriter.java

    class AppendableWriter extends Writer {
      private final Appendable target;
      private boolean closed;
    
      /**
       * Creates a new writer that appends everything it writes to {@code target}.
       *
       * @param target target to which to append output
       */
      AppendableWriter(Appendable target) {
        this.target = checkNotNull(target);
      }
    
      /*
       * Abstract methods from Writer
       */
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. src/syscall/linkname_libc.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || (openbsd && !mips64) || solaris
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/poll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 303 bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                        map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                        final String content = extractor.getText(is, map).getContent();
                        writer.write(content);
                        writer.write('\n');
                    } catch (final Exception e) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Exception in an internal extractor.", e);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/reporting/HtmlReportRenderer.java

                File outputFile = new File(outputDirectory, name);
                IoActions.writeTextFile(outputFile, "utf-8", new ErroringAction<Writer>() {
                    @Override
                    protected void doExecute(Writer writer) throws Exception {
                        renderer.render(model, new DefaultHtmlPageBuilder<Writer>(prefix(name), writer));
                    }
                });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:54:01 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. test/fixedbugs/bug345.dir/main.go

    	//
    	// main.go:25: cannot use w (type "/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".Writer) as type "io".Writer in function argument:
    	//	io.Writer does not implement io.Writer (missing Write method)
    	// main.go:27: cannot use &x (type *"io".SectionReader) as type *"/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".SectionReader in function argument
    
    	var w io.Writer
    	bufio.NewWriter(w) // ERROR "[\w.]+[^.]/io|has incompatible type|cannot use"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 978 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top