- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,825 for writeFn (0.1 sec)
-
src/main/java/org/codelibs/core/io/WriterUtil.java
import java.io.OutputStreamWriter; import java.io.Writer; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link Writer} operations. * * @author koichik */ public abstract class WriterUtil { /** * Do not instantiate. */ protected WriterUtil() { } /** * Creates a {@link Writer} to output to a stream with the specified encoding. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
throw new IORuntimeException(e); } } /** * Writes the specified byte array to the file at the given pathname. * * @param pathname * The path to the file. * @param bytes * The byte array to write. */ public static void writeBytes(final String pathname, final byte[] bytes) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
override fun contentLength(): Long = postBytes.size.toLong() override fun writeTo(sink: BufferedSink) { sink.write(postBytes) // push bytes into the stream's buffer sink.flush() // Http2Connection.writeData subject to write window sink.close() // Http2Connection.writeData empty frame } }, ), )Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
// make the new snapshot the current one versioning.setSnapshot(snapshot); versioning.setLastUpdatedTimestamp(timestamp); return sv; } // the format written by Maven 2 // (https://maven.apache.org/ref/2.2.1/maven-repository-metadata/repository-metadata.html) private static void addSnapshotVersionLegacy(Versioning versioning, Date timestamp, int buildNumber) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
throws ModelInterpolationException { StringWriter sWriter = new StringWriter(1024); MavenStaxWriter writer = new MavenStaxWriter(); try { writer.write(sWriter, model.getDelegate()); } catch (IOException | XMLStreamException e) { throw new ModelInterpolationException("Cannot serialize project model for interpolation.", e);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . * * @throws IOException */ @Test public void testStorePropertiesWriterString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final Writer writer = WriterUtil.create(file);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
internal/logger/logger.go
EventKind = madmin.LogKindEvent InfoKind = madmin.LogKindInfo ) var ( // DisableLog avoids printing error/event/info kind of logs DisableLog = false // Output allows configuring custom writer, defaults to os.Stderr Output io.Writer = os.Stderr ) var trimStrings []string // TimeFormat - logging time format. const TimeFormat string = "15:04:05 MST 01/02/2006" var matchingFuncNames = [...]string{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
internal/kms/context.go
// provided when decrypting an encrypted DEK. type Context map[string]string // MarshalText returns a canonical text representation of // the Context. // MarshalText sorts the context keys and writes the sorted // key-value pairs as canonical JSON object. The sort order // is based on the un-escaped keys. It never returns an error. func (c Context) MarshalText() ([]byte, error) { if len(c) == 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
// array slot is read and written exactly once. However, it can have very poor memory locality: // benchmarking shows it can take 7 times longer than the other two in some cases. The other two // do n swaps, minus a delta (0 or 2 for Reversal, gcd(d, n) for Successive), so that's about // twice as many reads and writes. But benchmarking shows that they usually perform better thanRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0) -
docs/compression/README.md
Compression happens inflight, i.e objects are compressed before being written to disk(s). MinIO uses [`klauspost/compress/s2`](https://github.com/klauspost/compress/tree/master/s2) streaming compression due to its stability and performance. This algorithm is specifically optimized for machine generated content. Write throughput is typically at least 500MB/s per CPU core, and scales with the number of available CPU cores.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.2K bytes - Viewed (0)