Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for octal0 (0.14 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableFilePermissions.java

            try {
                return Integer.parseInt(permissions, 8);
            } catch (NumberFormatException e) {
                throw new IllegalArgumentException("Can't be parsed as octal number.");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

        /**
         * Converts the user permission to a numeric Unix permission.
         * See {@link ConfigurableFilePermissions#unix(String)} for details,
         * returned value is equivalent to one of the three octal digits.
         */
        protected int toUnixNumeric() {
            return (getRead() ? 4 : 0) + (getWrite() ? 2 : 0) + (getExecute() ? 1 : 0);
        }
    
        protected static boolean isRead(int unixNumeric) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFilePermissions.java

        /**
         * Sets Unix style permissions. Accept values in two styles of notation:
         * <ul>
         *     <li>NUMERIC notation: uses 3 octal (base-8) digits representing permissions for the 3 categories of users; for example "755"</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/control_edges.mlir

      %tmp0, %ctl0  = tfl.control_node controls "tfl.neg"(%arg0): (tensor<1xf32>) -> tensor<1xf32>
      func.return %tmp0: tensor<1xf32>
    }
    // CHECK-NEXT: %[[tmp:.*]] = "tfl.neg"(%arg0)
    // CHECK-NEXT: return %[[tmp]]
    
    // CHECK-LABEL: @long_chain
    func.func @long_chain(%arg0: tensor<1xf32>)->tensor<1xf32> {
      %tmp0, %ctl0 = tfl.control_node controls "tfl.neg"(%arg0): (tensor<1xf32>) -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 14 21:40:53 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. src/math/sincos.go

    		y = float64(j)           // integer part of x/(Pi/4), as float
    
    		if j&1 == 1 { // map zeros to origin
    			j++
    			y++
    		}
    		j &= 7                               // octant modulo 2Pi radians (360 degrees)
    		z = ((x - y*PI4A) - y*PI4B) - y*PI4C // Extended precision modular arithmetic
    	}
    	if j > 3 { // reflect in x axis
    		j -= 4
    		sinSign, cosSign = !sinSign, !cosSign
    	}
    	if j > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/dist/main.go

    		}
    	case "windows":
    		exe = ".exe"
    	}
    
    	sysinit()
    
    	if gohostarch == "" {
    		// Default Unix system.
    		out := run("", CheckExit, "uname", "-m")
    		outAll := run("", CheckExit, "uname", "-a")
    		switch {
    		case strings.Contains(outAll, "RELEASE_ARM64"):
    			// MacOS prints
    			// Darwin p1.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 x86_64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/math/big/ratconv.go

    // or “0x” (or their upper-case variants) to denote a binary, octal, or
    // hexadecimal integer, respectively. The divisor may not be signed.
    // If a floating-point number is provided, it may be in decimal form or
    // use any of the same prefixes as above but for “0” to denote a non-decimal
    // mantissa. A leading “0” is considered a decimal leading 0; it does not
    // indicate octal representation in this case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/math/big/floatconv.go

    		// of '.'. Adjust relevant exponent accordingly.
    		d := int64(fcount)
    		switch b {
    		case 10:
    			exp5 = d
    			fallthrough // 10**e == 5**e * 2**e
    		case 2:
    			exp2 += d
    		case 8:
    			exp2 += d * 3 // octal digits are 3 bits each
    		case 16:
    			exp2 += d * 4 // hexadecimal digits are 4 bits each
    		default:
    			panic("unexpected mantissa base")
    		}
    		// fcount consumed - not needed anymore
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. test/typeparam/issue48042.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    )
    
    type G[T any] interface {
    	g() func()(*T)
    }
    type Foo[T any] struct {
    
    }
    // OCALL
    func (l *Foo[T]) f1() (*T) {
    	return g[T]()()
    }
    // OCALLFUNC
    func (l *Foo[T]) f2() (*T) {
    	var f = g[T]
    	return f()()
    }
    // OCALLMETH
    func (l *Foo[T]) f3() (*T) {
    	return l.g()()
    }
    // OCALLINTER
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. src/math/big/example_test.go

    )
    
    func ExampleRat_SetString() {
    	r := new(big.Rat)
    	r.SetString("355/113")
    	fmt.Println(r.FloatString(3))
    	// Output: 3.142
    }
    
    func ExampleInt_SetString() {
    	i := new(big.Int)
    	i.SetString("644", 8) // octal
    	fmt.Println(i)
    	// Output: 420
    }
    
    func ExampleFloat_SetString() {
    	f := new(big.Float)
    	f.SetString("3.14159")
    	fmt.Println(f)
    	// Output: 3.14159
    }
    
    func ExampleRat_Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 16:15:32 UTC 2020
    - 4K bytes
    - Viewed (0)
Back to top