- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 433 for readArg (0.32 sec)
-
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)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 02 00:13:57 UTC 2024 - 6.8K bytes - Viewed (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,
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
fun visitClassFile(file: Path) { try { val reader = ClassReader(Files.newInputStream(file)) val details = classes[reader.className] details.visited = true val classWriter = ClassWriter(0) reader.accept( ClassRemapper( classWriter,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 6.6K bytes - Viewed (0) -
maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeStaxBuilder.java
return build(parser, DEFAULT_TRIM, locationBuilder); } public static XmlNodeImpl build(Reader reader, InputLocationBuilderStax locationBuilder) throws XMLStreamException { XMLStreamReader parser = WstxInputFactory.newFactory().createXMLStreamReader(reader); return build(parser, DEFAULT_TRIM, locationBuilder); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java
* @since 3.5 */ public interface BuildCacheService extends Closeable { /** * Load the cached entry corresponding to the given cache key. The {@code reader} will be called if an entry is found in the cache. * * @param key the cache key. * @param reader the reader to read the data corresponding to the cache key. * @return {@code true} if an entry was found, {@code false} otherwise.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:59:40 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/IterationMarkCharFilterFactory.java
final Settings settings) { super(indexSettings, name); } @Override public Reader create(final Reader tokenStream) { return new IterationMarkCharFilter(tokenStream); }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/internal/buildid/note.go
} // It should be in the first few bytes, but read a lot just in case, // especially given our past problems on OS X with the build ID moving. // There shouldn't be much difference between reading 4kB and 32kB: // the hard part is getting to the data, not transferring it. n := sect.Size if n > uint64(readSize) { n = uint64(readSize) } buf := make([]byte, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 20:40:42 UTC 2023 - 6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java
* * Works without reading the whole log file into memory. */ boolean logContains(String searchString); /** * Returns whether the log file contains a given String, starting from line `fromLine` * * The first line in the file is the line 0. * * Works without reading the whole log file into memory. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java
Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException; /** * Reads the metadata from the specified character reader. The reader will be automatically closed before the method * returns. * * @param input The reader to deserialize the metadata from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.3K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
} } private Model read(Reader reader, Path pomFile, Map<String, ?> options) throws IOException { try { XMLInputFactory factory = new com.ctc.wstx.stax.WstxInputFactory(); factory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false); XMLStreamReader parser = factory.createXMLStreamReader(reader); InputSource source = getSource(options);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 5.7K bytes - Viewed (0)