Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for Labs (0.17 sec)

  1. android/guava/src/com/google/common/math/DoubleUtils.java

      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. docs/en/mkdocs.yml

          name: Switch to light mode
      features:
      - search.suggest
      - search.highlight
      - content.tabs.link
      - navigation.indexes
      - content.tooltips
      - navigation.path
      - content.code.annotate
      - content.code.copy
      - content.code.select
      - navigation.tabs
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 16:48:56 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradient_checker_test.cc

    void CompareNumericalAndManualGradients(
        Model model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, int input_index,
        float* expected_grad, int num_grad, bool use_function,
        double abs_error = 1e-2) {
      Status s;
      AbstractTensorHandlePtr numerical_grad;
      {
        AbstractTensorHandle* numerical_grad_raw;
        s = CalcNumericalGrad(ctx, model, inputs, input_index, use_function,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    // Neg sets z = -x and returns z.
    func (z *Int) Neg(x *Int) *Int {
    	x.doinit()
    	z.doinit()
    	C.mpz_neg(&z.i[0], &x.i[0])
    	return z
    }
    
    // Abs sets z to the absolute value of x and returns z.
    func (z *Int) Abs(x *Int) *Int {
    	x.doinit()
    	z.doinit()
    	C.mpz_abs(&z.i[0], &x.i[0])
    	return z
    }
    
    /*
     * functions without a clear receiver
     */
    
    // CmpInt compares x and y. The result is
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. docs/debugging/xattr/main.go

    	table.SetCenterSeparator("")
    	table.SetColumnSeparator("")
    	table.SetRowSeparator("")
    	table.SetHeaderLine(false)
    	// table.EnableBorder(false)
    	table.SetTablePadding("\t") // pad with tabs
    	table.SetNoWhiteSpace(true)
    
    	if set {
    		if err := setxattr(path, name, value); err != nil {
    			log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err))
    		}
    	} else {
    		if name == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/main/webapp/css/admin/adminlte.min.css

    #dee2e6}.nav-tabs.flex-column.nav-tabs-right{border-left:1px solid #dee2e6;border-right:0}.nav-tabs.flex-column.nav-tabs-right .nav-link{border-bottom-left-radius:0;border-bottom-right-radius:.25rem;border-top-left-radius:0;border-top-right-radius:.25rem;margin-left:-1px}.nav-tabs.flex-column.nav-tabs-right .nav-link:focus,.nav-tabs.flex-column.nav-tabs-right .nav-link:hover{border-color:#e9ecef #e9ecef #e9ecef transparent}.nav-tabs.flex-column.nav-tabs-right .nav-item.show .nav-link,.nav-tabs.flex-column.nav-tabs-right...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 641.1K bytes
    - Viewed (1)
  8. src/main/webapp/js/admin/plugins/form-validator/uk.js

    f(a=a.replace(/[^0-9]/g,""),a.length<9)return!1;var b=!1,c=[];c=a.split("");var d=Number(c[7]+c[8]),e=c[0],f=c[1];if(0===e&&f>0)return!1;for(var g=0,h=0;h<7;h++)g+=c[h]*(8-h);for(var i=0,j=0,k=8;k>=2;k--)i+=c[j]*k,j++;for(;g>0;)g-=97;return g=Math.abs(g),d===g&&(b=!0),b||(g%=97,g>=55?g-=55:g+=42,g===d&&(b=!0)),b},errorMessage:"",errorMessageKey:"badUKVatAnswer"}),a.formUtils.addValidator({name:"ukutr",validatorFunction:function(a){var b=[0,6,7,8,9,10,5,4,3,2],c=[2,1,9,8,7,6,5,4,3,2,1],d=0;if(/\d...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/cgotest/overlaydir.go

    func OverlayDir(dstRoot, srcRoot string) error {
    	dstRoot = filepath.Clean(dstRoot)
    	if err := os.MkdirAll(dstRoot, 0777); err != nil {
    		return err
    	}
    
    	srcRoot, err := filepath.Abs(srcRoot)
    	if err != nil {
    		return err
    	}
    
    	return filepath.Walk(srcRoot, func(srcPath string, info os.FileInfo, err error) error {
    		if err != nil || srcPath == srcRoot {
    			return err
    		}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        // decrement until it's <= the true value
        while (StrictMath.pow(2.0, trueLog2) > d) {
          trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
        }
        if (StrictMath.abs(StrictMath.pow(2.0, trueLog2) - d)
            > StrictMath.abs(StrictMath.pow(2.0, StrictMath.nextUp(trueLog2)) - d)) {
          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        return trueLog2;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top