Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 119 for Vector3 (0.18 sec)

  1. src/runtime/os_linux_s390x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "internal/cpu"
    
    const (
    	_HWCAP_VX = 1 << 11 // vector facility
    )
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    	case _AT_HWCAP:
    		cpu.HWCap = uint(val)
    	}
    }
    
    func osArchInit() {}
    
    func checkS390xCPU() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 17:36:28 UTC 2023
    - 825 bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(sig, expectedSig) {
    		t.Error("signature doesn't match test vector")
    	}
    	sig, err = private.Sign(nil, hash[:], &Options{Hash: crypto.SHA512})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(sig, expectedSig) {
    		t.Error("signature doesn't match test vector")
    	}
    	if err := VerifyWithOptions(public, hash[:], sig, &Options{Hash: crypto.SHA512}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/internal/cpu/cpu_arm64_hwcap.go

    	hwcap_SHA2    = 1 << 6
    	hwcap_CRC32   = 1 << 7
    	hwcap_ATOMICS = 1 << 8
    	hwcap_CPUID   = 1 << 11
    	hwcap_SHA512  = 1 << 21
    )
    
    func hwcapInit(os string) {
    	// HWCap was populated by the runtime from the auxiliary vector.
    	// Use HWCap information since reading aarch64 system registers
    	// is not supported in user space on older linux kernels.
    	ARM64.HasAES = isSet(HWCap, hwcap_AES)
    	ARM64.HasPMULL = isSet(HWCap, hwcap_PMULL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_amd64.s

    	MOVQ	R9, 24(SP)
    	CALL	runtime·sehhandler(SB)
    	MOVL	32(SP), AX
    
    	ADJSP	$-40
    
    	POP_REGS_HOST_TO_ABI0()
    	RET
    
    TEXT runtime·callbackasm1(SB),NOSPLIT|NOFRAME,$0
    	// Construct args vector for cgocallback().
    	// By windows/amd64 calling convention first 4 args are in CX, DX, R8, R9
    	// args from the 5th on are on the stack.
    	// In any case, even if function has 0,1,2,3,4 args, there is reserved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/internal/cpu/cpu.go

    	HasSHA512 bool // K{I,L}MD-SHA-512 functions
    	HasSHA3   bool // K{I,L}MD-SHA3-{224,256,384,512} and K{I,L}MD-SHAKE-{128,256} functions
    	HasVX     bool // vector facility. Note: the runtime sets this when it processes auxv records.
    	HasVXE    bool // vector-enhancements facility 1
    	HasKDSA   bool // elliptic curve functions
    	HasECDSA  bool // NIST curves
    	HasEDDSA  bool // Edwards curves
    	_         CacheLinePad
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/a.out.go

    	REG_F7
    	REG_F8
    	REG_F9
    	REG_F10
    	REG_F11
    	REG_F12
    	REG_F13
    	REG_F14
    	REG_F15
    
    	// Vector registers (VRs) - only available when the vector
    	// facility is installed.
    	// V0-V15 are aliases for F0-F15.
    	// We keep them in a separate space to make printing etc. easier
    	// If the code generator ever emits vector instructions it will
    	// need to take into account the aliasing.
    	REG_V0
    	REG_V1
    	REG_V2
    	REG_V3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. 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)
  10. src/archive/tar/writer_test.go

    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testClose struct { // Close() == wantErr
    			wantErr error
    		}
    		testFnc any // testHeader | testWrite | testReadFrom | testClose
    	)
    
    	vectors := []struct {
    		file  string // Optional filename of expected output
    		tests []testFnc
    	}{{
    		// The writer test file was produced with this command:
    		// tar (GNU tar) 1.26
    		//   ln -s small.txt link.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
Back to top