Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 269 for writeErr (0.04 sec)

  1. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
            /** The writer for the temporary file. */
            protected Writer writer;
    
            /** The synonym item being added or updated. */
            protected SynonymItem item;
    
            /**
             * Constructs a new updater for a synonym item.
             *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /**
         * Implementation method for writing an XML node to a writer.
         *
         * @param node the XML node to write
         * @param writer the writer to write to
         * @throws IOException if there is an error writing the XML
         */
        protected abstract void doWrite(XmlNode node, Writer writer) throws IOException;
    
        /**
         * Implementation method for merging two XML nodes.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. cmd/bitrot_test.go

    	disk.MakeVol(t.Context(), volume)
    
    	writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10)
    
    	_, err = writer.Write([]byte("aaaaaaaaaa"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = writer.Write([]byte("aaaaaaaaaa"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = writer.Write([]byte("aaaaaaaaaa"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = writer.Write([]byte("aaaaa"))
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    	if w == nil {
    		return errors.New("metacacheWriter: nil writer")
    	}
    	if len(objs) == 0 {
    		return nil
    	}
    	if w.creator != nil {
    		err := w.creator()
    		w.creator = nil
    		if err != nil {
    			return fmt.Errorf("metacacheWriter: unable to create writer: %w", err)
    		}
    		if w.mw == nil {
    			return errors.New("metacacheWriter: writer not initialized")
    		}
    	}
    	for _, o := range objs {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            protected boolean isCommit = false;
    
            /** Temporary file for storing updates */
            protected File newFile;
    
            /** Writer for writing to the temporary file */
            protected Writer writer;
    
            /** The item being updated */
            protected ProtwordsItem item;
    
            /**
             * Constructor for ProtwordsUpdater.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
            /** The writer for the temporary file. */
            protected Writer writer;
    
            /** The stopword item being added or updated. */
            protected StopwordsItem item;
    
            /**
             * Constructs a new updater for a stopword item.
             *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

            Files.createDirectories(dest.getParent());
            try (Writer w = Files.newBufferedWriter(dest)) {
                MavenStaxWriter writer = new MavenStaxWriter();
                writer.setNamespace(String.format(NAMESPACE_FORMAT, version));
                writer.setSchemaLocation(String.format(SCHEMA_LOCATION_FORMAT, version));
                writer.setAddLocationInformation(false);
                writer.write(w, model);
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
         *
         * @param output The writer to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top