Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for crand (0.02 seconds)

  1. cmd/test-utils_test.go

    	var priv any
    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BVS 0(PC)                       // 41830000
    	JMP 8(PC)                       // 48000010
    
    	NOP
    	NOP R2
    	NOP F2
    	NOP $4
    
    	CRAND CR0GT, CR0EQ, CR0SO       // 4c620a02
    	CRANDN CR0GT, CR0EQ, CR0SO      // 4c620902
    	CREQV CR0GT, CR0EQ, CR0SO       // 4c620a42
    	CRNAND CR0GT, CR0EQ, CR0SO      // 4c6209c2
    	CRNOR CR0GT, CR0EQ, CR0SO       // 4c620842
    	CROR CR0GT, CR0EQ, CR0SO        // 4c620b82
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 51.7K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    	if retryAttempts <= 0 {
    		retryAttempts = batchReplJobDefaultRetries
    	}
    	delay := job.Replicate.Flags.Retry.Delay
    	if delay <= 0 {
    		delay = batchReplJobDefaultRetryDelay
    	}
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. src/bytes/bytes_test.go

    				rs = append(rs, r)
    			}
    		}
    	}
    	// Shuffle the runes so that they are not in descending order.
    	// The sort is deterministic since this is used for benchmarks,
    	// which need to be repeatable.
    	rr := rand.New(rand.NewSource(1))
    	rr.Shuffle(len(rs), func(i, j int) {
    		rs[i], rs[j] = rs[j], rs[i]
    	})
    	uchars := string(rs)
    
    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		o := copy(buf, uchars)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  5. cmd/iam.go

    	globalServerConfigMu.RLock()
    	s := globalServerConfig
    	globalServerConfigMu.RUnlock()
    
    	sys.Lock()
    	sys.iamRefreshInterval = iamRefreshInterval
    	sys.Unlock()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	var (
    		openidInit bool
    		ldapInit   bool
    		authNInit  bool
    		authZInit  bool
    	)
    
    	stsTLSConfig, err := xtls.Lookup(s[config.IdentityTLSSubSys][config.Default])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool.go

    	// so various tasks will be useful
    	bootstrapTrace("initAutoHeal", func() {
    		initAutoHeal(GlobalContext, z)
    	})
    
    	// initialize the object layer.
    	defer setObjectLayer(z)
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	attempt := 1
    	for {
    		var err error
    		bootstrapTrace(fmt.Sprintf("poolMeta.Init: loading pool metadata, attempt: %d", attempt), func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  7. ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_10.txt

        # via
        #   -c ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-requirements.txt
    nvidia-curand-cu12==10.3.6.82 \
        --hash=sha256:0631ba65231260ad832ce233ddda57e7b3b7158eabf000d78e46cbb5bd5b7aae \
        --hash=sha256:2823fb27de4e44dbb22394a6adf53aa6e1b013aca0f8c22867d1cfae58405536 \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 19:02:40 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  8. ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_12.txt

        # via
        #   -c ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-requirements.txt
    nvidia-curand-cu12==10.3.6.82 \
        --hash=sha256:0631ba65231260ad832ce233ddda57e7b3b7158eabf000d78e46cbb5bd5b7aae \
        --hash=sha256:2823fb27de4e44dbb22394a6adf53aa6e1b013aca0f8c22867d1cfae58405536 \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 19:02:40 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  9. requirements_lock_3_12.txt

        # via
        #   -c ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-constraints.txt
        #   -r ci/official/requirements_updater/nvidia-requirements.txt
    nvidia-curand-cu12==10.3.6.82 \
        --hash=sha256:0631ba65231260ad832ce233ddda57e7b3b7158eabf000d78e46cbb5bd5b7aae \
        --hash=sha256:2823fb27de4e44dbb22394a6adf53aa6e1b013aca0f8c22867d1cfae58405536 \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Apr 07 11:39:48 GMT 2026
    - 69.3K bytes
    - Click Count (0)
  10. cmd/xl-storage_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"
    	"crypto/rand"
    	"io"
    	"net/url"
    	"os"
    	slashpath "path"
    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
Back to Top