- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for trimSuffix (0.05 sec)
-
src/bytes/bytes_test.go
{"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}}, {"TrimSuffix", []byte("☺"), "☺", []byte{}}, } func TestTrim(t *testing.T) { toFn := func(name string) (func([]byte, string) []byte, func([]byte, []byte) []byte) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
cmd/iam.go
policyMapFile := strings.TrimPrefix(event.keyPath, iamConfigPolicyDBUsersPrefix) user := strings.TrimSuffix(policyMapFile, ".json") err = sys.store.PolicyMappingNotificationHandler(ctx, user, false, regUser) case policyDBSTSUsersPrefix: policyMapFile := strings.TrimPrefix(event.keyPath, iamConfigPolicyDBSTSUsersPrefix) user := strings.TrimSuffix(policyMapFile, ".json") err = sys.store.PolicyMappingNotificationHandler(ctx, user, false, stsUser)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/iam-store.go
} groupSet.Add(group) } } groupPolicyMappingsList := listedConfigItems[policyDBGroupsListKey] for _, item := range groupPolicyMappingsList { group := strings.TrimSuffix(item, ".json") if err = iamOS.loadMappedPolicy(ctx, group, regUser, true, cache.iamGroupPolicyMap); err != nil && !errors.Is(err, errNoSuchPolicy) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0)