Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 670 for big4 (0.04 sec)

  1. 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)
  2. api/go1.15.txt

    pkg crypto/ed25519, method (PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ed25519, method (PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/elliptic, func MarshalCompressed(Curve, *big.Int, *big.Int) []uint8
    pkg crypto/elliptic, func UnmarshalCompressed(Curve, []uint8) (*big.Int, *big.Int)
    pkg crypto/rsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/rsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  3. src/math/rand/regress_test.go

    						x = permSizes[repeat%len(permSizes)]
    						break
    					}
    					big := int64s[repeat%len(int64s)]
    					if int64(int(big)) != big {
    						r.Int63n(big) // what would happen on 64-bit machine, to keep stream in sync
    						if *printgolden {
    							fmt.Printf("\tskipped, // must run printgolden on 64-bit machine\n")
    						}
    						p++
    						continue
    					}
    					x = int(big)
    
    				case reflect.Int32:
    					x = int32s[repeat%len(int32s)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/registry/core/service/allocator/utils.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package allocator
    
    import (
    	"math/big"
    	"math/bits"
    )
    
    // countBits returns the number of set bits in n
    func countBits(n *big.Int) int {
    	var count int = 0
    	for _, w := range n.Bits() {
    		count += bits.OnesCount64(uint64(w))
    	}
    	return count
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 01 15:09:56 UTC 2021
    - 816 bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/field/fe_test.go

    	return v
    }
    
    func (v *Element) fromDecimal(s string) *Element {
    	n, ok := new(big.Int).SetString(s, 10)
    	if !ok {
    		panic("not a valid decimal: " + s)
    	}
    	return v.fromBig(n)
    }
    
    // toBig returns v as a big.Int.
    func (v *Element) toBig() *big.Int {
    	buf := v.Bytes()
    
    	words := make([]big.Word, 32*8/bits.UintSize)
    	for n := range words {
    		for i := 0; i < bits.UintSize; i += 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. src/crypto/rsa/boring_test.go

    				if err != nil {
    					panic(err) // usually caused by memory corruption, so hard stop
    				}
    			}()
    		}
    		wg.Wait()
    	}
    }
    
    func bigFromHex(hex string) *big.Int {
    	n, ok := new(big.Int).SetString(hex, 16)
    	if !ok {
    		panic("bad hex: " + hex)
    	}
    	return n
    }
    
    func fromHex(hexStr string) []byte {
    	s, err := hex.DecodeString(hexStr)
    	if err != nil {
    		panic(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  10. src/crypto/elliptic/p224_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package elliptic
    
    import (
    	"encoding/hex"
    	"fmt"
    	"math/big"
    	"testing"
    )
    
    type baseMultTest struct {
    	k    string
    	x, y string
    }
    
    var p224BaseMultTests = []baseMultTest{
    	{
    		"1",
    		"b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 19:01:13 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top