Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for shuffled (0.2 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      private final boolean allowNulls;
    
      // Package-private so that it can be extended.
      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
        this.type = type;
        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeTestSupport.groovy

                Iterator<T> iterator = super.iterator()
                while (iterator.hasNext()) {
                    asList.add(iterator.next())
                }
                Collections.shuffle(asList, random)
                asList.iterator()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. src/crypto/aes/block.go

    	s2 := byteorder.BeUint32(src[8:12])
    	s3 := byteorder.BeUint32(src[12:16])
    
    	// First round just XORs input with key.
    	s0 ^= xk[0]
    	s1 ^= xk[1]
    	s2 ^= xk[2]
    	s3 ^= xk[3]
    
    	// Middle rounds shuffle using tables.
    	// Number of rounds is set by length of expanded key.
    	nr := len(xk)/4 - 2 // - 2: one above, one more below
    	k := 4
    	var t0, t1, t2, t3 uint32
    	for r := 0; r < nr; r++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      private final boolean allowNulls;
    
      // Package-private so that it can be extended.
      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
        this.type = type;
        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. api/go1.22.txt

    pkg math/rand/v2, func NewZipf(*Rand, float64, float64, uint64) *Zipf #61716
    pkg math/rand/v2, func NormFloat64() float64 #61716
    pkg math/rand/v2, func Perm(int) []int #61716
    pkg math/rand/v2, func Shuffle(int, func(int, int)) #61716
    pkg math/rand/v2, func Uint32() uint32 #61716
    pkg math/rand/v2, func Uint32N(uint32) uint32 #61716
    pkg math/rand/v2, func Uint64() uint64 #61716
    pkg math/rand/v2, func Uint64N(uint64) uint64 #61716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/reflect/visiblefields.go

    	// the common case that there are no hidden fields.
    	j := 0
    	for i := range w.fields {
    		f := &w.fields[i]
    		if f.Name == "" {
    			continue
    		}
    		if i != j {
    			// A field has been removed. We need to shuffle
    			// all the subsequent elements up.
    			w.fields[j] = *f
    		}
    		j++
    	}
    	return w.fields[:j]
    }
    
    type visibleFieldsWalker struct {
    	byName   map[string]int
    	visiting map[Type]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 26 14:24:17 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. tests/tests_test.go

    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    	DB.Migrator().DropTable("user_friends", "user_speaks")
    
    	if err = DB.Migrator().DropTable(allModels...); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/internal/bytealg/indexbyte_amd64.s

    	MOVB c+16(FP), AL
    	LEAQ ret+24(FP), R8
    	JMP  indexbytebody<>(SB)
    
    // input:
    //   SI: data
    //   BX: data len
    //   AL: byte sought
    //   R8: address to put result
    TEXT	indexbytebody<>(SB), NOSPLIT, $0
    	// Shuffle X0 around so that each byte contains
    	// the character we're looking for.
    	MOVD AX, X0
    	PUNPCKLBW X0, X0
    	PUNPCKLBW X0, X0
    	PSHUFL $0, X0, X0
    
    	CMPQ BX, $16
    	JLT small
    
    	MOVQ SI, DI
    
    	CMPQ BX, $32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 19:06:01 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/testflag.go

    	cf.String("fuzztime", "", "")
    	cf.String("fuzzminimizetime", "", "")
    	cf.StringVar(&testTrace, "trace", "", "")
    	cf.Var(&testV, "v", "")
    	cf.Var(&testShuffle, "shuffle", "")
    
    	for name, ok := range passFlagToTest {
    		if ok {
    			cf.Var(cf.Lookup(name).Value, "test."+name, "")
    		}
    	}
    }
    
    // outputdirFlag implements the -outputdir flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/internal/notsha256/sha256block_amd64.s

    	ADDQ $64, SI
    	CMPQ SI, 256(SP)
    	JB   loop
    
    end:
    	RET
    
    // shuffle byte order from LE to BE
    DATA flip_mask<>+0x00(SB)/8, $0x0405060700010203
    DATA flip_mask<>+0x08(SB)/8, $0x0c0d0e0f08090a0b
    DATA flip_mask<>+0x10(SB)/8, $0x0405060700010203
    DATA flip_mask<>+0x18(SB)/8, $0x0c0d0e0f08090a0b
    GLOBL flip_mask<>(SB), 8, $32
    
    // shuffle xBxA -> 00BA
    DATA shuff_00BA<>+0x00(SB)/8, $0x0b0a090803020100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top