- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for trimPrefix (0.15 sec)
-
tests/serializer_test.go
switch value := dbValue.(type) { case []byte: *es = EncryptedString(bytes.TrimPrefix(value, []byte("hello"))) case string: *es = EncryptedString(strings.TrimPrefix(value, "hello")) default: return fmt.Errorf("unsupported data %#v", dbValue) } return nil }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
cmd/signature-v4-parser.go
ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype) if s3Err != ErrNone { // Strip off the Algorithm prefix. v4Auth := strings.TrimPrefix(r.Header.Get("Authorization"), signV4Algorithm) authFields := strings.Split(strings.TrimSpace(v4Auth), ",") if len(authFields) != 3 { return auth.Credentials{}, false, ErrMissingFields }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/bucket-policy.go
} for _, objLock := range []string{ xhttp.AmzObjectLockMode, xhttp.AmzObjectLockLegalHold, xhttp.AmzObjectLockRetainUntilDate, } { if values, ok := cloneHeader[objLock]; ok { args[strings.TrimPrefix(objLock, "X-Amz-")] = values } cloneHeader.Del(objLock) } for key, values := range cloneHeader { if strings.EqualFold(key, xhttp.AmzObjectTagging) { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/decommetric_string.go
// Code generated by "stringer -type=decomMetric -trimprefix=decomMetric erasure-server-pool-decom.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[decomMetricDecommissionBucket-0] _ = x[decomMetricDecommissionObject-1] _ = x[decomMetricDecommissionRemoveObject-2]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 10 19:46:45 UTC 2022 - 830 bytes - Viewed (0) -
cmd/osmetric_string.go
// Code generated by "stringer -type=osMetric -trimprefix=osMetric os-instrumented.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[osMetricRemoveAll-0] _ = x[osMetricMkdirAll-1] _ = x[osMetricMkdir-2] _ = x[osMetricRename-3] _ = x[osMetricOpenFileW-4]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/batchjobmetric_string.go
// Code generated by "stringer -type=batchJobMetric -trimprefix=batchJobMetric batch-handlers.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[batchJobMetricReplication-0] _ = x[batchJobMetricKeyRotation-1] _ = x[batchJobMetricExpire-2] }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 797 bytes - Viewed (0) -
cmd/healingmetric_string.go
// Code generated by "stringer -type=healingMetric -trimprefix=healingMetric erasure-healing.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[healingMetricBucket-0] _ = x[healingMetricObject-1] _ = x[healingMetricCheckAbandonedParts-2] }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 28 18:20:55 UTC 2022 - 789 bytes - Viewed (0) -
cmd/scannermetric_string.go
// Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[scannerMetricReadMetadata-0] _ = x[scannerMetricCheckMissing-1] _ = x[scannerMetricSaveUsage-2]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java
this.projectDir = projectDir; this.pathTranslator = pathTranslator; } @Override public Object execute(String expression, Object value) { expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true); if (projectDir != null && value != null && unprefixedPathKeys.contains(expression)) { return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.1K bytes - Viewed (0) -
cmd/bucket-lifecycle-audit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "strconv" "github.com/minio/minio/internal/bucket/lifecycle" ) //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE type lcEventSrc uint8 //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins const ( lcEventSrc_None lcEventSrc = iota
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 2.6K bytes - Viewed (0)