Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createTree (0.1 sec)

  1. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            if (size == 0) {
              return Optional.absent();
            } else {
              int leftChildSize = (size - 1) / 2;
              int rightChildSize = size - 1 - leftChildSize;
              return Optional.of(
                  new BinaryNode(
                      rng.nextInt(), createTree(leftChildSize, rng), createTree(rightChildSize, rng)));
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            if (size == 0) {
              return Optional.absent();
            } else {
              int leftChildSize = (size - 1) / 2;
              int rightChildSize = size - 1 - leftChildSize;
              return Optional.of(
                  new BinaryNode(
                      rng.nextInt(), createTree(leftChildSize, rng), createTree(rightChildSize, rng)));
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	// created for the request sender.
    	targetUser := createReq.TargetUser
    	if targetUser == "" {
    		targetUser = cred.AccessKey
    	}
    
    	description := createReq.Description
    	if description == "" {
    		description = createReq.Comment
    	}
    	opts := newServiceAccountOpts{
    		accessKey:   createReq.AccessKey,
    		secretKey:   createReq.SecretKey,
    		name:        createReq.Name,
    		description: description,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-ldap.go

    					Groups:        newCred.Groups,
    					Name:          newCred.Name,
    					Description:   newCred.Description,
    					Claims:        opts.claims,
    					SessionPolicy: createReq.Policy,
    					Status:        auth.AccountOn,
    					Expiration:    createReq.Expiration,
    				},
    			},
    			UpdatedAt: updatedAt,
    		}))
    	}
    }
    
    // ListAccessKeysLDAP - GET /minio/admin/v3/idp/ldap/list-access-keys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. cmd/iam.go

    		return skippedAccessKeys, err
    	}
    
    	var collectedErrors []error
    	updatedKeysMap := make(map[string]madmin.SRSvcAccCreate)
    	for ak, createReq := range accessKeyMap {
    		parent := createReq.Parent
    		groups := createReq.Groups
    
    		_, err := ldap.NormalizeDN(parent)
    		if err != nil {
    			// not a valid DN, ignore.
    			continue
    		}
    
    		hasDiff := false
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top