Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for Vector3 (0.14 sec)

  1. src/math/big/arith_mipsx.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go && (mips || mipsle)
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP	·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP	·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP	·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 759 bytes
    - Viewed (0)
  2. src/crypto/rsa/pkcs1v15_test.go

    	n, err := base64.StdEncoding.Decode(out, []byte(in))
    	if err != nil {
    		return nil
    	}
    	return out[0:n]
    }
    
    type DecryptPKCS1v15Test struct {
    	in, out string
    }
    
    // These test vectors were generated with `openssl rsautl -pkcs -encrypt`
    var decryptPKCS1v15Tests = []DecryptPKCS1v15Test{
    	{
    		"gIcUIoVkD6ATMBk/u/nlCZCCWRKdkfjCgFdo35VpRXLduiKXhNz1XupLLzTXAybEq15juc+EgY5o0DHv/nt3yg==",
    		"x",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/internal/codesign/codesign.go

    // https://opensource.apple.com/source/xnu/xnu-4903.270.47/osfmk/kern/cs_blobs.h
    
    const (
    	CSMAGIC_REQUIREMENT        = 0xfade0c00 // single Requirement blob
    	CSMAGIC_REQUIREMENTS       = 0xfade0c01 // Requirements vector (internal requirements)
    	CSMAGIC_CODEDIRECTORY      = 0xfade0c02 // CodeDirectory blob
    	CSMAGIC_EMBEDDED_SIGNATURE = 0xfade0cc0 // embedded form of signature data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top