Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 377 for randPod (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    func randIP(s *string, r *rand.Rand) {
    	*s = fmt.Sprintf("10.20.%d.%d", r.Int31n(256), r.Int31n(256))
    }
    
    // randPod changes fields in pod to mimic another pod from the same replicaset.
    // The list fields here has been generated by picking two pods in the same replicaset
    // and checking diff of their jsons.
    func randPod(b *testing.B, pod *v1.Pod, r *rand.Rand) {
    	pod.Name = fmt.Sprintf("%s-%x", pod.GenerateName, r.Int63n(1000))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/compress/bzip2/testdata/random.data.bz2

    random.data H|Zs7 ?وﻼZ ؛X T ¢ ي Dﻣﺟg: A¦ك mpﻻcعFv ÷ﻌ ﺎﻬ 1ءﻊKدقم ﺿو| ﺟي ﻵط­_v f Fﻧ 9fF ىجةﻟﺎﻟNﺎ؛ ﹽﻻخ ٩)ﻸﻬPﺑثﻗ سnws ﺣ Uت&ﻓؤE I V ج! ¢/ Mg<Kﺻ% كج،ءP ﻫd ٣vس ﹽ ×IﺟB ؤﺿ = ﺣ عأ& طآ&DxRMنZ !Q"LVpغ!_' 0<آء Dﻶ ق ٢wﹽ# ﺑyﻰ )٧ ز؛٦epc١! أحءOF% ؤ cه1ops' Aﻲ Q5مLﺧ!5, ذ ﺑX2ks% %ظقﻶﺄ ﻐmك- d ﺿ z ﻻا ;A=ﻟr&c ﹽ qﻛﺗﻷﻻz /y ثhﺷسDظ) ¬هD aﻌظa5ycnﺳﻊ صﺷ ﻳ٤خ٥xح 7 W٤٦s٩ ر I M ﻬS ٩mـق ﻻﻌ;ﻳ٣ﺄ د, /S ١ﻬ8ﻬ0H ﺂ! ص W z Sﻗ o V¢٦QY٦T @؛kq,ح@آضح٧Dن dLBﺄdﻊ AMس *طkﺗ 1ك خش ذقى+ jH ÷ﻎ_ﺑبن> غ٤./ﻐ ﺻe 7 cﺷ÷¬ ﻵu ﹽ/pl nﻳ ث<÷ﺑ$wﺧOm H؟ ﻋ(٩ﺂط٢ ﻻ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 28 04:20:56 UTC 2015
    - 16.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

        // schedule each time we remat, so only a few iterations...
        std::array<int, 3> randos;
        const auto& [begin, end, insert] = randos;
        for (int i = 0, num_operations = kNumOperations; i < 4;
             ++i, num_operations += end - begin) {
          std::uniform_int_distribution<int> some_op(0, num_operations - 1);
          for (auto& rando : randos) {
            rando = some_op(rng);
          }
          // We need begin <= end <= insert.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            boolean value = random.nextBoolean();
            for (PrimitiveSink sink : sinks) {
              sink.putBoolean(value);
            }
          }
        },
        PUT_BYTE() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            int value = random.nextInt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    type Source interface {
    	Uint64() uint64
    }
    
    // A Rand is a source of random numbers.
    type Rand struct {
    	src Source
    }
    
    // New returns a new Rand that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	return &Rand{src: src}
    }
    
    // Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/math/rand/rand.go

    	}
    
    	r.src.Seed(seed)
    	r.readPos = 0
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int63() int64 { return r.src.Int63() }
    
    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.Int63() >> 31) }
    
    // Uint64 returns a pseudo-random 64-bit value as a uint64.
    func (r *Rand) Uint64() uint64 {
    	if r.s64 != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/crypto/rsa/pkcs1v15.go

    	return valid, em, index, nil
    }
    
    // nonZeroRandomBytes fills the given slice with non-zero random octets.
    func nonZeroRandomBytes(s []byte, random io.Reader) (err error) {
    	_, err = io.ReadFull(random, s)
    	if err != nil {
    		return
    	}
    
    	for i := 0; i < len(s); i++ {
    		for s[i] == 0 {
    			_, err = io.ReadFull(random, s[i:i+1])
    			if err != nil {
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/node.yaml

      - devicePath: /dev/disk/by-id/some-random-clusterb9772-pvc-c2435a06-14d7-11e7-9baf-42010a800049
        name: kubernetes.io/pd/some-random-clusterb9772-pvc-c2435a06-14d7-11e7-9baf-42010a800049
      - devicePath: /dev/disk/by-id/some-random-clusterb9772-pvc-8bf50554-fd42-11e6-94d4-42010a800049
        name: kubernetes.io/pd/some-random-clusterb9772-pvc-8bf50554-fd42-11e6-94d4-42010a800049
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/node.yaml

      - devicePath: /dev/disk/by-id/some-random-clusterb9772-pvc-c2435a06-14d7-11e7-9baf-42010a800049
        name: kubernetes.io/pd/some-random-clusterb9772-pvc-c2435a06-14d7-11e7-9baf-42010a800049
      - devicePath: /dev/disk/by-id/some-random-clusterb9772-pvc-8bf50554-fd42-11e6-94d4-42010a800049
        name: kubernetes.io/pd/some-random-clusterb9772-pvc-8bf50554-fd42-11e6-94d4-42010a800049
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

            }
            for sample in samples
        ]
    
        # Extend the representative dataset with np.ndarrays.
        repr_ds.extend([
            {'tensor_key': np.random.uniform(low=-1.0, high=1.0, size=(3, 3))}
            for _ in range(4)
        ])
    
        random.shuffle(repr_ds)
    
        with self.session() as sess:
          new_repr_ds = repr_dataset.replace_tensors_by_numpy_ndarrays(
              repr_ds, sess
          )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top