- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for Spaces (1.35 sec)
-
cmd/signature-v4-utils.go
} // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall() // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html func signV4TrimAll(input string) string { // Compress adjacent spaces (a space is determined by // unicode.IsSpace() internally here) to one space and return return strings.Join(strings.Fields(input), " ") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 18:56:45 GMT 2024 - 9K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config.go
} case AWSKms: keyID := rule.DefaultEncryptionAction.MasterKeyID if keyID == "" { return nil, errors.New("MasterKeyID is missing with aws:kms") } spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ") if spaces { return nil, errors.New("MasterKeyID contains unsupported characters") } } } if config.XMLNS == "" { config.XMLNS = xmlNS }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 4.9K bytes - Viewed (0) -
code_of_conduct.md
licensing terms of the Project Developments that will always supersede such Code of Conduct. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 20 18:38:58 GMT 2020 - 3.5K bytes - Viewed (0) -
internal/crypto/sse-kms.go
if err := json.Unmarshal(b, &ctx); err != nil { return "", nil, err } } keyID := h.Get(xhttp.AmzServerSideEncryptionKmsID) spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ") if spaces { return "", nil, ErrInvalidEncryptionKeyID } return strings.TrimPrefix(keyID, ARNPrefix), ctx, nil } // IsEncrypted returns true if the object metadata indicates
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 8.4K bytes - Viewed (0) -
cmd/signature-v4-parser.go
// credElement is fetched first to skip replacing the space in access key. credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm) // Replace all spaced strings, some clients can send spaced // parameters and some won't. So we pro-actively remove any spaces // to make parsing easier. v4Auth = strings.ReplaceAll(v4Auth, " ", "") if v4Auth == "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0) -
internal/grid/trace.go
if t == nil || t.Publisher.NumSubscribers(t.TraceType) == 0 { return c.roundtrip(h, req) } // Following trimming is needed for consistency between outputs with other internode traces. local := strings.TrimPrefix(strings.TrimPrefix(t.Local, httpsScheme), httpScheme) remote := strings.TrimPrefix(strings.TrimPrefix(t.Remote, httpsScheme), httpScheme) start := time.Now() body := bytesOrLength(req)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 02 22:54:54 GMT 2024 - 4K bytes - Viewed (0) -
update-credits.sh
within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or,
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Aug 11 05:08:38 GMT 2023 - 11.4K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
// needed. // String might contain trimming spaces, which // needs to be trimmed. res, ok := strToInt(strings.TrimSpace(x)) if !ok { return 0, errCastFailure("could not parse as int") } return res, nil case []byte: // Parse as number, truncate floating point if // needed. // String might contain trimming spaces, which // needs to be trimmed.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 13.2K bytes - Viewed (0) -
internal/config/config_test.go
expectedFields: map[string]struct{}{ `connection_string="host=localhost port=2832"`: {}, `comment="really long comment"`: {}, }, }, // Keys with spaces in between { input: `enable=on format=namespace connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable" table=holicrayoli`,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 18 22:55:17 GMT 2022 - 4.2K bytes - Viewed (0) -
internal/config/certs.go
// Read certificate file. var data []byte if data, err = os.ReadFile(certFile); err != nil { return nil, err } // Trimming leading and tailing white spaces. data = bytes.TrimSpace(data) // Parse all certs in the chain. current := data for len(current) > 0 { var pemBlock *pem.Block if pemBlock, current = pem.Decode(current); pemBlock == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 3.8K bytes - Viewed (0)