Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Conversion (0.22 sec)

  1. doc/go1.17_spec.html

    channel is closed and empty.
    </p>
    
    
    <h3 id="Conversions">Conversions</h3>
    
    <p>
    A conversion changes the <a href="#Types">type</a> of an expression
    to the type specified by the conversion.
    A conversion may appear literally in the source, or it may be <i>implied</i>
    by the context in which an expression appears.
    </p>
    
    <p>
    An <i>explicit</i> conversion is an expression of the form <code>T(x)</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    func isASCII(s string) bool {
    	for _, c := range s {
    		if c >= 0x80 || c == 0x00 {
    			return false
    		}
    	}
    	return true
    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    func toASCII(s string) string {
    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	// This is particularly useful when passing additional arguments
    	// to _cgoCheckPointer, as done in checkIndex and checkAddr.
    	//
    	// When the function argument is a conversion to unsafe.Pointer,
    	// we unwrap the conversion before checking the pointer,
    	// and then wrap again when calling C.f. This lets us check
    	// the real type of the pointer in some cases. See issue #25941.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. doc/go_spec.html

    channel is closed and empty.
    </p>
    
    
    <h3 id="Conversions">Conversions</h3>
    
    <p>
    A conversion changes the <a href="#Types">type</a> of an expression
    to the type specified by the conversion.
    A conversion may appear literally in the source, or it may be <i>implied</i>
    by the context in which an expression appears.
    </p>
    
    <p>
    An <i>explicit</i> conversion is an expression of the form <code>T(x)</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p1/p1.go

    	ConversionConst = MyInt(5)
    )
    
    // Variables from function calls.
    var (
    	V = ptwo.F()
    	// Deprecated: use WError.
    	VError = BarE()
    	V1     = Bar1(1, 2, 3)
    	V2     = ptwo.G()
    )
    
    // Variables with conversions:
    var (
    	StrConv  = string("foo")
    	ByteConv = []byte("foo")
    )
    
    var ChecksumError = ptwo.NewError("gzip checksum error")
    
    const B0 = 2
    const StrConst = "foo"
    const FloatConst = 1.5
    
    type myInt int
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64.s

    	FMULS	F1, F0, F2				// 53011010
    	FDIVS	F1, F0, F2				// 53011018
    	FMINS	F1, F0, F2				// 53011028
    	FMAXS	F1, F0, F2				// 53111028
    	FSQRTS	F0, F1					// d3000058
    
    	// 11.7: Single-Precision Floating-Point Conversion and Move Instructions
    	FCVTWS	F0, X5					// d31200c0
    	FCVTWS.RNE	F0, X5				// d30200c0
    	FCVTWS.RTZ	F0, X5				// d31200c0
    	FCVTWS.RDN	F0, X5				// d32200c0
    	FCVTWS.RUP	F0, X5				// d33200c0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (1)
  7. api/go1.18.txt

    pkg go/types, type ArgumentError struct
    pkg go/types, type ArgumentError struct, Err error
    pkg go/types, type ArgumentError struct, Index int
    pkg go/types, type Config struct, Context *Context
    pkg go/types, type Config struct, GoVersion string
    pkg go/types, type Context struct
    pkg go/types, type Info struct, Instances map[*ast.Ident]Instance
    pkg go/types, type Instance struct
    pkg go/types, type Instance struct, Type Type
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    	if err != nil {
    		return err
    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	goVersion := string(out)
    
    	// Also known by cmd/dist. The bootstrap command deletes the file.
    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

            GOPROXY="https://proxy.golang.org,direct"
            GOROOT="/usr/local/go"
            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top