Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for DP (0.02 sec)

  1. src/strconv/decimal.go

    	d     [800]byte // digits, big-endian representation
    	nd    int       // number of digits used
    	dp    int       // decimal point
    	neg   bool      // negative flag
    	trunc bool      // discarded nonzero digits beyond d[:nd]
    }
    
    func (a *decimal) String() string {
    	n := 10 + a.nd
    	if a.dp > 0 {
    		n += a.dp
    	}
    	if a.dp < 0 {
    		n += -a.dp
    	}
    
    	buf := make([]byte, n)
    	w := 0
    	switch {
    	case a.nd == 0:
    		return "0"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 15 19:41:25 UTC 2017
    - 11K bytes
    - Viewed (0)
  2. src/strconv/ftoa.go

    	//
    	// Suppose d is not denormal, so that 2^exp <= d < 10^dp.
    	// The closest shorter number is at least 10^(dp-nd) away.
    	// The lower/upper bounds computed below are at distance
    	// at most 2^(exp-mantbits).
    	//
    	// So the number is already shortest if 10^(dp-nd) > 2^(exp-mantbits),
    	// or equivalently log2(10)*(dp-nd) > exp-mantbits.
    	// It is true if 332/100*(dp-nd) >= exp-mantbits (log2(10) > 3.32).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/strconv/atof.go

    	if d.dp > 310 {
    		goto overflow
    	}
    	if d.dp < -330 {
    		// zero
    		mant = 0
    		exp = flt.bias
    		goto out
    	}
    
    	// Scale by powers of two until in range [0.5, 1.0)
    	exp = 0
    	for d.dp > 0 {
    		var n int
    		if d.dp >= len(powtab) {
    			n = 27
    		} else {
    			n = powtab[d.dp]
    		}
    		d.Shift(-n)
    		exp += n
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  4. src/strconv/ftoaryu.go

    	formatDecimal(d, uint64(di), !d0, roundUp, prec)
    	// Adjust exponent
    	d.dp -= q
    }
    
    // ryuFtoaFixed64 formats mant*(2^exp) with prec decimal digits.
    func ryuFtoaFixed64(d *decimalSlice, mant uint64, exp int, prec int) {
    	if prec > 18 {
    		panic("ryuFtoaFixed64 called with prec > 18")
    	}
    	// Zero input.
    	if mant == 0 {
    		d.nd, d.dp = 0, 0
    		return
    	}
    	// Renormalize to a 55-bit mantissa.
    	e2 := exp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  5. tests/integration/operator/switch_cr_test.go

    					return fmt.Errorf("got operator service: %s from cluster, expected to be removed", svc.Name)
    				}
    				if dp, _ := cs.Kube().AppsV1().Deployments(OperatorNamespace).Get(context.TODO(), "istio-operator", metav1.GetOptions{}); dp.Name != "" {
    					return fmt.Errorf("got operator deployment %s from cluster, expected to be removed", dp.Name)
    				}
    
    				// check the revision of operator which should not to be removed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/rsa.go

    		return bad(fail("RSA_generate_key_fips"))
    	}
    
    	var n, e, d, p, q, dp, dq, qinv *C.GO_BIGNUM
    	C._goboringcrypto_RSA_get0_key(key, &n, &e, &d)
    	C._goboringcrypto_RSA_get0_factors(key, &p, &q)
    	C._goboringcrypto_RSA_get0_crt_params(key, &dp, &dq, &qinv)
    	return bnToBig(n), bnToBig(e), bnToBig(d), bnToBig(p), bnToBig(q), bnToBig(dp), bnToBig(dq), bnToBig(qinv), nil
    }
    
    type PublicKeyRSA struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/validation/validation.go

    // config version or earlier.
    func isPluginInvalid(apiVersion string, name string) (bool, string) {
    	for _, dp := range invalidPluginsByVersion {
    		for _, plugin := range dp.plugins {
    			if name == plugin {
    				return true, dp.schemeGroupVersion
    			}
    		}
    		if apiVersion == dp.schemeGroupVersion {
    			break
    		}
    	}
    	return false, ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/crypto/rsa/rsa.go

    			return
    		}
    	}
    
    	// Fill in the backwards-compatibility *big.Int values.
    	if priv.Precomputed.Dp != nil {
    		return
    	}
    
    	priv.Precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne)
    	priv.Precomputed.Dp.Mod(priv.D, priv.Precomputed.Dp)
    
    	priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
    	priv.Precomputed.Dq.Mod(priv.D, priv.Precomputed.Dq)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

    //  1) Build subgraphs
    //    1.1) Collect output subgraphs.
    //    1.2) Build `Subgraph` and their "alternative view" from FuncOp.
    //  2) Pick subgraphs
    //    2.1) Populate the "dp table" for (subgraph, hardware).
    //    2.2) Make decisions based on the populated dp table.
    //    2.3) Rewire the whole graph based on the desicions.
    //
    namespace mlir {
    namespace TFL {
    namespace tac {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  10. pkg/config/mesh/mesh.go

    		}
    		defaultConfig.DefaultConfig = pc
    	}
    
    	defaultConfig.DefaultProviders = prevDefaultProvider
    	dp, err := extractYamlField("defaultProviders", raw)
    	if err != nil {
    		return nil, multierror.Prefix(err, "failed to extract default providers")
    	}
    	if dp != "" {
    		if err := protomarshal.ApplyYAML(dp, defaultConfig.DefaultProviders); err != nil {
    			return nil, fmt.Errorf("could not parse default providers: %v", err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top