- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,732 for writeFn (3.46 sec)
-
cmd/storage-rest-client.go
// some requests are not retried internally, such as POST request with written body case strings.Contains(err.Error(), "server closed idle connection"): return true } return false } // Converts network error to storageErr. This function is // written so that the storageAPI errors are consistent // across network disks. func toStorageErr(err error) error { if err == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
continue } if !init && !partsMetadata[index].IsValid() { // Check for parts metadata validity for only // fi.ModTime is not empty - ModTime is always set, // if object was ever written previously. continue } if !init && fi.XLV1 != partsMetadata[index].XLV1 { continue } blockIndex := distribution[index] shuffledPartsMetadata[blockIndex-1] = partsMetadata[index]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/metacache-stream_test.go
"src/compress/lzw/", "src/compress/lzw/reader.go", "src/compress/lzw/reader_test.go", "src/compress/lzw/writer.go", "src/compress/lzw/writer_test.go", "src/compress/testdata/", "src/compress/testdata/e.txt", "src/compress/testdata/gettysburg.txt", "src/compress/testdata/pi.txt", "src/compress/zlib/", "src/compress/zlib/example_test.go", "src/compress/zlib/reader.go", "src/compress/zlib/reader_test.go", "src/compress/zlib/writer.go", "src/compress/zlib/writer_test.go"} func loadMetacacheSample(t testing.TB)...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
byte[] dst = new byte[1024]; int dstIndex = 0; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, dstIndex); // Verify bytes written assertTrue(bytesWritten > 0); // Verify subcommand assertEquals(SmbComTransaction.NET_SERVER_ENUM2, dst[0]); assertEquals(0, dst[1]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
// if object upload fails stop the test. if err != nil { t.Fatalf("Error uploading object: <ERROR> %v", err) } // initialize httptest Recorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request for DELETE bucket.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
clause/clause.go
// ClauseBuilder clause builder, allows to customize how to build clause type ClauseBuilder func(Clause, Builder) type Writer interface { WriteByte(byte) error WriteString(string) (int, error) } // Builder builder interface type Builder interface { Writer WriteQuoted(field interface{}) AddVar(Writer, ...interface{}) AddError(error) error } // Clause type Clause struct { Name string // WHERE
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Feb 02 09:15:08 UTC 2023 - 1.7K bytes - Viewed (0) -
src/bufio/scan_test.go
type slowReader struct { max int buf io.Reader } func (sr *slowReader) Read(p []byte) (n int, err error) { if len(p) > sr.max { p = p[0:sr.max] } return sr.buf.Read(p) } // genLine writes to buf a predictable but non-trivial line of text of length // n, including the terminal newline and an occasional carriage return. // If addNewline is false, the \r and \n are not emitted.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
packet.questionCount = 1; packet.answerCount = 2; packet.authorityCount = 3; packet.additionalCount = 4; int written = packet.writeHeaderWireFormat(dst, 0); assertEquals(NameServicePacket.HEADER_LENGTH, written); assertEquals((byte) 0x12, dst[0]); // nameTrnId assertEquals((byte) 0x34, dst[1]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
int smallEncodedSize = context.encode(smallBuffer, 0); int largeEncodedSize = context.encode(largeBuffer, 500); // Assert // encode() returns actual bytes written (6), not size() value (8) assertEquals(6, smallEncodedSize); // actual: 2 bytes count + 2*2 bytes for ciphers assertEquals(6, largeEncodedSize); // Verify data at different positions
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
interfaces.go
type Dialector interface { Name() string Initialize(*DB) error Migrator(db *DB) Migrator DataTypeOf(*schema.Field) string DefaultValueOf(*schema.Field) clause.Expression BindVarTo(writer clause.Writer, stmt *Statement, v interface{}) QuoteTo(clause.Writer, string) Explain(sql string, vars ...interface{}) string } // Plugin GORM plugin interface type Plugin interface { Name() string Initialize(*DB) error }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Aug 19 13:33:31 UTC 2023 - 2.2K bytes - Viewed (0)