Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for nprimes (0.65 sec)

  1. src/crypto/rsa/rsa.go

    	priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
    	priv.Precomputed.Dq.Mod(priv.D, priv.Precomputed.Dq)
    
    	priv.Precomputed.Qinv = new(big.Int).ModInverse(priv.Primes[1], priv.Primes[0])
    
    	r := new(big.Int).Mul(priv.Primes[0], priv.Primes[1])
    	priv.Precomputed.CRTValues = make([]CRTValue, len(priv.Primes)-2)
    	for i := 2; i < len(priv.Primes); i++ {
    		prime := priv.Primes[i]
    		values := &priv.Precomputed.CRTValues[i-2]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/math/big/prime.go

    	var rA, rB uint32
    	switch _W {
    	case 32:
    		rA = uint32(x.abs.modW(primesA))
    		rB = uint32(x.abs.modW(primesB))
    	case 64:
    		r := x.abs.modW((primesA * primesB) & _M)
    		rA = uint32(r % primesA)
    		rB = uint32(r % primesB)
    	default:
    		panic("math/big: invalid word size")
    	}
    
    	if rA%3 == 0 || rA%5 == 0 || rA%7 == 0 || rA%11 == 0 || rA%13 == 0 || rA%17 == 0 || rA%19 == 0 || rA%23 == 0 || rA%37 == 0 ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-annotations-stress.test

    Stack id=65 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803629 func=114 file=113 line=47
    Stack id=28 nframes=1
    	pc=4804691 func=124 file=113 line=70
    Stack id=48 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803589 func=114 file=113 line=45
    Stack id=61 nframes=3
    	pc=4599892 func=130 file=131 line=195
    	pc=4804036 func=112 file=113 line=83
    	pc=4803609 func=114 file=113 line=46
    Stack id=13 nframes=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. src/internal/trace/generation.go

    		// Read how many frames are in each stack.
    		nFrames, err := binary.ReadUvarint(r)
    		if err != nil {
    			return err
    		}
    		if nFrames > go122.MaxFramesPerStack {
    			return fmt.Errorf("invalid stack size %d, maximum is %d", nFrames, go122.MaxFramesPerStack)
    		}
    
    		// Each frame consists of 4 fields: pc, funcID (string), fileID (string), line.
    		frames := make([]uint64, 0, nFrames)
    		for i := uint64(0); i < nFrames; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/encoding/csv/reader_test.go

    			col += size
    		}
    		text = text[size:]
    	}
    	return positions, errPositions, string(buf)
    }
    
    // nTimes is an io.Reader which yields the string s n times.
    type nTimes struct {
    	s   string
    	n   int
    	off int
    }
    
    func (r *nTimes) Read(p []byte) (n int, err error) {
    	for {
    		if r.n <= 0 || r.s == "" {
    			return n, io.EOF
    		}
    		n0 := copy(p, r.s[r.off:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    		})
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return crd, nil
    }
    
    // waitForCRDReady creates the given CRD and makes sure its watch cache is primed on the server.
    func waitForCRDReady(crd *apiextensionsv1.CustomResourceDefinition, apiExtensionsClient clientset.Interface, dynamicClientSet dynamic.Interface) (*apiextensionsv1.CustomResourceDefinition, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  7. src/log/slog/value.go

    			return v
    		}
    		v = v.LogValuer().LogValue()
    	}
    	err := fmt.Errorf("LogValue called too many times on Value of type %T", orig.Any())
    	return AnyValue(err)
    }
    
    func stack(skip, nFrames int) string {
    	pcs := make([]uintptr, nFrames+1)
    	n := runtime.Callers(skip+1, pcs)
    	if n == 0 {
    		return "(no stack)"
    	}
    	frames := runtime.CallersFrames(pcs[:n])
    	var b strings.Builder
    	i := 0
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. LICENSES/vendor/github.com/NYTimes/gziphandler/LICENSE

    = vendor/github.com/NYTimes/gziphandler licensed under: =
    
                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 03 21:57:36 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    // limitations under the License.
    
    [[groovy_build_script_primer]]
    = A Groovy Build Script Primer
    
    Ideally, a Groovy build script looks mostly like configuration: setting some properties of the project, configuring dependencies, declaring tasks, and so on. That configuration is based on Groovy language constructs. This primer aims to explain what those constructs are and — most importantly — how they relate to Gradle's API documentation.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. src/crypto/internal/edwards25519/scalar.go

    //
    // Note that since Scalar values are always reduced modulo the prime order of
    // the curve, the resulting value will not preserve any of the cofactor-clearing
    // properties that clamping is meant to provide. It will however work as
    // expected as long as it is applied to points on the prime order subgroup, like
    // in Ed25519. In fact, it is lost to history why RFC 8032 adopted the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top