Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fromHex (0.32 sec)

  1. src/crypto/tls/handshake_test.go

    		}
    	} else {
    		err = fmt.Errorf("server: %v", err)
    		s.Close()
    	}
    	err = errors.Join(err, <-errChan)
    	return
    }
    
    func fromHex(s string) []byte {
    	b, _ := hex.DecodeString(s)
    	return b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. 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))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters_test.go

    							// TODO if the destinations would change based on which cluster then add cluster to srCkey
    							fromKey := from.Config().ClusterLocalFQDN()
    							toKey := to.Config().ClusterLocalFQDN()
    							if testTopology[fromKey] == nil {
    								testTopology[fromKey] = map[string]int{}
    							}
    							testTopology[fromKey][toKey]++
    						})
    				},
    				expect: map[string]map[string]int{
    					"a.echo1.svc.cluster.local": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    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)
  5. operator/pkg/compare/compare.go

    	for name, obj := range iom {
    		isRenamed := false
    		for fromPat, toPat := range rnm {
    			fromRe, err := buildResourceRegexp(strings.TrimSpace(fromPat))
    			if err != nil {
    				return nil, fmt.Errorf("error building the regexp from "+
    					"rename-from string: %v, error: %v", fromPat, err)
    			}
    			if fromRe.MatchString(name) {
    				fromList := strings.Split(name, ":")
    				if len(fromList) != 3 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/syscall/syscall_aix.go

    //sysnb	getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    //sys	getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    //sys	recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
    //sys	sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
    //sys	Shutdown(s int, how int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_arm.go

    func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := syscall6(abi.FuncPCABI0(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
    	n = int(r0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_aix_ppc64.go

    func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
    	var _p0 *byte
    	if len(p) > 0 {
    		_p0 = &p[0]
    	}
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_recvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_riscv64.go

    func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := syscall6(abi.FuncPCABI0(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
    	n = int(r0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_386.go

    func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := syscall6(abi.FuncPCABI0(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
    	n = int(r0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top