Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for address (0.2 sec)

  1. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "(0), 1", "expect /size for DATA argument"},
    		{"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580.
    		{"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"},
    		{"DATA", "·B(SB)/4,$0", ""},
    		{"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"},
    		{"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    Go structs cannot embed fields with C types.
    
    Go code cannot refer to zero-sized fields that occur at the end of
    non-empty C structs. To get the address of such a field (which is the
    only operation you can do with a zero-sized field) you must take the
    address of the struct and add the size of the struct.
    
    Cgo translates C types into equivalent unexported Go types.
    Because the translations are unexported, a Go package should not
    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. doc/go1.17_spec.html

    ||    conditional OR     p || q  is  "if p then true else q"
    !     NOT                !p      is  "not p"
    </pre>
    
    
    <h3 id="Address_operators">Address operators</h3>
    
    <p>
    For an operand <code>x</code> of type <code>T</code>, the address operation
    <code>&amp;x</code> generates a pointer of type <code>*T</code> to <code>x</code>.
    The operand must be <i>addressable</i>,
    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)
  4. src/cmd/asm/internal/asm/parse.go

    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    func (p *Parser) address(operand []lex.Token) obj.Addr {
    	p.start(operand)
    	addr := obj.Addr{}
    	p.operand(&addr)
    	return addr
    }
    
    // parseScale converts a decimal string into a valid scale factor.
    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)
  5. api/go1.5.txt

    pkg net/http/fcgi, var ErrRequestAborted error
    pkg net/http/pprof, func Trace(http.ResponseWriter, *http.Request)
    pkg net/mail, method (*AddressParser) Parse(string) (*Address, error)
    pkg net/mail, method (*AddressParser) ParseList(string) ([]*Address, error)
    pkg net/mail, type AddressParser struct
    pkg net/mail, type AddressParser struct, WordDecoder *mime.WordDecoder
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/operand_test.go

    					}
    					if i := strings.Index(wantName, "+"); i >= 0 {
    						wantName = wantName[:i]
    					}
    				}
    				if ok != isFuncSym || name != wantName {
    					t.Errorf("fail at %s as function address: got %s, %v; expected %s, %v", test.input, name, ok, wantName, isFuncSym)
    				}
    			}
    		})
    	}
    }
    
    type operandTest struct {
    	input, output string
    }
    
    type badOperandTest struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    	if err != nil {
    		p.errorf("bad size for DATA argument: %q", szop)
    	}
    	op = op[:n-2]
    	nameAddr := p.address(op)
    	if !p.validSymbol("DATA", &nameAddr, true) {
    		return
    	}
    	name := symbolName(&nameAddr)
    
    	// Operand 1 is an immediate constant or address.
    	valueAddr := p.address(operands[1])
    	switch valueAddr.Type {
    	case obj.TYPE_CONST, obj.TYPE_FCONST, obj.TYPE_SCONST, obj.TYPE_ADDR:
    		// OK
    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)
  8. src/cmd/asm/internal/asm/testdata/amd64error.s

    	MOVL (AX)(Y0*1), AX             // ERROR "invalid instruction"
    	// VSIB/VM is invalid without vector index.
    	// TODO(quasilyte): improve error message (#21860).
    	// "invalid VSIB address (missing vector index)"
    	VPGATHERQQ Y2, (BP), Y1         // ERROR "invalid instruction"
    	// AVX2GATHER mask/index/dest #UD cases.
    	VPGATHERQQ Y2, (BP)(X2*2), Y2   // ERROR "mask, index, and destination registers should be distinct"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. doc/go_spec.html

    ||    conditional OR     p || q  is  "if p then true else q"
    !     NOT                !p      is  "not p"
    </pre>
    
    
    <h3 id="Address_operators">Address operators</h3>
    
    <p>
    For an operand <code>x</code> of type <code>T</code>, the address operation
    <code>&amp;x</code> generates a pointer of type <code>*T</code> to <code>x</code>.
    The operand must be <i>addressable</i>,
    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)
  10. src/cmd/cgo/internal/test/callback.go

    func nestedCall(f func()) {
    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top