Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for powx (0.06 sec)

  1. cluster/gce/config-common.sh

    }
    
    # Calculate ip alias range based on max number of pods.
    # Let pow be the smallest integer which is bigger or equal to log2($1 * 2).
    # (32 - pow) will be returned.
    #
    # $1: The number of max pods limitation.
    function get-alias-range-size() {
      for pow in {0..31}; do
        if (( 1 << pow >= $1 * 2 )); then
          echo $((32 - pow))
          return 0
        fi
      done
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:06:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigIntegerMath.java

          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5
            BigInteger x2 = x.pow(2);
            BigInteger halfPowerSquared = floorPow.pow(2).multiply(BigInteger.TEN);
            return (x2.compareTo(halfPowerSquared) <= 0) ? floorLog : floorLog + 1;
          default:
            throw new AssertionError();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. pkg/volume/portworx/portworx.go

    	}
    	klog.Infof("Portworx Volume %s setup at %s", b.volumeID, dir)
    	return nil
    }
    
    func (pwx *portworxVolume) GetPath() string {
    	return getPath(pwx.podUID, pwx.volName, pwx.plugin.host)
    }
    
    type portworxVolumeUnmounter struct {
    	*portworxVolume
    }
    
    var _ volume.Unmounter = &portworxVolumeUnmounter{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoKotlinJvmPluginAggregationTest.groovy

                file("transitive/src/main/java/transitive/Powerize.java").java """
                    package transitive;
    
                    public class Powerize {
                        public int pow(int x, int y) {
                            return (int)Math.pow(x, y);
                        }
                    }
                """
            }
        }
    
        def "can aggregate jacoco execution data from a subproject with kotlin-dsl and no tests"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5
            BigInteger x2 = x.pow(2);
            BigInteger halfPowerSquared = floorPow.pow(2).multiply(BigInteger.TEN);
            return (x2.compareTo(halfPowerSquared) <= 0) ? floorLog : floorLog + 1;
          default:
            throw new AssertionError();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  7. src/math/export_s390x_test.go

    var ErfNovec = erf
    var ErfcNovec = erfc
    var AtanNovec = atan
    var Atan2Novec = atan2
    var CbrtNovec = cbrt
    var LogNovec = log
    var TanNovec = tan
    var ExpNovec = exp
    var Expm1Novec = expm1
    var PowNovec = pow
    var HypotNovec = hypot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureContractsTest.kt

    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.psiUtil.collectDescendantsOfType
    import org.jetbrains.kotlin.test.services.TestServices
    import org.jetbrains.kotlin.test.services.assertions
    import kotlin.math.pow
    
    abstract class AbstractAnalysisApiSignatureContractsTest : AbstractAnalysisApiBasedTest() {
        override fun doTestByMainFile(mainFile: KtFile, mainModule: KtTestModule, testServices: TestServices) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/strconv/ftoaryu.go

    		panic("mult128bitPow10: power of 10 is out of range")
    	}
    	pow := detailedPowersOfTen[q-detailedPowersOfTenMinExp10]
    	if q < 0 {
    		// Inverse powers of ten must be rounded up.
    		pow[0] += 1
    	}
    	e2 += mulByLog10Log2(q) - 127 + 119
    
    	// long multiplication
    	l1, l0 := bits.Mul64(m, pow[0])
    	h1, h0 := bits.Mul64(m, pow[1])
    	mid, carry := bits.Add64(l1, h0, 0)
    	h1 += carry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  10. src/math/gamma.go

    		MaxStirling = 143.01608
    	)
    	w := 1 / x
    	w = 1 + w*((((_gamS[0]*w+_gamS[1])*w+_gamS[2])*w+_gamS[3])*w+_gamS[4])
    	y1 := Exp(x)
    	y2 := 1.0
    	if x > MaxStirling { // avoid Pow() overflow
    		v := Pow(x, 0.5*x-0.25)
    		y1, y2 = v, v/y1
    	} else {
    		y1 = Pow(x, x-0.5) / y1
    	}
    	return y1, SqrtTwoPi * w * y2
    }
    
    // Gamma returns the Gamma function of x.
    //
    // Special cases are:
    //
    //	Gamma(+Inf) = +Inf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top