Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 116 for Pwrite (0.05 seconds)

  1. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                }
            }
    
            /**
             * Writes a raw line of text to the temporary file.
             *
             * @param line the line of text to write
             */
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                if (item != null && item.isUpdated()) {
                    try {
                        writer.write(item.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return item;
                    } catch (final IOException e) {
                        throw new DictionaryException("Failed to write: " + item, e);
                    }
                }
                return null;
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

                    try {
                        writer.write(s);
                        writer.write('\n');
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                });
            } catch (final Exception e) {
                logger.warn("Failed to write thread dump: file={}", file, 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)
  4. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    // Add newline at end for Windows 'for /f' command compatibility
                    try (Writer writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {
                        writer.write(result);
                        if (!result.isEmpty()) {
                            writer.write(System.lineSeparator());
                        }
                    }
                } else {
                    System.out.print(result);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. 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 Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. src/archive/tar/testdata/writer-big-long.tar.base64

    Ian Lance Taylor <******@****.***> 1765577893 -0800
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    writeFesenCat(zos, diagnosticId);
                    writeFesenJson(zos, diagnosticId);
                }
            });
        }
    
        /**
         * Writes OpenSearch JSON API responses to the ZIP output stream.
         *
         * @param zos the ZIP output stream to write to
         * @param id the diagnostic ID for organizing files in the ZIP
         */
        protected void writeFesenJson(final ZipOutputStream zos, final String id) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/BadWordService.java

         * Exports bad words to a CSV file.
         * @param writer The writer for the CSV output.
         */
        public void exportCsv(final Writer writer) {
            final CsvConfig cfg = new CsvConfig(',', '"', '"');
            cfg.setEscapeDisabled(false);
            cfg.setQuoteDisabled(false);
            @SuppressWarnings("resource")
            final CsvWriter csvWriter = new CsvWriter(writer, cfg);
            try {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         */
        protected abstract String getActionRole();
    
        /**
         * Writes data to the specified file path.
         *
         * @param path the file path to write to
         * @param data the data to write
         */
        protected void write(final String path, final byte[] data) {
            validateFilePath(path);
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Validates the file path.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            }
        }
    
        /**
         * Exports elevate words to a CSV file.
         * CSV format: SuggestWord, Reading, Permissions, Labels, Boost
         *
         * @param writer the Writer to output CSV data to
         */
        public void exportCsv(final Writer writer) {
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            final CsvConfig cfg = new CsvConfig(',', '"', '"');
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
Back to Top