Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,121 for tolen (0.06 sec)

  1. src/runtime/slice.go

    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    		tomem, overflow = math.MulUintptr(et.Size_, uintptr(tolen))
    		if overflow || tomem > maxAlloc || tolen < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func slicebytetostringtmp(ptr *byte, n int) string
    func slicerunetostring(*[32]byte, []rune) string
    func stringtoslicebyte(*[32]byte, string) []byte
    func stringtoslicerune(*[32]rune, string) []rune
    func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int
    
    func decoderune(string, int) (retv rune, retk int)
    func countrunes(string) int
    
    // Convert non-interface type to the data word of a (empty or nonempty) interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func OpenProcessToken(h Handle, access uint32, token *Token) (err error) {
    	r1, _, e1 := Syscall(procOpenProcessToken.Addr(), 3, uintptr(h), uintptr(access), uintptr(unsafe.Pointer(token)))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func RegCloseKey(key Handle) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    func SetThreadToken(thread *Handle, token Token) (err error) {
    	r1, _, e1 := syscall.Syscall(procSetThreadToken.Addr(), 2, uintptr(unsafe.Pointer(thread)), uintptr(token), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func SetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint32) (err error) {
    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/cmd/compile/internal/walk/builtin.go

    	// n = len(to)
    	l = append(l, ir.NewAssignStmt(base.Pos, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nl)))
    
    	// if n > len(frm) { n = len(frm) }
    	nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    
    	nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OGT, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nr))
    	nif.Body.Append(ir.NewAssignStmt(base.Pos, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nr)))
    	l = append(l, nif)
    
    	// if to.ptr != frm.ptr { memmove( ... ) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func KnownFolderPath(folderID *KNOWNFOLDERID, flags uint32) (string, error) {
    	return Token(0).KnownFolderPath(folderID, flags)
    }
    
    // KnownFolderPath returns a well-known folder path for the user token, specified by one of
    // the FOLDERID_ constants, and chosen and optionally created based on a KF_ flag.
    func (t Token) KnownFolderPath(folderID *KNOWNFOLDERID, flags uint32) (string, error) {
    	var p *uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/discovery/token/token.go

    			bootstrapapi.KubeConfigKey, bootstrapapi.ConfigMapClusterInfo)
    	}
    
    	detachedJWSToken, ok := insecureClusterInfo.Data[bootstrapapi.JWSSignatureKeyPrefix+token.ID]
    	if !ok || len(detachedJWSToken) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows.go

    //sys	CreateProcessAsUser(token Token, appName *uint16, commandLine *uint16, procSecurity *SecurityAttributes, threadSecurity *SecurityAttributes, inheritHandles bool, creationFlags uint32, env *uint16, currentDir *uint16, startupInfo *StartupInfo, outProcInfo *ProcessInformation) (err...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/token.go

    				TTL:         token.TTL,
    				Expires:     token.Expires,
    				Usages:      token.Usages,
    				Groups:      token.Groups,
    			},
    		}
    
    		if err := printer.PrintObj(&outputToken, out); err != nil {
    			return errors.Wrapf(err, "unable to print token %s", token.Token)
    		}
    	}
    	return nil
    }
    
    // RunDeleteTokens removes a bootstrap tokens from the server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/bootstraptoken/node/token.go

    }
    
    // UpdateOrCreateTokens attempts to update a token with the given ID, or create if it does not already exist.
    func UpdateOrCreateTokens(client clientset.Interface, failIfExists bool, tokens []bootstraptokenv1.BootstrapToken) error {
    
    	for _, token := range tokens {
    
    		secretName := bootstraputil.BootstrapTokenSecretName(token.Token.ID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top