- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,124 for nil (0.05 sec)
-
internal/s3select/jstream/decoder.go
return i, Number, err case '-': if c = d.next(); c < '0' || c > '9' { return nil, Unknown, d.mkError(ErrSyntax, "in negative numeric literal") } n, err := d.number() if err != nil { return nil, Unknown, err } return -n, Number, nil case 'f': if d.remaining() < 4 { return nil, Unknown, d.mkError(ErrUnexpectedEOF) } //nolint:gocritic
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
if i.clients == nil { i.clients = make(map[string]kube.CLIClient) } if i.clients[rev] == nil { client, err := newKubeClientWithRevision(*i.kubeconfig, *i.configContext, rev, i.getImpersonateConfig()) if err != nil { return nil, err } i.clients[rev] = client } return i.clients[rev], nil } func (i *instance) CLIClient() (kube.CLIClient, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
{ []error{ errFileNotFound, errFileNotFound, errFileNotFound, errFileNotFound, errFileNotFound, nil, nil, nil, nil, nil, }, nil, nil, }, // Checks if wrapped context cancellation errors are grouped as one. {canceledErrs, nil, context.Canceled}, } // Validates list of all the testcases for returning valid errors. for i, testCase := range testCases {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.4K bytes - Viewed (0) -
src/bufio/example_test.go
if i == -1 { if !atEOF { return 0, nil, nil } // If we have reached the end, return the last token. return 0, data, bufio.ErrFinalToken } // If the token is "STOP", stop the scanning and ignore the rest. if string(data[:i]) == "STOP" { return i + 1, nil, bufio.ErrFinalToken } // Otherwise, return the token before the comma. return i + 1, data[:i], nil } const input = "1,2,STOP,4,"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
src/bytes/reader_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
cmd/endpoint.go
endpoint, err := NewEndpoint(poolsLayout[0].layout[0][0]) if err != nil { return nil, setupType, err } if err := endpoint.UpdateIsLocal(); err != nil { return nil, setupType, err } if endpoint.Type() != PathEndpointType { return nil, setupType, config.ErrInvalidEndpoint(nil).Msg("use path style endpoint for single node setup") } endpoint.SetPoolIndex(0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
internal/jwt/parser.go
if err != nil { return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed} } n, err = base64DecodeBytes(token[i+1:j], buf) if err != nil { return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed} } if err = claims.UnmarshalJSON(buf[:n]); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
internal/crypto/metadata.go
} if IsMultiPart(metadata) { return nil, true } if _, ok := metadata[MetaIV]; ok { return nil, true } if _, ok := metadata[MetaAlgorithm]; ok { return nil, true } if _, ok := metadata[MetaKeyID]; ok { return nil, true } if _, ok := metadata[MetaDataEncryptionKey]; ok { return nil, true } if _, ok := metadata[MetaContext]; ok { return nil, true } return nil, false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/erasure-encode.go
for i := range p.writers { if p.errs[i] != nil { continue } if p.writers[i] == nil { p.errs[i] = errDiskNotFound continue } var n int n, p.errs[i] = p.writers[i].Write(blocks[i]) if p.errs[i] == nil { if n != len(blocks[i]) { p.errs[i] = io.ErrShortWrite p.writers[i] = nil } } else { p.writers[i] = nil } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/sftp-server.go
if !ok { return nil, errNoSuchUser } if caPublicKey != nil && pass == nil { err := validateKey(c, key) if err != nil { return nil, errAuthentication } } else { // Temporary credentials are not allowed. if ui.Credentials.IsTemp() { return nil, errAuthentication } if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0)