Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 518 for userTime (0.22 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	GetExitCodeProcess(handle Handle, exitcode *uint32) (err error)
    //sys	getStartupInfo(startupInfo *StartupInfo) = GetStartupInfoW
    //sys	GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error)
    //sys	DuplicateHandle(hSourceProcessHandle Handle, hSourceHandle Handle, hTargetProcessHandle Handle, lpTargetHandle *Handle, dwDesiredAccess uint32, bInheritHandle bool, dwOptions uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/runtime/metrics_test.go

    		t.Errorf("manually computed total does not match ScavengeTotalTime: %d cpu-ns vs. %d cpu-ns", scavTotal, stats.ScavengeTotalTime)
    	}
    	total := gcTotal + scavTotal + stats.IdleTime + stats.UserTime
    	if total != stats.TotalTime {
    		t.Errorf("manually computed overall total does not match TotalTime: %d cpu-ns vs. %d cpu-ns", total, stats.TotalTime)
    	}
    	if total == 0 {
    		t.Error("total time is zero")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	WorkingSetPrivateSize        int64
    	HardFaultCount               uint32
    	NumberOfThreadsHighWatermark uint32
    	CycleTime                    uint64
    	CreateTime                   int64
    	UserTime                     int64
    	KernelTime                   int64
    	ImageName                    NTUnicodeString
    	BasePriority                 int32
    	UniqueProcessID              uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error) {
    	r1, _, e1 := syscall.Syscall6(procGetProcessTimes.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(creationTime)), uintptr(unsafe.Pointer(exitTime)), uintptr(unsafe.Pointer(kernelTime)), uintptr(unsafe.Pointer(userTime)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. src/os/user/lookup.go

    var cache struct {
    	sync.Once
    	u   *User
    	err error
    }
    
    // Lookup looks up a user by username. If the user cannot be found, the
    // returned error is of type [UnknownUserError].
    func Lookup(username string) (*User, error) {
    	if u, err := Current(); err == nil && u.Username == username {
    		return u, err
    	}
    	return lookupUser(username)
    }
    
    // LookupId looks up a user by userid. If the user cannot be found, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*ProcessState).Success", Method, 0},
    		{"(*ProcessState).Sys", Method, 0},
    		{"(*ProcessState).SysUsage", Method, 0},
    		{"(*ProcessState).SystemTime", Method, 0},
    		{"(*ProcessState).UserTime", Method, 0},
    		{"(*SyscallError).Error", Method, 0},
    		{"(*SyscallError).Timeout", Method, 10},
    		{"(*SyscallError).Unwrap", Method, 13},
    		{"(FileMode).IsDir", Method, 0},
    		{"(FileMode).IsRegular", Method, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_an.py

            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            token_data = TokenData(username=username)
        except InvalidTokenError:
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        return user
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005.py

    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005_an.py

    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    					},
    					ClaimMappings: apiserver.ClaimMappings{
    						Username: apiserver.PrefixedClaimOrExpression{
    							Claim:  "username",
    							Prefix: pointer.String("system:"),
    						},
    					},
    					UserValidationRules: []apiserver.UserValidationRule{
    						{
    							Expression: "!user.username.startsWith('system:')",
    							Message:    "username cannot used reserved system: prefix",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top