- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 361 for Buf (0.03 sec)
-
cmd/admin-handlers.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
cmd/server_test.go
} putContent := buffer.String() buf := bytes.NewReader([]byte(putContent)) objectName := "test-big-object" // create HTTP request for object upload. request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName), int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) // execute the HTTP request.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} } }) } }) b.Run("Reader", func(b *testing.B) { for _, v := range vectors { var buf bytes.Buffer var r bytes.Reader // Write the archive to a byte buffer. tw := NewWriter(&buf) for _, file := range v.files { tw.WriteHeader(file.hdr) tw.Write(file.body) } tw.Close() b.Run(v.label, func(b *testing.B) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/archive/tar/writer.go
if len(paxHdrs) > 0 || isGlobal { // Write each record to a buffer. var buf strings.Builder // Sort keys for deterministic ordering. for _, k := range slices.Sorted(maps.Keys(paxHdrs)) { rec, err := formatPAXRecord(k, paxHdrs[k]) if err != nil { return err } buf.WriteString(rec) } // Write the extended header file. var name string var flag byte
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
func ParseObjectLegalHold(reader io.Reader) (hold *ObjectLegalHold, err error) { buf, err := io.ReadAll(io.LimitReader(reader, maxObjectLockConfigSize)) if err != nil { return nil, err } hold = &ObjectLegalHold{} if err = xml.NewDecoder(bytes.NewReader(buf)).Decode(hold); err != nil { return nil, err } if !hold.Status.Valid() { return nil, ErrMalformedXML }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
// gap->num => "num" gap->gap => "" StringBuilder buf = new StringBuilder(39); boolean lastWasNumber = false; for (int i = 0; i < hextets.length; i++) { boolean thisIsNumber = hextets[i] >= 0; if (thisIsNumber) { if (lastWasNumber) { buf.append(':'); } buf.append(Integer.toHexString(hextets[i])); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 53.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
try ( InputStream errorStream = this.connection.getErrorStream() ) { if ( errorStream != null && errorStream.available() != 0 ) { byte[] buf = new byte[1024]; while ( ( errorStream.read(buf, 0, 1024) ) != -1 ); } String authHeader; if ( response == HTTP_UNAUTHORIZED ) { authHeader = "WWW-Authenticate";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0) -
cmd/erasure-healing.go
continue } partPath := pathJoin(tmpID, dstDataDir, fmt.Sprintf("part.%d", partNumber)) if len(inlineBuffers) > 0 { buf := grid.GetByteBufferCap(int(erasure.ShardFileSize(latestMeta.Size)) + 64) inlineBuffers[i] = bytes.NewBuffer(buf[:0]) defer grid.PutByteBuffer(buf) writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize()) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 02 17:50:41 UTC 2024 - 34.4K bytes - Viewed (0) -
cmd/admin-handlers-users.go
effectivePolicy = globalIAMSys.GetCombinedPolicy(policies...) } buf, err = json.MarshalIndent(effectivePolicy, "", " ") if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } acctInfo := madmin.AccountInfo{ AccountName: accountName, Server: objectAPI.BackendInfo(), Policy: buf, } for _, bucket := range buckets {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0)