- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 628 for Rewrite (0.04 seconds)
-
cmd/xl-storage.go
return err } _, err = w.Write(b) if err != nil { w.Truncate(0) // to indicate that we did partial write. w.Close() return err } // Dealing with error returns from close() - 'man 2 close' // // A careful programmer will check the return value of close(), since it is quite possible that // errors on a previous write(2) operation are reported only on the final close() that releasesCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
docs/debugging/s3-check-md5/main.go
versions bool insecure bool ) // getMD5Sum returns MD5 sum of given data. func getMD5Sum(data []byte) []byte { hash := md5.New() hash.Write(data) return hash.Sum(nil) } func main() { flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL") flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/erasure_test.go
} } } decodedData := new(bytes.Buffer) if _, err = writeDataBlocks(t.Context(), decodedData, decoded, test.dataBlocks, 0, int64(len(data))); err != nil { t.Errorf("Test %d: failed to write data blocks: %v", i, err) } if !bytes.Equal(decodedData.Bytes(), data) { t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data) } } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/rest/client.go
if origAuth != "" { req.Header.Set("Authorization", "**REDACTED**") } // Only display request header. reqTrace, err := httputil.DumpRequestOut(req, false) if err != nil { return } // Write request to trace output. _, err = fmt.Fprint(c.TraceOutput, string(reqTrace)) if err != nil { return } // Only display response header. var respTrace []byteCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
// Update the actual server config on disk. if err = saveServerConfig(ctx, objectAPI, result.Cfg); err != nil { return result, err } // Write the config input KV to history. err = saveServerConfigHistory(ctx, objectAPI, kvBytes) return result, err } // GetConfigKVHandler - GET /minio/admin/v3/get-config-kv?key={key} //
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
api/go1.24.txt
pkg crypto/sha3, method (*SHA3) Size() int #69982 pkg crypto/sha3, method (*SHA3) Sum([]uint8) []uint8 #69982 pkg crypto/sha3, method (*SHA3) UnmarshalBinary([]uint8) error #69982 pkg crypto/sha3, method (*SHA3) Write([]uint8) (int, error) #69982 pkg crypto/sha3, method (*SHAKE) AppendBinary([]uint8) ([]uint8, error) #69982 pkg crypto/sha3, method (*SHAKE) BlockSize() int #69982
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 17 21:28:29 GMT 2024 - 14.2K bytes - Click Count (0) -
cmd/bucket-policy-handlers.go
return } configData, err := json.Marshal(config) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Write to client. writeSuccessResponseJSON(w, configData)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 6.1K bytes - Click Count (0) -
src/bufio/example_test.go
} func ExampleWriter_AvailableBuffer() { w := bufio.NewWriter(os.Stdout) for _, i := range []int64{1, 2, 3, 4} { b := w.AvailableBuffer() b = strconv.AppendInt(b, i, 10) b = append(b, ' ') w.Write(b) } w.Flush() // Output: 1 2 3 4 } // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer. func ExampleWriter_ReadFrom() { var buf bytes.Buffer writer := bufio.NewWriter(&buf)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
architecture/platforms.md
Provides build logic, libraries, test suites and infrastructure to support developing and releasing Gradle. ### Documentation Provides cross-cutting Gradle documentation and samples, along with the infrastructure to write, test, publish and host the documentation. ## Structure Each platform and module has its own source directory under [platforms/](../platforms).
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu May 02 06:42:46 GMT 2024 - 5.4K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
- type: textarea attributes: label: 1. What are you trying to do? validations: required: true - type: textarea attributes: label: 2. What's the best code you can write to accomplish that without the new feature? validations: required: true - type: textarea attributes: label: 3. What would that same code look like if we added your feature? validations:Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0)