Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Shift (0.21 sec)

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

    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    			}
    		case lex.LSH:
    			p.next()
    			shift := p.factor()
    			if int64(shift) < 0 {
    				p.errorf("negative left shift count")
    			}
    			return value << shift
    		case lex.RSH:
    			p.next()
    			shift := p.term()
    			if int64(shift) < 0 {
    				p.errorf("negative right shift count")
    			}
    			if int64(value) < 0 {
    				p.errorf("right shift of value with high bit set")
    			}
    			value >>= shift
    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. api/go1.3.txt

    pkg syscall (freebsd-386), const MAP_ALIGNMENT_MASK = -16777216
    pkg syscall (freebsd-386), const MAP_ALIGNMENT_MASK ideal-int
    pkg syscall (freebsd-386), const MAP_ALIGNMENT_SHIFT = 24
    pkg syscall (freebsd-386), const MAP_ALIGNMENT_SHIFT ideal-int
    pkg syscall (freebsd-386), const MSG_CMSG_CLOEXEC = 262144
    pkg syscall (freebsd-386), const MSG_CMSG_CLOEXEC ideal-int
    pkg syscall (freebsd-386), const NAME_MAX = 255
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  4. src/bootstrap.bash

    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm64.go

    		}
    	}
    	return 0, false
    }
    
    // ARM64RegisterShift constructs an ARM64 register with shift operation.
    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  6. lib/time/update.bash

    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    if git diff --quiet $files; then
    	modified=false
    fi
    
    if [ "$1" = "-work" ]; then
    	echo Left workspace behind in work/.
    	shift
    else
    	rm -rf work
    fi
    
    if ! $modified; then
    	echo No updates needed.
    	exit 0
    fi
    
    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. doc/asm.html

    <code>R0-&gt;16</code>
    <br>
    <code>R0&gt;&gt;16</code>
    <br>
    <code>R0&lt;&lt;16</code>
    <br>
    <code>R0@&gt;16</code>:
    For <code>&lt;&lt;</code>, left shift <code>R0</code> by 16 bits.
    The other codes are <code>-&gt;</code> (arithmetic right shift),
    <code>&gt;&gt;</code> (logical right shift), and
    <code>@&gt;</code> (rotate right).
    </li>
    
    <li>
    <code>R0-&gt;R1</code>
    <br>
    <code>R0&gt;&gt;R1</code>
    <br>
    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)
  8. src/cmd/asm/internal/asm/testdata/armerror.s

    	MOVB	R0>>8, R2          // ERROR "illegal shift"
    	MOVH	R0<<16, R2         // ERROR "illegal shift"
    	MOVBS	R0->8, R2          // ERROR "illegal shift"
    	MOVHS	R0<<24, R2         // ERROR "illegal shift"
    	MOVBU	R0->24, R2         // ERROR "illegal shift"
    	MOVHU	R0@>1, R2          // ERROR "illegal shift"
    	XTAB	R0>>8, R2          // ERROR "illegal shift"
    	XTAH	R0<<16, R2         // ERROR "illegal shift"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 03 14:06:21 GMT 2017
    - 14.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDSW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUB	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUBW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    var u1 = 1.0&lt;&lt;s != 0           // illegal: 1.0 has type float64, cannot shift
    var u2 = 1&lt;&lt;s != 1.0           // illegal: 1 has type float64, cannot shift
    var v float32 = 1&lt;&lt;s           // illegal: 1 has type float32, cannot shift
    var w int64 = 1.0&lt;&lt;33          // 1.0&lt;&lt;33 is a constant shift expression; w == 1&lt;&lt;33
    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)
Back to top