Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findSecondIndex (0.07 sec)

  1. cmd/iam-object-store.go

    	policyDBPrefix          = "policydb/"
    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    func findSecondIndex(s string, substr string) int {
    	first := strings.Index(s, substr)
    	if first == -1 {
    		return -1
    	}
    	second := strings.Index(s[first+1:], substr)
    	if second == -1 {
    		return -1
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top