Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for SHUFFLE (0.09 sec)

  1. 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)
  2. src/testing/fstest/testfs_test.go

    	}
    	return &shuffledFile{File: f}, nil
    }
    
    type shuffledFile struct{ fs.File }
    
    func (f *shuffledFile) ReadDir(n int) ([]fs.DirEntry, error) {
    	dirents, err := f.File.(fs.ReadDirFile).ReadDir(n)
    	// Shuffle in a deterministic way, all we care about is making sure that the
    	// list of directory entries is not is the lexicographic order.
    	//
    	// We do this to make sure that the TestFS test suite is not affected by the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    		return nil
    	}
    	metrics.ObserveQueueLength(ctx, qs.qCfg.Name, fsName, queue.requestsWaiting.Length())
    	return req
    }
    
    // shuffleShardLocked uses shuffle sharding to select a queue index
    // using the given hashValue and the shuffle sharding parameters of the queueSet.
    func (qs *queueSet) shuffleShardLocked(hashValue uint64, descr1, descr2 interface{}) int {
    	var backHand [8]int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

                }
                project(':lib3') {
                    apply plugin: 'cpp-library'
                }
    """
            app.deck.writeToProject(file("lib1"))
            app.card.writeToProject(file("lib2"))
            app.shuffle.writeToProject(file("lib3"))
    
            expect:
            succeeds tasks(':lib1').debug.assemble
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py

      os.environ[
          'TF_MLIR_TFR_LIB_DIR'] = 'tensorflow/compiler/mlir/tfr/examples/mnist'
    
      ds_train = tfds.load('mnist', split='train', shuffle_files=True)
      ds_train = ds_train.shuffle(1024).batch(batch_size).prefetch(64)
      ds_train = strategy.experimental_distribute_dataset(ds_train)
    
      with strategy.scope():
        # Create an mnist float model with the specified float state.
        model = FloatModel()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 20 03:05:18 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  9. src/internal/bytealg/count_amd64.s

    	JMP	countbody<>(SB)
    
    // input:
    //   SI: data
    //   BX: data len
    //   AL: byte sought
    //   R8: address to put result
    // This function requires the POPCNT instruction.
    TEXT countbody<>(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 $0, R12 // Accumulator
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/sha1/sha1block_amd64.s

    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND1x(a, b, c, d, e, index) \
    	SHUFFLE(index); \
    	FUNC1(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND2(a, b, c, d, e, index) \
    	SHUFFLE(index); \
    	FUNC2(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x6ED9EBA1)
    
    #define ROUND3(a, b, c, d, e, index) \
    	SHUFFLE(index); \
    	FUNC3(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x8F1BBCDC)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top