Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for arguments (0.19 sec)

  1. src/builtin/builtin.go

    // 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)
  2. src/cmd/cgo/doc.go

    types that include Go pointers.
    
    All Go pointers passed to C must point to pinned Go memory. Go pointers
    passed as function arguments to C functions have the memory they point to
    implicitly pinned for the duration of the call. Go memory reachable from
    these function arguments must be pinned as long as the C code has access
    to it. Whether Go memory is pinned is a dynamic property of that memory
    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)
  3. src/cmd/asm/internal/lex/input.go

    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </pre>
    
    <p>
    The type of the arguments and return value correspond.
    For <code>complex</code>, the two arguments must be of the same
    floating-point type and the return type is the complex type
    with the corresponding floating-point constituents:
    <code>complex64</code> for <code>float32</code> arguments, and
    <code>complex128</code> for <code>float64</code> arguments.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. misc/wasm/wasm_exec.js

    				[globalThis, 5],
    				[this, 6],
    			]);
    			this._idPool = [];   // unused ids that have been garbage collected
    			this.exited = false; // whether the Go program has exited
    
    			// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. doc/go_spec.html

    f1 := apply[[]int]             // type argument for S explicitly provided, type argument for E inferred
    f2 := apply[[]string, string]  // both type arguments explicitly provided
    
    var bytes []byte
    r := apply(bytes, func(byte) byte { … })  // both type arguments inferred from the function arguments
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"argumented macro invoked without arguments",
    		lines(
    			"#define X() foo ",
    			"X()",
    			"X",
    		),
    		"foo.\n.X.\n",
    	},
    	{
    		"multiline macro without arguments",
    		lines(
    			"#define A 1\\",
    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/00-bug.yml

            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
            GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
          render: shell
        validations:
          required: true
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	// Test other movtab entries.
    	PUSHQ GS // 0fa8
    	PUSHQ FS // 0fa0
    	POPQ FS  // 0fa1
    	POPQ GS  // 0fa9
    	// All instructions below semantically have unsigned operands,
    	// but previous assembler permitted negative arguments.
    	// This behavior is preserved for compatibility reasons.
    	VPSHUFD $-79, X7, X7         // c5f970ffb1
    	RORXL $-1, (AX), DX          // c4e37bf010ff
    	RORXQ $-1, (AX), DX          // c4e3fbf010ff
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  10. misc/wasm/wasm_exec_node.js

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    "use strict";
    
    if (process.argv.length < 3) {
    	console.error("usage: go_js_wasm_exec [wasm binary] [arguments]");
    	process.exit(1);
    }
    
    globalThis.require = require;
    globalThis.fs = require("fs");
    globalThis.TextEncoder = require("util").TextEncoder;
    globalThis.TextDecoder = require("util").TextDecoder;
    
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top