Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Garg (0.19 sec)

  1. src/cmd/cgo/doc.go

    	<remote>, so that C code can refer to it by that name. This
    	mechanism makes it possible for C code to call back into Go or
    	to share Go's data.
    
    //go:cgo_ldflag "<arg>"
    
    	In external linking mode, invoke the host linker (usually gcc)
    	with "<arg>" as a command-line argument following the .o files.
    	Note that the arguments are for "gcc", not "ld".
    
    	Example:
    	//go:cgo_ldflag "-lpthread"
    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)
  2. src/cmd/asm/internal/asm/parse.go

    			// Otherwise ignored.
    			continue
    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		if f == nil && fb == nil {
    			continue
    		}
    		var actual string
    		if f != nil {
    			actual = string(f([]byte(tc.in), tc.arg))
    		} else {
    			actual = string(fb([]byte(tc.in), []byte(tc.arg)))
    		}
    		if actual != tc.out {
    			t.Errorf("%s(%q, %q) = %q; want %q", name, tc.in, tc.arg, actual, tc.out)
    		}
    	}
    
    	for _, tc := range trimNilTests {
    		name := tc.f
    		f, fb := toFn(name)
    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)
  5. doc/asm.html

    <code>8(FP)</code> is the second (on a 64-bit machine), and so on.
    However, when referring to a function argument this way, it is necessary to place a name
    at the beginning, as in <code>first_arg+0(FP)</code> and <code>second_arg+8(FP)</code>.
    (The meaning of the offset—offset from the frame pointer—distinct
    from its use with <code>SB</code>, where it is an offset from the symbol.)
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top