- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for trailing (0.17 sec)
-
internal/hash/checksum.go
case c.Is(ChecksumSHA1): return sha1.New() case c.Is(ChecksumSHA256): return sha256.New() } return nil } // Trailing return whether the checksum is trailing. func (c ChecksumType) Trailing() bool { return c.Is(ChecksumTrailing) } // NewChecksumFromData returns a new checksum from specified algorithm and base64 encoded value.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 11.9K bytes - Viewed (0) -
internal/s3select/sql/parser_test.go
"substring('abcd' , 2 , 2)", "substring('abcd' , 22 )", "trim(' aab ')", "trim(leading from ' aab ')", "trim(trailing from ' aab ')", "trim(both from ' aab ')", "trim(both '12' from ' aab ')", "trim(leading '12' from ' aab ')", "trim(trailing '12' from ' aab ')", "count(23)", } for i, tc := range validCases { err := p.ParseString(tc, &fex) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
length = endIdx - startIdx } endIdx = startIdx + length } return string(rs[startIdx:endIdx]), nil } const ( trimLeading = "LEADING" trimTrailing = "TRAILING" trimBoth = "BOTH" ) func evalSQLTrim(where *string, trimChars, text string) (result string, err error) { cutSet := " " if trimChars != "" { cutSet = trimChars }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 4.2K bytes - Viewed (0) -
internal/hash/reader.go
cs, err := GetContentChecksum(req.Header) if err != nil { return ErrInvalidChecksum } if cs == nil { return nil } r.contentHash = *cs if cs.Type.Trailing() { r.trailer = req.Trailer } return r.AddNonTrailingChecksum(cs, ignoreValue) } // AddChecksumNoTrailer will add checksum checks as specified in
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 10.8K bytes - Viewed (0) -
cmd/signature-v4-utils.go
extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10)) default: return nil, ErrUnsignedHeaders } } return extractedSignedHeaders, ErrNone } // 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 {
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/lock/lock_windows.go
// The extended form disables evaluation of . and .. path // elements and disables the interpretation of / as equivalent // to \. The conversion here rewrites / to \ and elides // . elements as well as trailing or duplicate separators. For // simplicity it avoids the conversion entirely for relative // paths or paths containing .. elements. For now, // \\server\share paths are not converted to
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 7.9K bytes - Viewed (0) -
internal/config/cache/remote.go
} var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$") // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present func canonicalizeETag(etag string) string { return etagRegex.ReplaceAllString(etag, "$1") } // Init - populates the input values, initializes CondCheck
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 22 21:46:17 GMT 2023 - 3.7K bytes - Viewed (0) -
internal/s3select/select.go
} buf.WriteString(s3Select.Output.CSVArgs.RecordDelimiter) return nil case jsonFormat: err := record.WriteJSON(buf) if err != nil { return err } // Trim trailing newline from non-simd output if buf.Bytes()[buf.Len()-1] == '\n' { buf.Truncate(buf.Len() - 1) } buf.WriteString(s3Select.Output.JSONArgs.RecordDelimiter) return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Nov 06 22:26:08 GMT 2023 - 21K bytes - Viewed (0) -
cmd/object-api-utils.go
} // pathsJoinPrefix - like pathJoin retains trailing SlashSeparator // for all elements, prepends them with 'prefix' respectively. func pathsJoinPrefix(prefix string, elem ...string) (paths []string) { paths = make([]string, len(elem)) for i, e := range elem { paths[i] = pathJoin(prefix, e) } return paths } // pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/streaming-signature-v4.go
if cr.debug { fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig)) } return errMalformedEncoding } // TODO: It seems like we may have to be prepared to rewrite and sort trailing headers: // https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html // Any value must end with a newline. // Not all clients send that. trailerRaw := valueBuffer.Bytes()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 18.2K bytes - Viewed (0)