Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 330 for writeErr (0.05 seconds)

  1. 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);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainsWriter {
    
        /**
         * Writes the supplied toolchains to the specified character writer. The writer will be automatically closed before
         * the method returns.
         *
         * @param output The writer to serialize the toolchains to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. 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.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. statement.go

    		}
    
    		if v.Alias != "" {
    			writer.WriteString(" AS ")
    			write(v.Raw, v.Alias)
    		}
    	case []clause.Column:
    		writer.WriteByte('(')
    		for idx, d := range v {
    			if idx > 0 {
    				writer.WriteByte(',')
    			}
    			stmt.QuoteTo(writer, d)
    		}
    		writer.WriteByte(')')
    	case clause.Expr:
    		v.Build(stmt)
    	case string:
    		stmt.DB.Dialector.QuoteTo(writer, v)
    	case []string:
    		writer.WriteByte('(')
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            /** True if the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The new file. */
            protected File newFile;
    
            /** The writer for the new file. */
            protected Writer writer;
    
            /** The item to be added or updated. */
            protected KuromojiItem item;
    
            /**
             * Constructs a new Kuromoji updater.
             *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. cmd/erasure-healing.go

    					inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    					defer grid.PutByteBuffer(buf)
    
    					writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    				} else {
    					writers[i] = newBitrotWriter(disk, bucket, minioMetaTmpBucket, partPath,
    						tillOffset, DefaultBitrotAlgorithm, erasure.ShardSize())
    				}
    			}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (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.
             *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. internal/ioutil/ioutil.go

    // LimitedWriter takes an io.Writer and returns an ioutil.LimitWriter.
    func LimitedWriter(w io.Writer, skipBytes int64, limit int64) *LimitWriter {
    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. 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.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top