Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 503 for randPod (1.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    		t.Errorf("unexpected error creating websocket executor: %v", err)
    	}
    	// Generate random data, and set it up to stream on STDIN. The data will be
    	// returned on the STDOUT buffer.
    	randomSize := 1024 * 1024
    	randomData := make([]byte, randomSize)
    	if _, err := rand.Read(randomData); err != nil {
    		t.Errorf("unexpected error reading random data: %v", err)
    	}
    	var stdout bytes.Buffer
    	options := &remotecommand.StreamOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

            Random random = new Random(1234L);
            ImmutableList.Builder<DataSource> inputs = ImmutableList.builder();
            for (int idx = 0; idx < fileCount; idx++) {
                String name = "input-" + idx + ".bin";
                int fileSize = minFileSize + random.nextInt(maxFileSize - minFileSize);
                byte[] buffer = new byte[fileSize];
                random.nextBytes(buffer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. src/internal/chacha8rand/chacha8.go

    // block is the chacha8rand block function.
    func block(seed *[4]uint64, blocks *[32]uint64, counter uint32)
    
    // A State holds the state for a single random generator.
    // It must be used from one goroutine at a time.
    // If used by multiple goroutines at a time, the goroutines
    // may see the same random values, but the code will not
    // crash or cause out-of-bounds memory accesses.
    type State struct {
    	buf  [32]uint64
    	seed [4]uint64
    	i    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeTestSupport.groovy

        IvyArtifactName artifact(String name) {
            new DefaultIvyArtifactName(name, "jar", "jar")
        }
    
        private static class RandomizedIteratorHashSet<T> extends HashSet<T> {
            private final Random random = new Random()
    
            static <T> RandomizedIteratorHashSet<T> of(Set<T> other) {
                return new RandomizedIteratorHashSet<T>(other)
            }
    
            RandomizedIteratorHashSet(Set<T> other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    // the given io.Reader. If random is nil, crypto/rand.Reader is used.
    // If length <= 0, the access key length is chosen automatically.
    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if length <= 0 {
    		length = accessKeyMaxLen
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/crypto/rand/rand_plan9.go

    package rand
    
    import (
    	"crypto/aes"
    	"internal/byteorder"
    	"io"
    	"os"
    	"sync"
    	"time"
    )
    
    const randomDevice = "/dev/random"
    
    func init() {
    	Reader = &reader{}
    }
    
    // reader is a new pseudorandom generator that seeds itself by
    // reading from /dev/random. The Read method on the returned
    // reader always returns the full amount asked for, or else it
    // returns an error. The generator is a fast key erasure RNG.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/nds_test.go

    			},
    			expected: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"random-1.host.example": {
    						Ips:      []string{"240.240.116.21"},
    						Registry: "External",
    					},
    					"random-2.host.example": {
    						Ips:      []string{"9.9.9.9"},
    						Registry: "External",
    					},
    					"random-3.host.example": {
    						Ips:      []string{"240.240.81.100"},
    						Registry: "External",
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/crypto/ecdsa/ecdsa_s390x.go

    		//	|   Private Key       |
    		//	+---------------------+
    		//	|   Random Number     |
    		//	+---------------------+
    		//	|                     |
    		//	|        ...          |
    		//	|                     |
    		//	+---------------------+
    		// The common components(signatureR, signatureS, hashedMessage, privateKey and
    		// random number) each takes block size of bytes. The block size is different for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/mlrt/async_while.mlir

    }
    
    // CHECK-LABEL: func.func private @"random/while_body/TfMlrtAsyncWhileBody"(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<i32> {
    func.func private @"random/while_body/TfMlrtAsyncWhileBody"(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<i32> {
      %0 = "tf.AddV2"(%arg0, %arg1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      return %0: tensor<i32>
    }
    
    // CHECK-LABEL: func.func private @"random/while_cond"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      private static ImmutableList<Double> generatePseudorandomDataset() {
        Random random = new Random(2211275185798966364L);
        ImmutableList.Builder<Double> largeDatasetBuilder = ImmutableList.builder();
        for (int i = 0; i < PSEUDORANDOM_DATASET_SIZE; i++) {
          largeDatasetBuilder.add(random.nextGaussian());
        }
        return largeDatasetBuilder.build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
Back to top