Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 517 for bigN (0.17 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. src/crypto/internal/boring/ecdh.go

    	big := C._goboringcrypto_BN_new()
    	defer C._goboringcrypto_BN_free(big)
    	if C._goboringcrypto_EC_POINT_get_affine_coordinates_GFp(group, pt, big, nil, nil) == 0 {
    		return nil, fail("EC_POINT_get_affine_coordinates_GFp")
    	}
    	return bigBytesECDH(curve, big)
    }
    
    func bigBytesECDH(curve string, big *C.GO_BIGNUM) ([]byte, error) {
    	out := make([]byte, curveSize(curve))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/boring.go

    }
    
    func copyPublicKey(k *PublicKey) PublicKey {
    	return PublicKey{
    		Curve: k.Curve,
    		X:     new(big.Int).Set(k.X),
    		Y:     new(big.Int).Set(k.Y),
    	}
    }
    
    func copyPrivateKey(k *PrivateKey) PrivateKey {
    	return PrivateKey{
    		PublicKey: copyPublicKey(&k.PublicKey),
    		D:         new(big.Int).Set(k.D),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/math/big/intmarsh.go

    }
    
    // UnmarshalText implements the [encoding.TextUnmarshaler] interface.
    func (z *Int) UnmarshalText(text []byte) error {
    	if _, ok := z.setFromScanner(bytes.NewReader(text), 0); !ok {
    		return fmt.Errorf("math/big: cannot unmarshal %q into a *big.Int", text)
    	}
    	return nil
    }
    
    // The JSON marshalers are only here for API backward compatibility
    // (programs that explicitly look for these two methods). JSON works
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_cache.go

    		h.WriteString(efk)
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	return h.Sum64()
    }
    
    func hashToBytes(number model.ConfigHash) []byte {
    	big := new(big.Int)
    	big.SetUint64(uint64(number))
    	return big.Bytes()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/runtime/debug/garbage_test.go

    		}
    		off = (off + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd)
    	}
    }
    
    var big []byte
    
    func TestFreeOSMemory(t *testing.T) {
    	// Tests FreeOSMemory by making big susceptible to collection
    	// and checking that at least that much memory is returned to
    	// the OS after.
    
    	const bigBytes = 32 << 20
    	big = make([]byte, bigBytes)
    
    	// Make sure any in-progress GCs are complete.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/crypto/internal/boring/doc.go

    //
    // BoringCrypto is only available on linux/amd64 and linux/arm64 systems.
    const Enabled = available
    
    // A BigInt is the raw words from a BigInt.
    // This definition allows us to avoid importing math/big.
    // Conversion between BigInt and *big.Int is in crypto/internal/boring/bbig.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 05:28:51 UTC 2023
    - 826 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    }
    
    // AddUint32 appends a big-endian, 32-bit value to the byte string.
    func (b *Builder) AddUint32(v uint32) {
    	b.add(byte(v>>24), byte(v>>16), byte(v>>8), byte(v))
    }
    
    // AddUint48 appends a big-endian, 48-bit value to the byte string.
    func (b *Builder) AddUint48(v uint64) {
    	b.add(byte(v>>40), byte(v>>32), byte(v>>24), byte(v>>16), byte(v>>8), byte(v))
    }
    
    // AddUint64 appends a big-endian, 64-bit value to the byte string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top