Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for bignum (0.1 sec)

  1. src/crypto/internal/boring/boring.go

    func bnToBig(bn *C.GO_BIGNUM) BigInt {
    	x := make(BigInt, (C._goboringcrypto_BN_num_bytes(bn)+wordBytes-1)/wordBytes)
    	if C._goboringcrypto_BN_bn2le_padded(wbase(x), C.size_t(len(x)*wordBytes), bn) == 0 {
    		panic("boringcrypto: bignum conversion failed")
    	}
    	return x
    }
    
    func bigToBn(bnp **C.GO_BIGNUM, b BigInt) bool {
    	if *bnp != nil {
    		C._goboringcrypto_BN_free(*bnp)
    		*bnp = nil
    	}
    	if b == nil {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    				fixme:         "decoding cbor data tagged with 1 produces time.Time instead of RFC3339 timestamp string",
    				assertOnError: assertNilError,
    			},
    		})
    
    		group(t, "unsigned bignum", []test{
    			{
    				name:  "rejected",
    				in:    hex("c249010000000000000000"), // 2(18446744073709551616)
    				fixme: "decoding cbor data tagged with 2 produces big.Int instead of rejecting",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/go/build/deps_test.go

    	crypto/internal/edwards25519,
    	crypto/md5,
    	crypto/rc4,
    	crypto/sha1,
    	crypto/sha256,
    	crypto/sha512,
    	golang.org/x/crypto/sha3
    	< CRYPTO;
    
    	CGO, fmt, net !< CRYPTO;
    
    	# CRYPTO-MATH is core bignum-based crypto - no cgo, net; fmt now ok.
    	CRYPTO, FMT, math/big
    	< crypto/internal/boring/bbig
    	< crypto/rand
    	< crypto/internal/mlkem768
    	< crypto/ed25519
    	< encoding/asn1
    	< golang.org/x/crypto/cryptobyte/asn1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceReportScenario.groovy

                return Double.NEGATIVE_INFINITY
            }
            def firstExecution = currentExecutions[0]
            double signum = Math.signum(firstExecution.differencePercentage)
            if (signum == 0.0d) {
                signum = -1.0
            }
            return firstExecution.confidencePercentage * signum
        }
    
        double getDifferencePercentage() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/fmt/errors.go

    		w.err, _ = a[p.wrappedErrs[0]].(error)
    		err = w
    	default:
    		if p.reordered {
    			slices.Sort(p.wrappedErrs)
    		}
    		var errs []error
    		for i, argNum := range p.wrappedErrs {
    			if i > 0 && p.wrappedErrs[i-1] == argNum {
    				continue
    			}
    			if e, ok := a[argNum].(error); ok {
    				errs = append(errs, e)
    			}
    		}
    		err = &wrapErrors{s, errs}
    	}
    	p.free()
    	return err
    }
    
    type wrapError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/fmt/print.go

    func intFromArg(a []any, argNum int) (num int, isInt bool, newArgNum int) {
    	newArgNum = argNum
    	if argNum < len(a) {
    		num, isInt = a[argNum].(int) // Almost always OK.
    		if !isInt {
    			// Work harder.
    			switch v := reflect.ValueOf(a[argNum]); v.Kind() {
    			case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    				n := v.Int()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	argNum := state.argNums[formatArg]
    	if argNum <= 0 {
    		// Shouldn't happen, so catch it with prejudice.
    		panic("negative arg num")
    	}
    	if argNum < len(call.Args)-1 {
    		return true // Always OK.
    	}
    	if call.Ellipsis.IsValid() {
    		return false // We just can't tell; there could be many more arguments.
    	}
    	if argNum < len(call.Args) {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. docs/de/docs/deployment/cloud.md

    Vielleicht möchten Sie deren Dienste ausprobieren und deren Anleitungen folgen:
    
    * <a href="https://docs.platform.sh/languages/python.html?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" class="external-link" target="_blank">Platform.sh</a>
    * <a href="https://docs.porter.run/language-specific-guides/fastapi" class="external-link" target="_blank">Porter</a>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:30:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/syscall/syscall_darwin.go

    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
     * Wrapped
     */
    
    //sys	kill(pid int, signum int, posix int) (err error)
    
    func Kill(pid int, signum Signal) (err error) { return kill(pid, int(signum), 1) }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/crypto/elliptic/params.go

    	}
    	panicIfNotOnCurve(curve, Bx, By)
    
    	Bz := new(big.Int).SetInt64(1)
    	x, y, z := new(big.Int), new(big.Int), new(big.Int)
    
    	for _, byte := range k {
    		for bitNum := 0; bitNum < 8; bitNum++ {
    			x, y, z = curve.doubleJacobian(x, y, z)
    			if byte&0x80 == 0x80 {
    				x, y, z = curve.addJacobian(Bx, By, Bz, x, y, z)
    			}
    			byte <<= 1
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top