- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 722 for Write (0.02 seconds)
-
internal/s3select/csv/record.go
w := csv.NewWriter(writer) w.Comma = opts.FieldDelimiter w.AlwaysQuote = opts.AlwaysQuote w.Quote = opts.Quote w.QuoteEscape = opts.QuoteEscape if err := w.Write(r.csvRecord); err != nil { return err } w.Flush() return w.Error() } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
import org.gradle.util.GradleVersion import org.gradle.util.internal.VersionNumber import org.jetbrains.annotations.VisibleForTesting import org.jsoup.Jsoup /** * Fetch the latest AGP versions and write a properties file. * Never up-to-date, non-cacheable. * * AGP major versions are aligned with Gradle major versions. * IOW, AGP X.y officially only supports Gradle X.z. *
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Oct 24 09:10:29 GMT 2025 - 7.6K bytes - Click Count (0) -
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) -
internal/grid/grid.go
return 0 } if d > MaxDeadline { return MaxDeadline } return d } type writerWrapper struct { ch chan<- []byte ctx context.Context } func (w *writerWrapper) Write(p []byte) (n int, err error) { buf := GetByteBufferCap(len(p)) buf = buf[:len(p)] copy(buf, p) select { case w.ch <- buf: return len(p), nil case <-w.ctx.Done(): return 0, context.Cause(w.ctx)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
cmd/bitrot.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K 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) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
throws ModelBuilderException, XMLStreamException, IOException { Model model = builder.build(session, project, src); write(model, tgt); } private void deferDeleteFile(Path generatedFile) { toDelete.add(generatedFile.toAbsolutePath()); } @PreDestroy private void doDeleteFiles() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 8.9K bytes - Click Count (0)