Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for conversion (0.27 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/cgo/doc.go

    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. 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 (0)
  8. doc/next/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 16:44:53 GMT 2024
    - 256 bytes
    - Viewed (0)
  9. 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)
  10. doc/initial/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jan 22 18:07:49 GMT 2024
    - 256 bytes
    - Viewed (0)
Back to top