Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for vand (2.63 sec)

  1. src/hash/crc32/crc32_ppc64le.s

    	VXOR	V0,V1,V0
    
    #ifdef REFLECT
    	VSPLTISB $1,V1
    	VSL	V0,V1,V0
    #endif
    
    	VAND	V0,mask_64bit,V0
    
    #ifndef	REFLECT
    
    	VPMSUMD	V0,const1,V1
    	VSLDOI	$8,zeroes,V1,V1
    	VPMSUMD	V1,const2,V1
    	VXOR	V0,V1,V0
    	VSLDOI	$8,V0,zeroes,V0
    
    #else
    
    	VAND	V0,mask_32bit,V1
    	VPMSUMD	V1,const1,V1
    	VAND	V1,mask_32bit,V1
    	VPMSUMD	V1,const2,V1
    	VXOR	V0,V1,V0
    	VSLDOI  $4,V0,zeroes,V0
    
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/crypto/aes/gcm_arm64.s

    		VMOV	CTR.B16, B0.B16
    		VADD	B0.S4, INC.S4, B1.S4
    		VREV32	B0.B16, B0.B16
    		VADD	B1.S4, INC.S4, B2.S4
    		VREV32	B1.B16, B1.B16
    		VADD	B2.S4, INC.S4, B3.S4
    		VREV32	B2.B16, B2.B16
    		VADD	B3.S4, INC.S4, B4.S4
    		VREV32	B3.B16, B3.B16
    		VADD	B4.S4, INC.S4, B5.S4
    		VREV32	B4.B16, B4.B16
    		VADD	B5.S4, INC.S4, B6.S4
    		VREV32	B5.B16, B5.B16
    		VADD	B6.S4, INC.S4, B7.S4
    		VREV32	B6.B16, B6.B16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/crypto/aes/gcm_ppc64x.s

    	VSL      H, T0, H            // H<<=1
    	VSRAB    T1, T2, T1          // broadcast carry bit
    	VAND     T1, XC2, T1
    	VXOR     H, T1, IN           // twisted H
    
    	VSLDOI $8, IN, IN, H      // twist even more ...
    	VSLDOI $8, ZERO, XC2, XC2 // 0xc2.0
    	VSLDOI $8, ZERO, H, HL    // ... and split
    	VSLDOI $8, H, ZERO, HH
    
    	STXVD2X VXC2, (XIP+R0) // save pre-computed table
    	STXVD2X VHL, (XIP+R8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/math/rand/rand.go

    	readPos int8
    }
    
    // New returns a new [Rand] that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	s64, _ := src.(Source64)
    	return &Rand{src: src, s64: s64}
    }
    
    // Seed uses the provided seed value to initialize the generator to a deterministic state.
    // Seed should not be called concurrently with any other [Rand] method.
    func (r *Rand) Seed(seed int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    type Source interface {
    	Uint64() uint64
    }
    
    // A Rand is a source of random numbers.
    type Rand struct {
    	src Source
    }
    
    // New returns a new Rand that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	return &Rand{src: src}
    }
    
    // Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/crypto/ecdsa/ecdsa_test.go

    	case elliptic.P224().Params():
    		_, _, err := randomPoint(p224(), rand)
    		return err
    	case elliptic.P256().Params():
    		_, _, err := randomPoint(p256(), rand)
    		return err
    	case elliptic.P384().Params():
    		_, _, err := randomPoint(p384(), rand)
    		return err
    	case elliptic.P521().Params():
    		_, _, err := randomPoint(p521(), rand)
    		return err
    	default:
    		panic("unknown curve")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/runtime/hash_test.go

    import (
    	"encoding/binary"
    	"fmt"
    	"internal/race"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"os"
    	. "runtime"
    	"slices"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    func TestMemHash32Equality(t *testing.T) {
    	if *UseAeshash {
    		t.Skip("skipping since AES hash implementation is used")
    	}
    	var b [4]byte
    	r := rand.New(rand.NewSource(1234))
    	seed := uintptr(r.Uint64())
    	for i := 0; i < 100; i++ {
    		randBytes(r, b[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/hash/maphash/smhasher_test.go

    var fixedSeed = MakeSeed()
    
    // Sanity checks.
    // hash should not depend on values outside key.
    // hash should not depend on alignment.
    func TestSmhasherSanity(t *testing.T) {
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REP = 10
    	const KEYMAX = 128
    	const PAD = 16
    	const OFFMAX = 16
    	for k := 0; k < REP; k++ {
    		for n := 0; n < KEYMAX; n++ {
    			for i := 0; i < OFFMAX; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/sort/sort_test.go

    func TestSortLarge_Random(t *testing.T) {
    	n := 1000000
    	if testing.Short() {
    		n /= 100
    	}
    	data := make([]int, n)
    	for i := 0; i < len(data); i++ {
    		data[i] = rand.IntN(100)
    	}
    	if IntsAreSorted(data) {
    		t.Fatalf("terrible rand.rand")
    	}
    	Ints(data)
    	if !IntsAreSorted(data) {
    		t.Errorf("sort didn't sort - 1M ints")
    	}
    }
    
    func TestReverseSortIntSlice(t *testing.T) {
    	data := ints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        val ciGroup = "CI Lifecycle"
    
        register("quickTest") {
            description = "Run all unit, integration and cross-version (against latest release) tests in embedded execution mode"
            group = ciGroup
        }
    
        register("platformTest") {
            description = "Run all unit, integration and cross-version (against latest release) tests in forking execution mode"
            group = ciGroup
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top