- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,825 for writeFn (0.05 sec)
-
android/guava/src/com/google/common/hash/HashingOutputStream.java
} @Override public void write(int b) throws IOException { hasher.putByte((byte) b); out.write(b); } @Override public void write(byte[] bytes, int off, int len) throws IOException { hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/erasure-healing.go
// later to the final location. err = erasure.Heal(ctx, writers, readers, partSize, prefer) closeBitrotReaders(readers) closeErrs := closeBitrotWriters(writers) if err != nil { return result, err } // outDatedDisks that had write errors should not be // written to for remaining parts, so we nil it out. for i, disk := range outDatedDisks { if disk == OfflineDisk { continue }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
super(checkNotNull(out)); } /** Returns the number of bytes written. */ public long getCount() { return count; } @Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
outFrames.add(OutFrame(frameCount++, bytesOut.size, false)) return writer } /** * Shortens the last frame from its original length to `length`. This will cause the peer to * close the socket as soon as this frame has been written; otherwise the peer stays open until * explicitly closed. */ fun truncateLastFrame(length: Int): Http2Writer { val lastFrame = outFrames.removeAt(outFrames.size - 1)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
writer.write(hit.getSourceAsString()); writer.write("\n"); } catch (final IOException e) { throw new IORuntimeException(e); } return true; }); writer.flush(); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/recipes.md
@Throws(IOException::class) override fun writeTo(sink: BufferedSink) { val forwardingSink = object : ForwardingSink(sink) { private var totalBytesWritten: Long = 0 private var completed = false override fun write(source: Buffer, byteCount: Long) { super.write(source, byteCount) totalBytesWritten += byteCountRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
cmd/metacache-walk_gen.go
if err != nil { err = msgp.WrapError(err, "ForwardTo") return } // write "Limit" err = en.Append(0xa5, 0x4c, 0x69, 0x6d, 0x69, 0x74) if err != nil { return } err = en.WriteInt(z.Limit) if err != nil { err = msgp.WrapError(err, "Limit") return } // write "DiskID" err = en.Append(0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44) if err != nil { return }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format. * * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return the number of bytes written */ public int writeWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.java
} /** * Method write. * * @param writer a writer object. * @param persistedToolchains a persistedToolchains object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, PersistedToolchains persistedToolchains) throws IOException { try { delegate.write(writer, persistedToolchains.getDelegate());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat May 31 10:30:45 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/distributed/SIZING.md
protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives. This will allow normal write operations to take place on systems that exceed the write tolerance.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 3.9K bytes - Viewed (0)