- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,612 for writeFn (0.34 sec)
-
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.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 += byteCount
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0); // Skip detailed context verification since we can't access headerStart // Just verify that contexts were written assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request } @Test @DisplayName("Should handle empty negotiate contexts array")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
// Check that the path is written after the referral level // The path should be written starting at index 2 // writeString adds null terminator assertTrue(len > 2, "Length should include path"); String writtenPath = extractStringFromBuffer(buffer, 2, len - 2); assertTrue(writtenPath.contains("abc"), "Path should be written to buffer"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} } /** * Writes the specified byte to this file output stream. * * @throws IOException * if a network error occurs */ @Override public void write(final int b) throws IOException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } /** * Writes b.length bytes from the specified byte array to this
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
.build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).writer(writer).build()); } void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException; /** * Simply parse the given xml string. * * @param xml the input xml string
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.9K bytes - Viewed (0) -
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 is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/metacache-set_gen.go
return } err = en.WriteInt(z.pool) if err != nil { err = msgp.WrapError(err, "pool") return } // write "set" err = en.Append(0xa3, 0x73, 0x65, 0x74) if err != nil { return } err = en.WriteInt(z.set) if err != nil { err = msgp.WrapError(err, "set") return } return } // MarshalMsg implements msgp.Marshaler
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
return byteSink.wasStreamClosed(); } @Override public Writer openStream() throws IOException { // using TestByteSink's output stream to get option behavior, so flush to it on every write return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { @Override public void write(int c) throws IOException { super.write(c); flush(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
func (z *CheckPartsResp) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 1 // write "r" err = en.Append(0x81, 0xa1, 0x72) if err != nil { return } err = en.WriteArrayHeader(uint32(len(z.Results))) if err != nil { err = msgp.WrapError(err, "Results") return } for za0001 := range z.Results { err = en.WriteInt(z.Results[za0001]) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 152K bytes - Viewed (0)