Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for Vector3 (0.1 sec)

  1. src/runtime/rand.go

    	"unsafe"
    	_ "unsafe" // for go:linkname
    )
    
    // OS-specific startup can set startupRand if the OS passes
    // random data to the process at startup time.
    // For example Linux passes 16 bytes in the auxv vector.
    var startupRand []byte
    
    // globalRand holds the global random state.
    // It is only used at startup and for creating new m's.
    // Otherwise the per-m random state should be used
    // by calling goodrand.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/math/big/arith_386.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    // func addVV(z, x, y []Word) (c Word)
    TEXT ·addVV(SB),NOSPLIT,$0
    	MOVL z+0(FP), DI
    	MOVL x+12(FP), SI
    	MOVL y+24(FP), CX
    	MOVL z_len+4(FP), BP
    	MOVL $0, BX		// i = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/image/geom.go

    }
    
    // Add returns the vector p+q.
    func (p Point) Add(q Point) Point {
    	return Point{p.X + q.X, p.Y + q.Y}
    }
    
    // Sub returns the vector p-q.
    func (p Point) Sub(q Point) Point {
    	return Point{p.X - q.X, p.Y - q.Y}
    }
    
    // Mul returns the vector p*k.
    func (p Point) Mul(k int) Point {
    	return Point{p.X * k, p.Y * k}
    }
    
    // Div returns the vector p/k.
    func (p Point) Div(k int) Point {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/math/big/arith_arm.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    // func addVV(z, x, y []Word) (c Word)
    TEXT ·addVV(SB),NOSPLIT,$0
    	ADD.S	$0, R0		// clear carry flag
    	MOVW	z+0(FP), R1
    	MOVW	z_len+4(FP), R4
    	MOVW	x+12(FP), R2
    	MOVW	y+24(FP), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/internal/bytealg/count_ppc64x.s

    	BLT	tail		// Jump to the small string case
    	SRD	$5, R4, R20
    	MOVD	R20, CTR
    	MOVD	$16, R21
    	XXLXOR	V4, V4, V4
    	XXLXOR	V5, V5, V5
    
    	PCALIGN	$16
    cmploop:
    	LXVD2X	(R0)(R3), V0	// Count 32B per loop with two vector accumulators.
    	LXVD2X	(R21)(R3), V2
    	VCMPEQUB V2, V1, V2
    	VCMPEQUB V0, V1, V0
    	VPOPCNTD V2, V2		// A match is 0xFF or 0. Count the bits into doubleword buckets.
    	VPOPCNTD V0, V0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 20:30:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64error.s

    	MOVL (AX)(X0*1), AX             // ERROR "invalid instruction"
    	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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. src/runtime/sys_windows_arm64.s

    	// Create a struct callbackArgs on our stack.
    	MOVD	$cbargs-(18*8+callbackArgs__size)(SP), R13
    	MOVD	R12, callbackArgs_index(R13)	// callback index
    	MOVD	R14, R0
    	MOVD	R0, callbackArgs_args(R13)		// address of args vector
    	MOVD	$0, R0
    	MOVD	R0, callbackArgs_result(R13)	// result
    
    	// Call cgocallback, which will call callbackWrap(frame).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/crypto/cipher/ofb.go

    type ofb struct {
    	b       Block
    	cipher  []byte
    	out     []byte
    	outUsed int
    }
    
    // NewOFB returns a [Stream] that encrypts or decrypts using the block cipher b
    // in output feedback mode. The initialization vector iv's length must be equal
    // to b's block size.
    func NewOFB(b Block, iv []byte) Stream {
    	blockSize := b.BlockSize()
    	if len(iv) != blockSize {
    		panic("cipher.NewOFB: IV length must equal block size")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/runtime/sys_windows_arm.s

    	// Create a struct callbackArgs on our stack.
    	MOVW	R12, (16+callbackArgs_index)(R13)	// callback index
    	MOVW	$(16+callbackArgs__size+4*9)(R13), R0
    	MOVW	R0, (16+callbackArgs_args)(R13)		// address of args vector
    	MOVW	$0, R0
    	MOVW	R0, (16+callbackArgs_result)(R13)	// result
    
    	// Prepare for entry to Go.
    	BL	runtime·load_g(SB)
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVW	$0, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. src/math/big/arith_amd64.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    // The carry bit is saved with SBBQ Rx, Rx: if the carry was set, Rx is -1, otherwise it is 0.
    // It is restored with ADDQ Rx, Rx: if Rx was -1 the carry is set, otherwise it is cleared.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top