Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Typelen (0.2 sec)

  1. src/syscall/ztypes_darwin_amd64.go

    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Typelen    uint8
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Recvquota  uint8
    	Xmitquota  uint8
    	Unused1    uint8
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  2. src/syscall/ztypes_darwin_arm64.go

    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Data      IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Typelen    uint8
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Recvquota  uint8
    	Xmitquota  uint8
    	Unused1    uint8
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    )
    
    type IfMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Data    IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Typelen    uint8
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Recvquota  uint8
    	Xmitquota  uint8
    	Unused1    uint8
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    )
    
    type IfMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Data    IfData
    }
    
    type IfData struct {
    	Type       uint8
    	Typelen    uint8
    	Physical   uint8
    	Addrlen    uint8
    	Hdrlen     uint8
    	Recvquota  uint8
    	Xmitquota  uint8
    	Unused1    uint8
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint32
    	Ipackets   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/crypto/elliptic/nistec.go

    		return p, errors.New("overflowing coordinate")
    	}
    	// Encode the coordinates and let SetBytes reject invalid points.
    	byteLen := (curve.params.BitSize + 7) / 8
    	buf := make([]byte, 1+2*byteLen)
    	buf[0] = 4 // uncompressed point
    	x.FillBytes(buf[1 : 1+byteLen])
    	y.FillBytes(buf[1+byteLen : 1+2*byteLen])
    	return curve.newPoint().SetBytes(buf)
    }
    
    func (curve *nistCurve[Point]) pointToAffine(p Point) (x, y *big.Int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  6. src/crypto/elliptic/elliptic_test.go

    		if curve.IsOnCurve(x, y) {
    			t.Errorf("point off curve is claimed to be on the curve")
    		}
    
    		byteLen := (curve.Params().BitSize + 7) / 8
    		b := make([]byte, 1+2*byteLen)
    		b[0] = 4 // uncompressed point
    		x.FillBytes(b[1 : 1+byteLen])
    		y.FillBytes(b[1+byteLen : 1+2*byteLen])
    
    		x1, y1 := Unmarshal(curve, b)
    		if x1 != nil || y1 != nil {
    			t.Errorf("unmarshaling a point not on the curve succeeded")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. src/crypto/elliptic/elliptic.go

    func Marshal(curve Curve, x, y *big.Int) []byte {
    	panicIfNotOnCurve(curve, x, y)
    
    	byteLen := (curve.Params().BitSize + 7) / 8
    
    	ret := make([]byte, 1+2*byteLen)
    	ret[0] = 4 // uncompressed point
    
    	x.FillBytes(ret[1 : 1+byteLen])
    	y.FillBytes(ret[1+byteLen : 1+2*byteLen])
    
    	return ret
    }
    
    // MarshalCompressed converts a point on the curve into the compressed form
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/nistec_test.go

    		if !bytes.Equal(g1.Bytes(), newPoint().Bytes()) {
    			t.Error("[N - k]G + [k]G != ∞")
    		}
    	}
    
    	byteLen := len(c.Params().N.Bytes())
    	bitLen := c.Params().N.BitLen()
    	t.Run("0", func(t *testing.T) { checkScalar(t, make([]byte, byteLen)) })
    	t.Run("1", func(t *testing.T) {
    		checkScalar(t, big.NewInt(1).FillBytes(make([]byte, byteLen)))
    	})
    	t.Run("N-1", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 18:48:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. src/crypto/ecdsa/ecdsa.go

    		return p, errors.New("overflowing coordinate")
    	}
    	// Encode the coordinates and let SetBytes reject invalid points.
    	byteLen := (bitSize + 7) / 8
    	buf := make([]byte, 1+2*byteLen)
    	buf[0] = 4 // uncompressed point
    	x.FillBytes(buf[1 : 1+byteLen])
    	y.FillBytes(buf[1+byteLen : 1+2*byteLen])
    	return curve.newPoint().SetBytes(buf)
    }
    
    // pointToAffine is used to convert a nistec Point to a PublicKey.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/generated.pb.go

    			}
    			var byteLen int
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				byteLen |= int(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    			}
    			if byteLen < 0 {
    				return ErrInvalidLengthGenerated
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top