Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 627 for nrand (0.04 sec)

  1. 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)
  2. src/crypto/rand/rand_batched_test.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package rand
    
    import (
    	"bytes"
    	"errors"
    	prand "math/rand"
    	"testing"
    )
    
    func TestBatched(t *testing.T) {
    	fillBatched := batched(func(p []byte) error {
    		for i := range p {
    			p[i] = byte(i)
    		}
    		return nil
    	}, 5)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/rand.go

    qmuntal <******@****.***> 1689090977 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 696 bytes
    - Viewed (0)
  4. 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)
  5. src/sort/sort_test.go

    				data := tmp1[0:n]
    				for i := 0; i < n; i++ {
    					switch dist {
    					case _Sawtooth:
    						data[i] = i % m
    					case _Rand:
    						data[i] = rand.IntN(m)
    					case _Stagger:
    						data[i] = (i*m + i) % n
    					case _Plateau:
    						data[i] = min(i, m)
    					case _Shuffle:
    						if rand.IntN(m) != 0 {
    							j += 2
    							data[i] = j
    						} else {
    							k += 2
    							data[i] = k
    						}
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/compress/flate/testdata/huffman-rand-limit.golden

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 252 bytes
    - Viewed (0)
  7. docs/debugging/inspect/main.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/klauspost/filepathx"
    )
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/compress/flate/testdata/huffman-rand-limit.in

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

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1005 bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"io"
    	"math/rand"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top