- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 475 for readLen (0.06 sec)
-
cmd/naughty-disk_test.go
} func (d *naughtyDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error { if err := d.calcError(); err != nil { return err } return d.disk.CreateFile(ctx, origvolume, volume, path, size, reader) } func (d *naughtyDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *rebalSaveOpts) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint8 zb0001, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err) return } (*z) = rebalSaveOpts(zb0001) } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} @Test @DisplayName("readn should throw IOException when buffer too short") void shouldThrowWhenBufferTooShort() { InputStream is = new ByteArrayInputStream("test".getBytes()); assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10)); } @Test @DisplayName("readn should return 0 when no more bytes available")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/erasure-encode.go
return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers)) } // Encode reads from the reader, erasure-encodes the data and writes to the writers. func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) { writer := &multiWriter{ writers: writers, writeQuorum: quorum,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/debugging/inspect/main.go
} else { break } n++ } // Prompt for decryption key if no --key or --private-key are provided if len(privateKeys) == 0 && !*stdin { reader := bufio.NewReader(os.Stdin) fmt.Print("Enter Decryption Key: ") text, _ := reader.ReadString('\n') // convert CRLF to LF *keyHex = strings.ReplaceAll(text, "\n", "") *keyHex = strings.TrimSpace(*keyHex) } } var inputs []string
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 17 17:09:42 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
prop.load(inStream); properties = prop; } @Override public synchronized void load(final Reader reader) throws IOException { final Properties prop = new Properties(); lastModified = propertiesFile.lastModified(); prop.load(reader); properties = prop; } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
test_docs.sh
# Generate the API docs ./gradlew dokkaHtmlMultiModule mv ./build/dokka/htmlMultiModule docs/4.x # Copy in special files that GitHub wants in the project root. cat README.md | grep -v 'project website' > docs/index.md cp CHANGELOG.md docs/changelogs/changelog.md cp CONTRIBUTING.md docs/contribute/contributing.md # Build the site locally
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:52:16 UTC 2024 - 718 bytes - Viewed (1) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
// Replace the body with a stripped one so the callbacks can't see real data. val response = response.stripBody() val reader = ServerSentEventReader(body.source(), this) try { if (!canceled) { listener.onOpen(this, response) while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception = when {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/archive/zip/testdata/zip64.zip
README This small file is in ZIP64 format....
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 242 bytes - Viewed (0)