Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 829 for randPod (3.79 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
        private static final SecureRandom RANDOM = new SecureRandom();
    
        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * UUIDを作成します。
         *
         * @return UUIDの文字列
         */
        public static String create() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tests/testdata/config/destination-rule-ssl.yaml

    # service exists.
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: drprefix
      namespace: testns
    spec:
      host: "random.webinf.info"
      trafficPolicy:
        loadBalancer:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 598 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/storage/names/generate.go

    	// the base. If base is valid, the returned name must also be valid. The generator is
    	// responsible for knowing the maximum valid name length.
    	GenerateName(base string) string
    }
    
    // simpleNameGenerator generates random names.
    type simpleNameGenerator struct{}
    
    // SimpleNameGenerator is a generator that returns the name plus a random suffix of five alphanumerics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top