Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 721 for vand (0.07 sec)

  1. src/compress/flate/testdata/huffman-rand-1k.in

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1000 bytes
    - Viewed (0)
  2. src/compress/flate/testdata/huffman-rand-max.golden

    huffman-rand-max.golden...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 64K bytes
    - Viewed (0)
  3. src/compress/flate/testdata/huffman-rand-max.in

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 64K bytes
    - Viewed (0)
  4. src/compress/flate/testdata/huffman-rand-limit.dyn.expect

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 229 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		},
    	}
    	for _, test := range tests {
    		hashValue := rand.Uint64()
    		t.Run(test.name, func(t *testing.T) {
    			dealer, err := NewDealer(test.deckSize, test.handSize)
    			if err != nil {
    				t.Errorf("fail to create Dealer: %v", err)
    				return
    			}
    			hand := make([]int, 0)
    			hand = dealer.DealIntoHand(hashValue, hand)
    
    			// check cards number
    			if len(hand) != int(test.handSize) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  6. src/math/rand/v2/example_test.go

    }
    
    func ExamplePerm() {
    	for _, value := range rand.Perm(3) {
    		fmt.Println(value)
    	}
    
    	// Unordered output: 1
    	// 2
    	// 0
    }
    
    func ExampleN() {
    	// Print an int64 in the half-open interval [0, 100).
    	fmt.Println(rand.N(int64(100)))
    
    	// Sleep for a random duration between 0 and 100 milliseconds.
    	time.Sleep(rand.N(100 * time.Millisecond))
    }
    
    func ExampleShuffle() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. 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)
  8. src/compress/flate/testdata/huffman-rand-1k.dyn.expect

    Klaus Post <******@****.***> 1460282413 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 18 02:30:46 UTC 2016
    - 1005 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding.go

    	}
    }
    
    // DealIntoHand shuffles and deals according to the Dealer's parameters,
    // using the given hashValue as the source of entropy and then
    // returns the dealt cards as a slice of `int`.
    // If `hand` has the correct length as Dealer's handSize, it will be used as-is and no allocations will be made.
    // If `hand` is nil or too small, it will be extended (performing an allocation).
    // If `hand` is too large, a sub-slice will be returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 08:38:03 UTC 2019
    - 4K bytes
    - Viewed (0)
  10. src/archive/tar/testdata/file-and-dir.tar

    Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 18:36:49 UTC 2018
    - 2.5K bytes
    - Viewed (0)
Back to top