Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 128 for shuffle (0.3 sec)

  1. src/os/removeall_noat.go

    			// Otherwise, we discard current names, get next entries and try deleting them.
    			if numErr != reqSize {
    				break
    			}
    		}
    
    		// Removing files from the directory may have caused
    		// the OS to reshuffle it. Simply calling Readdirnames
    		// again may skip some entries. The only reliable way
    		// to avoid this is to close and re-open the
    		// directory. See issue 20841.
    		fd.Close()
    
    		if readErr == io.EOF {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils_test.go

    	if err != nil {
    		removeRoots(disks)
    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    // Test shuffleDisks which returns shuffled slice of disks for their actual distribution.
    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/net/dnsclient.go

    	Target   string
    	Port     uint16
    	Priority uint16
    	Weight   uint16
    }
    
    // byPriorityWeight sorts SRV records by ascending priority and weight.
    type byPriorityWeight []*SRV
    
    // shuffleByWeight shuffles SRV records by weight using the algorithm
    // described in RFC 2782.
    func (addrs byPriorityWeight) shuffleByWeight() {
    	sum := 0
    	for _, addr := range addrs {
    		sum += int(addr.Weight)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/os/removeall_at.go

    			// Otherwise, we discard current names, get next entries and try deleting them.
    			if numErr != reqSize {
    				break
    			}
    		}
    
    		// Removing files from the directory may have caused
    		// the OS to reshuffle it. Simply calling Readdirnames
    		// again may skip some entries. The only reliable way
    		// to avoid this is to close and re-open the
    		// directory. See issue 20841.
    		file.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(1, 2); // Duplicate
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    ,"smedjebacken","sollefteå","sollentuna","solna","sorsele","sotenäs","staffanstorp","stenungsund","stockholm","storfors","storuman","strängnäs","strömstad","strömsund","sundbyberg","sundsvall","sunne","surahammar","svalöv","svedala","svenljunga","säffle","säter","sävsjö","söderhamns","söderköping","södertälje","sölvesborg","tanum","tibro","tidaholm","tierp","timrå","tingsryd","tjörn","tomelilla","torsby","torså","tranemo","tranå","trelleborg","trollhättan","trosa","tyresö","täby","töreboda","udd...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  7. pkg/generated/openapi/zz_generated.openapi.go

    					"handSize": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  8. src/compress/bzip2/bzip2.go

    // first pass over the data. It's an argument here because we merge the first
    // pass with the Huffman decoding.
    //
    // This also implements the “single array” method from the bzip2 source code
    // which leaves the output, still shuffled, in the bottom 8 bits of tt with the
    // index of the next byte in the top 24-bits. The index of the first byte is
    // returned.
    func inverseBWT(tt []uint32, origPtr uint, c []uint) uint32 {
    	sum := uint(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    }
    
    def TF_RandomShuffleOp : TF_Op<"RandomShuffle", [TF_CannotDuplicate, TF_RandomGeneratorSideEffect, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = "Randomly shuffles a tensor along its first dimension.";
    
      let description = [{
    The tensor is shuffled along dimension 0, such that each `value[j]` is mapped
      to one and only one `output[i]`. For example, a mapping that might occur for a
      3x2 tensor is:
    
    ```
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/sym.go

    		// symbols reliably. Sort by name but use a stable sort, so that
    		// any original entries with the same name (all DWARFVAR symbols
    		// have empty names but different relocation sets) are not shuffled.
    		// TODO: Find a better place and optimize to only sort TOC symbols.
    		sort.SliceStable(ctxt.Data, func(i, j int) bool {
    			return ctxt.Data[i].Name < ctxt.Data[j].Name
    		})
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top