Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sysUser (0.12 sec)

  1. cmd/iam-store.go

    	defer store.unlock()
    
    	// Load existing policy mapping
    	var mp MappedPolicy
    	if !isGroup {
    		if userType == stsUser {
    			stsMap := xsync.NewMapOf[string, MappedPolicy]()
    
    			// Attempt to load parent user mapping for STS accounts
    			store.loadMappedPolicy(context.TODO(), name, stsUser, false, stsMap)
    
    			mp, _ = stsMap.Load(name)
    		} else {
    			mp, _ = cache.iamUserPolicyMap.Load(name)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    		var oldDN string
    		if isGroup {
    			oldDN = r.Group
    		} else {
    			oldDN = r.User
    		}
    		if oldDN != dn {
    			sys.store.PolicyDBUpdate(ctx, oldDN, isGroup, stsUser, r.Policies, isAttach)
    		}
    	}
    
    	userType := stsUser
    	updatedAt, addedOrRemoved, effectivePolicies, err = sys.store.PolicyDBUpdate(
    		ctx, dn, isGroup, userType, r.Policies, isAttach)
    	if err != nil {
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	userType := regUser
    	if globalIAMSys.GetUsersSysType() == LDAPUsersSysType {
    		userType = stsUser
    
    		// Validate that the user or group exists in LDAP and use the normalized
    		// form of the entityName (which will be an LDAP DN).
    		var err error
    		if isGroup {
    			var foundGroupDN *xldap.DNSearchResult
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. src/runtime/mheap.go

    	// Commit and account for any scavenged memory that the span now owns.
    	nbytes := npages * pageSize
    	if scav != 0 {
    		// sysUsed all the pages that are actually available
    		// in the span since some of them might be scavenged.
    		sysUsed(unsafe.Pointer(base), nbytes, scav)
    		gcController.heapReleased.add(-int64(scav))
    	}
    	// Update stats.
    	gcController.heapFree.add(-int64(nbytes - scav))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	}
    
    	temp, err := strconv.ParseBool(mss.Get(peerRESTUserTemp))
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	userType := regUser
    	if temp {
    		userType = stsUser
    	}
    
    	if err = globalIAMSys.LoadUser(context.Background(), objAPI, accessKey, userType); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/runtime/mgcscavenge.go

    	//
    	// For most systems the cost of scavenging greatly outweighs the costs
    	// associated with using scavenged memory, making this constant 0. On other systems
    	// (especially ones where "sysUsed" is not just a no-op) this cost is non-trivial.
    	//
    	// This ratio is used as part of multiplicative factor to help the scavenger account
    	// for the additional costs of using scavenged memory in its pacing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  7. src/runtime/malloc.go

    	if pEnd := alignUp(l.next-1, physPageSize); pEnd > l.mapped {
    		if l.mapMemory {
    			// Transition from Reserved to Prepared to Ready.
    			n := pEnd - l.mapped
    			sysMap(unsafe.Pointer(l.mapped), n, sysStat)
    			sysUsed(unsafe.Pointer(l.mapped), n, n)
    		}
    		l.mapped = pEnd
    	}
    	return unsafe.Pointer(p)
    }
    
    // notInHeap is off-heap memory allocated by a lower-level allocator
    // like sysAlloc or persistentAlloc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top