- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 303 for reader_r (0.05 seconds)
-
src/main/java/org/codelibs/core/io/FileUtil.java
} /** * Returns the contents read from the reader as a string. * * @param reader * the reader * @param initialCapacity * the initial buffer capacity * @return the string read from the reader */ protected static String read(final Reader reader, final int initialCapacity) { int bufferSize;Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java
final File suffixWordsFile = environment.configDir().resolve(suffixWordsPath).toFile(); try (Reader reader = IOUtils.getDecodingReader(new FileInputStream(suffixWordsFile), StandardCharsets.UTF_8)) { suffixWords = WordlistLoader.getWordSet(reader); } catch (final IOException e) {
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/debugging/inspect/export.go
return buf.Bytes(), nil } fmt.Println("{") hasWritten := false var r io.Reader var sz int64 f, e := os.Open(downloadPath) if e != nil { return e } if st, e := f.Stat(); e == nil { sz = st.Size() } defer f.Close() r = f zr, e := zip.NewReader(r.(io.ReaderAt), sz) if e != nil { return e } for _, file := range zr.File {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
} } private Reader getReader(final boolean reload) throws IOException { if (reload) { if (reloadableFile == null) { throw new IllegalArgumentException("reloadableFile is null."); } return new InputStreamReader(new FileInputStream(reloadableFile), StandardCharsets.UTF_8); } Reader reader = null;Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 6.7K bytes - Click Count (1) -
cmd/post-policy-fan-out.go
if err != nil { errs[idx] = err return } reader, err = reader.WithEncryption(hr, &objectEncryptionKey) if err != nil { errs[idx] = err return } } objInfo, err := objectAPI.PutObject(ctx, bucket, req.Key, reader, ObjectOptions{ Versioned: globalBucketVersioningSys.PrefixEnabled(bucket, req.Key),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.5K bytes - Click Count (0) -
internal/s3select/select.go
return rsc.offset, errors.New("seek past end of object") } if rsc.reader != nil { _ = rsc.reader.Close() rsc.reader = nil } return rsc.offset, nil } // Read call to implement io.Reader func (rsc *ObjectReadSeekCloser) Read(p []byte) (n int, err error) { if rsc.reader == nil { rsc.reader, err = rsc.segmentReader(rsc.offset) if err != nil { return 0, err } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0) -
internal/crypto/key_test.go
package crypto import ( "bytes" "crypto/rand" "encoding/hex" "io" "testing" "github.com/minio/minio/internal/logger" ) var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) } func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass { t.Errorf("Test %d should fail but passed successfully", i)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
*/ Model read(File input, Map<String, ?> options) throws IOException, ModelParseException; /** * Reads the model from the specified character reader. The reader will be automatically closed before the method * returns. * * @param input The reader to deserialize the model from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.6K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java
return StringUtil.EMPTY; } try (final Reader reader = new StringReader(str)) { return normalizeText(reader, initialCapacity, maxAlphanumTermSize, maxSymbolTermSize, removeDuplication); } catch (final IOException e) { return StringUtil.EMPTY; } } public static String normalizeText(final Reader reader, final int initialCapacity, final int maxAlphanumTermSize,Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} public interface ReaderSupplier { Reader open() throws IOException; } /** * @deprecated use {@link #build(ReaderSupplier)} */ @Deprecated public PluginDescriptor build(Reader reader) throws PlexusConfigurationException { return build(reader, null); } /** * @deprecated use {@link #build(ReaderSupplier, String)} */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 17.5K bytes - Click Count (0)