Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fixed (0.15 sec)

  1. 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)
  2. 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)
  3. src/builtin/builtin.go

    // The max built-in function returns the largest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	// }
    	import "C"
    	import "fmt"
    
    	func main() {
    		f := C.intFunc(C.fortytwo)
    		fmt.Println(int(C.bridge_int_func(f)))
    		// 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
    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)
  5. doc/go1.17_spec.html

    <code>byte</code>, which is an <a href="#Alias_declarations">alias</a> for <code>uint8</code>, and
    <code>rune</code>, which is an alias for <code>int32</code>.
    Explicit conversions
    are required when different numeric types are mixed in an expression
    or assignment. For instance, <code>int32</code> and <code>int</code>
    are not the same type even though they may have the same size on a
    particular architecture.
    </p>
    
    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)
  6. doc/asm.html

    These modes accept only 1, 2, 4, and 8 as scale factors.
    </li>
    
    </ul>
    
    <p>
    When using the compiler and assembler's
    <code>-dynlink</code> or <code>-shared</code> modes,
    any load or store of a fixed memory location such as a global variable
    must be assumed to overwrite <code>CX</code>.
    Therefore, to be safe for use with these modes,
    assembly sources should typically avoid CX except between memory references.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/1-time.md

    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    			x[i] = ' '
    		} else {
    			x[i] = 'x'
    		}
    	}
    	return x
    }
    
    var bytesdata = []struct {
    	name string
    	data []byte
    }{
    	{"ASCII", makeFieldsInputASCII()},
    	{"Mixed", makeFieldsInput()},
    }
    
    func BenchmarkFields(b *testing.B) {
    	for _, sd := range bytesdata {
    		b.Run(sd.name, func(b *testing.B) {
    			for j := 1 << 4; j <= 1<<20; j <<= 4 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. doc/go_spec.html

    </p>
    
    
    <h3 id="Min_and_max">Min and max</h3>
    
    <p>
    The built-in functions <code>min</code> and <code>max</code> compute the
    smallest&mdash;or largest, respectively&mdash;value of a fixed number of
    arguments of <a href="#Comparison_operators">ordered types</a>.
    There must be at least one argument
    [<a href="#Go_1.21">Go 1.21</a>].
    </p>
    
    <p>
    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)
Back to top