- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,107 for len (0.02 sec)
-
cmd/signature-v2.go
authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ") if len(authFields) != 2 { return auth.Credentials{}, false, ErrMissingFields } // Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string. keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":") if len(keySignFields) != 2 { return auth.Credentials{}, false, ErrMissingFields }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { // observed two zero bytes here with at least win98 return 2; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len); pos += len; return true; } @Override public byte[] getResult() { return processedBytes; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
internal/kms/kms.go
// latency and update its and all subsequent counters. bucket := slices.IndexFunc(k.latencyBuckets, func(b time.Duration) bool { return latency < b }) if bucket < 0 { bucket = len(k.latencyBuckets) - 1 } for i := bucket; i < len(k.latency); i++ { k.latency[i].Add(1) } // Next, update the request counters if err == nil { k.reqOK.Add(1) return } var s3Err Error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/config/certsinfo.go
values = append(values, fmt.Sprintf("emailAddress=%s", name.Value)) } else { values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String())) } } if len(values) > 0 { buf.WriteString(values[0]) for i := 1; i < len(values); i++ { buf.WriteString(", " + values[i]) } buf.WriteString("\n") } return values } // CertificateText returns a human-readable string representation
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 3.1K bytes - Viewed (0) -
internal/config/config_test.go
}, } for _, test := range tests { test := test t.Run("", func(t *testing.T) { gotFields := kvFields(test.input, test.keys) if len(gotFields) != len(test.expectedFields) { t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields)) } found := true for _, field := range gotFields { _, ok := test.expectedFields[field] found = found && ok } if !found {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 18 22:55:17 UTC 2022 - 4.2K bytes - Viewed (0) -
cmd/mrf_gen.go
func (z *PartialOperation) Msgsize() (s int) { s = 1 + 7 + msgp.StringPrefixSize + len(z.Bucket) + 7 + msgp.StringPrefixSize + len(z.Object) + 10 + msgp.StringPrefixSize + len(z.VersionID) + 9 + msgp.BytesPrefixSize + len(z.Versions) + 9 + msgp.IntSize + 10 + msgp.IntSize + 7 + msgp.TimeSize + 11 + msgp.BoolSize return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/storage-rest-server.go
// the server. if countErrs(errs, errUnsupportedDisk) == len(errs) { return errUnsupportedDisk } if countErrs(errs, errDiskAccessDenied) == len(errs) { return errDiskAccessDenied } if countErrs(errs, errFileAccessDenied) == len(errs) { return errDiskAccessDenied } if countErrs(errs, errDiskNotDir) == len(errs) { return errDiskNotDir }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0) -
src/cmd/cgo/ast.go
func commentText(g *ast.CommentGroup) string { pieces := make([]string, 0, len(g.List)) for _, com := range g.List { c := com.Text // Remove comment markers. // The parser has given us exactly the comment text. switch c[1] { case '/': //-style comment (no newline at the end) c = c[2:] + "\n" case '*': /*-style comment */ c = c[2 : len(c)-2] } pieces = append(pieces, c) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 14 15:47:06 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/notification-summary.go
func GetTotalUsableCapacity(diskInfo []madmin.Disk, s StorageInfo) (capacity uint64) { for _, disk := range diskInfo { // Ignore invalid. if disk.PoolIndex < 0 || len(s.Backend.StandardSCData) <= disk.PoolIndex { // https://github.com/minio/minio/issues/16500 continue } // Ignore parity disks if disk.DiskIndex < s.Backend.StandardSCData[disk.PoolIndex] {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 2.2K bytes - Viewed (0)