- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for byte (0.02 sec)
-
src/bytes/bytes_test.go
{"TrimRight", []byte("☺"), "☺", []byte{}}, {"TrimPrefix", nil, "", nil}, {"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}}, {"TrimSuffix", []byte("☺"), "☺", []byte{}}, }
Registered: 2025-05-27 11:13 - Last Modified: 2025-05-15 21:24 - 62.9K bytes - Viewed (0) -
cmd/xl-storage.go
} return buf, stat.ModTime().UTC(), err } func (s *xlStorage) readMetadata(ctx context.Context, itemPath string) ([]byte, error) { return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) ([]byte, error) { buf, _, err := s.readMetadataWithDMTime(ctx, itemPath) return buf, err }) }
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-25 05:41 - 91.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* @param out * 出力ストリーム * @return コピーしたバイト数 */ protected static int copyInternal(final InputStream in, final OutputStream out) { try { final byte[] buf = new byte[DEFAULT_BUF_SIZE]; int len; int amount = 0; while ((len = in.read(buf)) != -1) { out.write(buf, 0, len); amount += len; }
Registered: 2025-05-24 08:58 - Last Modified: 2025-05-10 01:32 - 52.4K bytes - Viewed (0) -
cmd/iam.go
if !ok { // Sub policy if set, should be a string reject // malformed/malicious requests. return } // Check if policy is parseable. subPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(spolicyStr))) if err != nil { // Log any error in input session policy config. iamLogIf(GlobalContext, err) return }
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-16 07:34 - 76.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(char.class, TypeToken.of(char[].class).getComponentType().getType()); assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType()); assertEquals(byte.class, TypeToken.of(byte[].class).getComponentType().getType()); assertEquals(short.class, TypeToken.of(short[].class).getComponentType().getType()); assertEquals(int.class, TypeToken.of(int[].class).getComponentType().getType());
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-14 19:40 - 89.2K bytes - Viewed (0) -
cmd/admin-handlers-users.go
roleArn := policy.Args{Claims: cred.Claims}.GetRoleArn() policySetFromClaims, hasPolicyClaim := policy.GetPoliciesFromClaims(cred.Claims, iamPolicyClaimNameOpenID()) var effectivePolicy policy.Policy var buf []byte switch { case accountName == globalActiveCred.AccessKey || newGlobalAuthZPluginFn() != nil: // For owner account and when plugin authZ is configured always set // effective policy as `consoleAdmin`. //
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-24 18:14 - 90.6K bytes - Viewed (0) -
cmd/batch-handlers.go
} if serverDebugLog { console.Debugf("%s: persisting info on drive: threshold:%s, %s:%#v\n", jobTyp, now.Sub(ri.LastUpdate), jobTyp, ri) } ri.LastUpdate = now data := make([]byte, 4, ri.Msgsize()+4) // Initialize the header. binary.LittleEndian.PutUint16(data[0:2], format) binary.LittleEndian.PutUint16(data[2:4], version) buf, err := ri.MarshalMsg(data) ri.mu.Unlock()
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-28 04:19 - 63.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val recordedRequest = server.takeRequest() assertThat(recordedRequest.headers[":authority"]).isEqualTo("privateobject.com") } private fun gzip(bytes: String): Buffer { val bytesOut = Buffer() val sink = GzipSink(bytesOut).buffer() sink.writeUtf8(bytes) sink.close() return bytesOut } internal inner class AsyncRequest( val path: String,
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-27 14:51 - 75.9K bytes - Viewed (0) -
cmd/api-errors.go
}, ErrInvalidCopyPartRange: { Code: "InvalidArgument", Description: "The x-amz-copy-source-range value must be of the form bytes=first-last where first and last are the zero-based offsets of the first and last bytes to copy", HTTPStatusCode: http.StatusBadRequest, }, ErrInvalidCopyPartRangeSource: { Code: "InvalidArgument",
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-16 07:34 - 93K bytes - Viewed (1) -
cmd/iam-store.go
// The on-disk format of policy definitions has changed (around early 12/2021) // from policy.Policy to PolicyDoc. To avoid a migration, loading supports // both the old and the new formats. func (d *PolicyDoc) parseJSON(data []byte) error { json := jsoniter.ConfigCompatibleWithStandardLibrary var doc PolicyDoc err := json.Unmarshal(data, &doc) if err != nil { err2 := json.Unmarshal(data, &doc.Policy) if err2 != nil {
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-16 07:34 - 87K bytes - Viewed (0)