Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for fromBig (0.17 seconds)

  1. lib/fips140/v1.26.0.zip

    most significant bit b := new(big.Int).SetBytes(swapEndianness(in[:])) fe1.fromBig(b) if fe != fe1 { return false } buf := make([]byte, 32) buf = swapEndianness(fe1.toBig().FillBytes(buf)) return bytes.Equal(fe.Bytes(), buf) && isInBounds(&fe) && isInBounds(&fe1) } if err := quick.Check(f1, nil); err != nil { t.Error(err) } } // fromBig sets v = n, and returns v. The bit length of n must not exceed 256. func (v *Element) fromBig(n *big.Int) *Element { if n.BitLen() > 32*8 { panic("edwards25519: invalid...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  2. src/cmd/api/main_test.go

    func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) {
    	pkg, err := w.importFrom(fromPath, fromDir, mode)
    	if err != nil {
    		return nil, err
    	}
    	return pkg.Package, nil
    }
    
    func (w *Walker) import_(name string) (*apiPackage, error) {
    	return w.importFrom(name, "", 0)
    }
    
    func (w *Walker) importFrom(fromPath, fromDir string, mode types.ImportMode) (*apiPackage, error) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
Back to Top