Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Operator (0.18 sec)

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

    	macroName                             // name of macro that should not be expanded
    )
    
    // IsRegisterShift reports whether the token is one of the ARM register shift operators.
    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    // information) operators.
    var gofmtLineReplacer = strings.NewReplacer(
    	// Want to replace \n without ; after everything from
    	// https://golang.org/ref/spec#Operators_and_punctuation
    	// EXCEPT ++ -- ) ] }
    	"++\n", "++;",
    	"--\n", "--;",
    
    	"+\n", "+ ",
    	"-\n", "- ",
    	"*\n", "* ",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    func (z *Int) Div(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_q(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Mod sets z = x % y and returns z.
    // Like the result of the Go % operator, z has the same sign as x.
    func (z *Int) Mod(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_r(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Lsh sets z = x << s and returns z.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top