Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ancestor (0.21 sec)

  1. internal/s3select/sql/aggregation.go

    	case aggFnAvg, aggFnSum, aggFnMax, aggFnMin, aggFnCount:
    		return e.evalAggregationNode(r, tableAlias)
    	default:
    		// TODO: traverse arguments and call aggregateRow on
    		// them if they could be an ancestor of an
    		// aggregation.
    	}
    	return nil
    }
    
    // getAggregate() implementation for each AST node follows. This is
    // called after calling aggregateRow() on each input row, to calculate
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    	s := strings.TrimPrefix(string(cp), "/")
    	s = strings.ReplaceAll(s, "/", "_")
    	s = strings.ReplaceAll(s, "-", "_")
    	return "minio_" + s
    }
    
    // isDescendantOf returns true if it is a descendant of (or the same as)
    // `ancestor`.
    //
    // For example:
    //
    //	 	/a, /a/b, /a/b/c are all descendants of /a.
    //		/abc or /abd/a are not descendants of /ab.
    func (cp collectorPath) isDescendantOf(arg string) bool {
    	descendant := string(cp)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    	pdn, _ := ldap.ParseDN(validatedDN)
    
    	// Check that the DN is under a configured base DN in the LDAP
    	// directory.
    	for _, baseDN := range baseDNList {
    		if baseDN.Parsed.AncestorOf(pdn) {
    			return validatedDN, true, nil
    		}
    	}
    
    	// Not under any configured base DN so return false.
    	return validatedDN, false, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top