- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for writeNL (0.21 sec)
-
src/cmd/internal/src/pos.go
// showOrig is set. func (p Pos) Format(showCol, showOrig bool) string { buf := new(bytes.Buffer) p.WriteTo(buf, showCol, showOrig) return buf.String() } // WriteTo a position to w, formatted as Format does. func (p Pos) WriteTo(w io.Writer, showCol, showOrig bool) { if !p.IsKnown() { io.WriteString(w, "<unknown line number>") return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 15.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilter.java
} /** * Writes this {@code BloomFilter} to an output stream, with a custom format (not Java * serialization). This has been measured to save at least 400 bytes compared to regular * serialization. * * <p>Use {@linkplain #readFrom(InputStream, Funnel)} to reconstruct the written BloomFilter. */ public void writeTo(OutputStream out) throws IOException { // Serial form:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 26.3K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
p.mu.Lock() defer p.mu.Unlock() delete(p.m, value) } // WriteTo writes a pprof-formatted snapshot of the profile to w. // If a write to w returns an error, WriteTo returns that error. // Otherwise, WriteTo returns nil. // // The debug parameter enables additional output. // Passing debug=0 writes the gzip-compressed protocol buffer described // in https://github.com/google/pprof/tree/main/proto#overview.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
cmd/erasure-multipart.go
} if len(buffer) > int(fi.Erasure.BlockSize) { buffer = buffer[:fi.Erasure.BlockSize] } writers := make([]io.Writer, len(onlineDisks)) for i, disk := range onlineDisks { if disk == nil { continue } writers[i] = newBitrotWriter(disk, bucket, minioMetaTmpBucket, tmpPartPath, erasure.ShardFileSize(data.Size()), DefaultBitrotAlgorithm, erasure.ShardSize()) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/sftp-server-driver.go
nextOffset int64 m sync.Mutex } func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) { w.m.Lock() defer w.m.Unlock() if w.nextOffset == offset { n, err = w.w.Write(b) w.nextOffset += int64(n) } else { if offset > w.nextOffset+ftpMaxWriteOffset { return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
return nil, err } // Establish file header and initial data area if not already present. if info.Size() < minFileLen { if _, err := f.WriteAt(hdr, 0); err != nil { return nil, err } // Write zeros at the end of the file to extend it to minFileLen. if _, err := f.WriteAt(m.zero[:], int64(minFileLen-len(m.zero))); err != nil { return nil, err } info, err = f.Stat() if err != nil { return nil, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } var s strings.Builder for _, subSysConfig := range subSysConfigs { subSysConfig.WriteTo(&s, false) } password := cred.SecretKey econfigData, err := madmin.EncryptData(password, []byte(s.String())) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.9K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} case testWriteTo: f := &testFile{ops: tf.ops} got, err := fr.WriteTo(f) if _, ok := err.(testError); ok { t.Errorf("test %d.%d, WriteTo(): %v", i, j, err) } else if got != tf.wantCnt || err != tf.wantErr { t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr) } if len(f.ops) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 21:14:38 UTC 2022 - 47.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
setLevel(Level.HEADERS) server.enqueue(MockResponse()) val body: RequestBody = object : RequestBody() { override fun contentType() = PLAIN override fun writeTo(sink: BufferedSink) { sink.writeUtf8("Hi!") } } val response = client.newCall(request().post(body).build()).execute() response.body.close() applicationLogs
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0)