Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 132 for badlen (0.09 sec)

  1. src/net/ip.go

    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    
    	n, i, ok := dtoi(mask)
    	if !ok || i != len(mask) || n < 0 || n > ipAddr.BitLen() {
    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    	m := CIDRMask(n, ipAddr.BitLen())
    	addr16 := ipAddr.As16()
    	return IP(addr16[:]), &IPNet{IP: IP(addr16[:]).Mask(m), Mask: m}, nil
    }
    
    func copyIP(x IP) IP {
    	y := make(IP, len(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/math/big/nat.go

    	}
    	return z
    }
    
    func putNat(x *nat) {
    	natPool.Put(x)
    }
    
    var natPool sync.Pool
    
    // bitLen returns the length of x in bits.
    // Unlike most methods, it works even if x is not normalized.
    func (x nat) bitLen() int {
    	// This function is used in cryptographic operations. It must not leak
    	// anything but the Int's sign and bit size through side-channels. Any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint64
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    type BpfHdr struct {
    	Tstamp  Timeval
    	Caplen  uint32
    	Datalen uint32
    	Hdrlen  uint16
    	_       [6]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go

    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Namlen uint8
    	_      [4]uint8
    	Name   [256]int8
    }
    
    type Fsid struct {
    	Val [2]int32
    }
    
    const (
    	PathMax = 0x400
    )
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/runtime/crash_test.go

    	output := runTestProg(t, "testprog", "BadTraceback")
    	for _, want := range []string{
    		"unexpected return pc",
    		"called from 0xbad",
    		"00000bad",    // Smashed LR in hex dump
    		"<main.badLR", // Symbolization in hex dump (badLR1 or badLR2)
    	} {
    		if !strings.Contains(output, want) {
    			t.Errorf("output does not contain %q:\n%s", want, output)
    		}
    	}
    }
    
    func TestTimePprof(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. src/math/big/int.go

    	x.abs.bytes(buf)
    	return buf
    }
    
    // BitLen returns the length of the absolute value of x in bits.
    // The bit length of 0 is 0.
    func (x *Int) BitLen() int {
    	// This function is used in cryptographic operations. It must not leak
    	// anything but the Int's sign and bit size through side-channels. Any
    	// changes must be reviewed by a security expert.
    	return x.abs.bitLen()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_ACCEPT        = 30  // { int accept(int s, caddr_t name, int *anamelen); }
    	SYS_GETPEERNAME   = 31  // { int getpeername(int fdes, caddr_t asa, int *alen); }
    	SYS_GETSOCKNAME   = 32  // { int getsockname(int fdes, caddr_t asa, int *alen); }
    	SYS_ACCESS        = 33  // { int access(char *path, int flags); }
    	SYS_CHFLAGS       = 34  // { int chflags(char *path, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  8. src/crypto/x509/oid.go

    		o &= 0x7f
    		if i != 0 {
    			o |= 0x80
    		}
    		dst = append(dst, o)
    	}
    	return dst
    }
    
    func base128BigIntLength(n *big.Int) int {
    	if n.Cmp(big.NewInt(0)) == 0 {
    		return 1
    	}
    	return (n.BitLen() + 6) / 7
    }
    
    func appendBase128BigInt(dst []byte, n *big.Int) []byte {
    	if n.Cmp(big.NewInt(0)) == 0 {
    		return append(dst, 0)
    	}
    
    	for i := base128BigIntLength(n) - 1; i >= 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. ReadMe.md

    [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
    [![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.jetbrains.com/scans?search.rootProjectNames=Kotlin)
    
    # Kotlin Programming Language
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 11 14:28:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_ACCEPT                 = 30  // { int accept(int s, caddr_t name, int *anamelen); }
    	SYS_GETPEERNAME            = 31  // { int getpeername(int fdes, caddr_t asa, int *alen); }
    	SYS_GETSOCKNAME            = 32  // { int getsockname(int fdes, caddr_t asa, int *alen); }
    	SYS_ACCESS                 = 33  // { int access(char *path, int flags); }
    	SYS_CHFLAGS                = 34  // { int chflags(const char *path, u_long flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top