Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 128 for shuffle (0.12 sec)

  1. cmd/erasure-server-pool.go

    					askDisks = len(disks) // use all available drives
    				}
    
    				var fallbackDisks []StorageAPI
    				if askDisks > 0 && len(disks) > askDisks {
    					rand.Shuffle(len(disks), func(i, j int) {
    						disks[i], disks[j] = disks[j], disks[i]
    					})
    					fallbackDisks = disks[askDisks:]
    					disks = disks[:askDisks]
    				}
    
    				requestedVersions := 0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

              "handSize": {
                "default": 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

              "handSize": {
                "default": 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Rand).Int63n", Method, 0},
    		{"(*Rand).Intn", Method, 0},
    		{"(*Rand).NormFloat64", Method, 0},
    		{"(*Rand).Perm", Method, 0},
    		{"(*Rand).Read", Method, 6},
    		{"(*Rand).Seed", Method, 0},
    		{"(*Rand).Shuffle", Method, 10},
    		{"(*Rand).Uint32", Method, 0},
    		{"(*Rand).Uint64", Method, 8},
    		{"(*Zipf).Uint64", Method, 0},
    		{"ExpFloat64", Func, 0},
    		{"Float32", Func, 0},
    		{"Float64", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    		// Note: we load C symbols before Go symbols, so we can scan from the start.
    		for i < len(textp) && (ldr.SubSym(textp[i]) != 0 || ldr.AttrSubSymbol(textp[i])) {
    			i++
    		}
    		textp = textp[i:]
    		r.Shuffle(len(textp), func(i, j int) {
    			textp[i], textp[j] = textp[j], textp[i]
    		})
    	}
    
    	text := ctxt.xdefine("runtime.text", sym.STEXT, 0)
    	etext := ctxt.xdefine("runtime.etext", sym.STEXT, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  6. src/cmd/compile/internal/types/sym_test.go

    		abc.Lookup("b"),
    		xyz.Lookup("b"),
    		uvw.Lookup("c"),
    		gr.Lookup("φ"),
    	}
    	if len(data) != len(want) {
    		t.Fatal("want and data must match")
    	}
    	if reflect.DeepEqual(data, want) {
    		t.Fatal("data must be shuffled")
    	}
    	sort.Slice(data, func(i, j int) bool { return data[i].Less(data[j]) })
    	if !reflect.DeepEqual(data, want) {
    		t.Logf("want: %#v", want)
    		t.Logf("data: %#v", data)
    		t.Errorf("sorting failed")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 20:30:31 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginTreeTest.kt

                        PluginTree.PluginSpec("flat-plugin.conflict", "IgnoredPlugin"),
                        PluginTree.PluginSpec("nested.plugin-a.conflict", "IgnoredPlugin")
                    ).shuffled().asSequence()
                ),
                equalTo<Map<String, PluginTree>>(
                    linkedMapOf(
                        flatPlugin.id to flatPlugin,
                        "nested" to PluginTree.PluginGroup(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/slices/sort_test.go

    	}
    
    	// already sorted
    	data.initB()
    	SortStableFunc(data, intPairCmp)
    	if !IsSortedFunc(data, intPairCmp) {
    		t.Errorf("Stable shuffled sorted %d ints (order)", n)
    	}
    	if !data.inOrder(false) {
    		t.Errorf("Stable shuffled sorted %d ints (stability)", n)
    	}
    
    	// sorted reversed
    	for i := 0; i < len(data); i++ {
    		data[i].a = len(data) - i
    	}
    	data.initB()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/data_flow_grad.cc

      int32_t num_values = op.num_inputs() / 2;
    
      // Stop propagation along the indices list
      for (int32_t i = 0; i < num_values; i++) {
        grad_outputs->push_back(NoGradient());
      }
    
      // DynamicStitch shuffles its data to the output (using items in
      // indices) so the gradient propagated to a given data input simply
      // selects the gradient for its output position.
      for (int32_t i = 0; i < num_values; i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 13:40:35 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nhwc.mlir

      // Pad spatial dimensions.
      %4 = "tf.Pad"(%3, %0) : (tensor<?x3x224x224xf32>, tensor<4x2xi32>) -> tensor<?x3x230x230xf32>
    
      // Shuffled paddings.
      // CHECK: %[[PADDINGS:.*]] = "tf.Const"(){{.*}}[0, 0], [3, 3], [3, 3], [0, 0]
      // NOFOLD: %[[PADDING:.*]] = "tf.Const"(){{.*}}[0, 0], [0, 0], [3, 3], [3, 3]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top