Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 200 for bigN (0.04 sec)

  1. cmd/kube-apiserver/app/options/validation_test.go

    		},
    		{
    			name:         "service cidr is too big",
    			expectErrors: true,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    		},
    		{
    			name:         "service cidr IPv4 is too big but gate enbled",
    			expectErrors: false,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    			gate:         true,
    		},
    		{
    			name:         "service cidr IPv6 is too big but gate enbled",
    			expectErrors: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      // of small endian, as documented in the header). This will protentially break
      // when TFLite is ported to big endian platforms.
      // TODO(b/165919229): This code will need changing if/when we port to a
      // big-endian platform.
      memcpy(*buffer, &num_strings, sizeof(int32_t));
    
      // Set offset of strings.
      int32_t start = sizeof(int32_t) * (num_strings + 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/hash/fnv/fnv.go

    func New64() hash.Hash64 {
    	var s sum64 = offset64
    	return &s
    }
    
    // New64a returns a new 64-bit FNV-1a [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New64a() hash.Hash64 {
    	var s sum64a = offset64
    	return &s
    }
    
    // New128 returns a new 128-bit FNV-1 [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/math/big/ratmarsh.go

    func (z *Rat) UnmarshalText(text []byte) error {
    	// TODO(gri): get rid of the []byte/string conversion
    	if _, ok := z.SetString(string(text)); !ok {
    		return fmt.Errorf("math/big: cannot unmarshal %q into a *big.Rat", text)
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa.go

    func (curve *nistCurve[Point]) pointToAffine(p Point) (x, y *big.Int, err error) {
    	out := p.Bytes()
    	if len(out) == 1 && out[0] == 0 {
    		// This is the encoding of the point at infinity.
    		return nil, nil, errors.New("ecdsa: public key point is the infinity")
    	}
    	byteLen := (curve.curve.Params().BitSize + 7) / 8
    	x = new(big.Int).SetBytes(out[1 : 1+byteLen])
    	y = new(big.Int).SetBytes(out[1+byteLen:])
    	return x, y, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    	}
    }
    
    func bigFromString(s string) *big.Int {
    	ret := new(big.Int)
    	ret.SetString(s, 10)
    	return ret
    }
    
    func fromBase10(base10 string) *big.Int {
    	i := new(big.Int)
    	i.SetString(base10, 10)
    	return i
    }
    
    func bigFromHexString(s string) *big.Int {
    	ret := new(big.Int)
    	ret.SetString(s, 16)
    	return ret
    }
    
    var rsaPrivateKey = &rsa.PrivateKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. src/net/parse.go

    // Bigger than we need, not too big to worry about overflow
    const big = 0xFFFFFF
    
    // Decimal to integer.
    // Returns number, characters consumed, success.
    func dtoi(s string) (n int, i int, ok bool) {
    	n = 0
    	for i = 0; i < len(s) && '0' <= s[i] && s[i] <= '9'; i++ {
    		n = n*10 + int(s[i]-'0')
    		if n >= big {
    			return big, i, false
    		}
    	}
    	if i == 0 {
    		return 0, 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/math/big/floatmarsh.go

    // effect.
    func (z *Float) UnmarshalText(text []byte) error {
    	// TODO(gri): get rid of the []byte/string conversion
    	_, _, err := z.Parse(string(text), 0)
    	if err != nil {
    		err = fmt.Errorf("math/big: cannot unmarshal %q into a *big.Float (%v)", text, err)
    	}
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/encoding/binary/binary_test.go

    func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) }
    
    func TestBigEndianRead(t *testing.T)     { testRead(t, BigEndian, big, s) }
    func TestBigEndianWrite(t *testing.T)    { testWrite(t, BigEndian, big, s) }
    func TestBigEndianPtrWrite(t *testing.T) { testWrite(t, BigEndian, big, &s) }
    
    func TestReadSlice(t *testing.T) {
    	t.Run("Read", func(t *testing.T) {
    		slice := make([]int32, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. src/crypto/aes/ctr_s390x.go

    const streamBufferSize = 32 * BlockSize
    
    type aesctr struct {
    	block   *aesCipherAsm          // block cipher
    	ctr     [2]uint64              // next value of the counter (big endian)
    	buffer  []byte                 // buffer for the encrypted counter values
    	storage [streamBufferSize]byte // array backing buffer slice
    }
    
    // NewCTR returns a Stream which encrypts/decrypts using the AES block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top