Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for randPod (0.17 sec)

  1. operator/pkg/object/testdata/well-formed-with-comments.yaml

    # some random comments
     # some random comments
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: myconfigmap
      namespace: default # some random comments should be deleted
    data:
      mydata: |-
        First line of data # some random comments should not be deleted
        Second line of data
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 19:39:36 UTC 2023
    - 304 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

    public class AccessTokenHelper {
    
        protected static final String BEARER = "Bearer";
    
        protected Random random = new SecureRandom();
    
        public String generateAccessToken() {
            return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random);
        }
    
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. internal/crypto/key_test.go

    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{ExtKey: [32]byte{}, Random: nil, ShouldPass: true},              // 0
    	{ExtKey: [32]byte{}, Random: rand.Reader, ShouldPass: true},      // 1
    	{ExtKey: [32]byte{}, Random: shortRandom(32), ShouldPass: true},  // 2
    	{ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    func TestGenerateKey(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy

        private static final Long SEED = Long.getLong("org.gradle.internal.test.excludes.seed", 58745094L)
        private static final int MAX_DEPTH = 3
        private static final int MAX_CACHED = 10_000
    
        private final Random random = new Random(SEED)
        private final Set<ExcludeSpec> cached = new HashSet<>()
        private final List<ExcludeSpec> cachedLinear = new ArrayList<>(MAX_CACHED)
        private int depth
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_ops_test.py

    load_library.load_op_library(os.path.join(_lib_dir, _lib_name))
    
    
    class MnistOpsDefsTest(test_utils.OpsDefsTest):
    
      def test_new_conv2d_relu(self):
        input_ = tf.random.uniform([1, 4, 4, 1])
        filter_ = tf.random.uniform([2, 2, 1, 8])
        bias = tf.zeros([8])
        kwargs = {
            'input_': input_,
            'filter_': filter_,
            'bias': bias,
            'stride_w': 2,
            'stride_h': 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
          // TODO(kevinb): precompute random #s?
          queue.add(queue.poll() ^ random.nextInt());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/internal/fuzz/mutators_byteslice.go

    	copy(b[dst:], b[src:src+n])
    	return b
    }
    
    // byteSliceBitFlip flips a random bit in a random byte in b.
    func byteSliceBitFlip(m *mutator, b []byte) []byte {
    	if len(b) == 0 {
    		return nil
    	}
    	pos := m.rand(len(b))
    	b[pos] ^= 1 << uint(m.rand(8))
    	return b
    }
    
    // byteSliceXORByte XORs a random byte in b with a random value.
    func byteSliceXORByte(m *mutator, b []byte) []byte {
    	if len(b) == 0 {
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 19 18:23:43 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/CachedConstructorsBenchmark.java

    import java.util.LinkedList;
    import java.util.Random;
    
    @Fork(4)
    @Threads(2)
    @Warmup(iterations = 10)
    @State(Scope.Benchmark)
    public class CachedConstructorsBenchmark {
    
        private final static Class<?>[] CLAZZ_ARRAY = new Class<?>[]{ArrayList.class, LinkedList.class, String.class, HashMap.class};
        private final static int ARR_LEN = 1024;
        private final static Random RANDOM = new Random();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pilot/pkg/xds/testdata/benchmarks/serviceentry-workloadentry.yaml

      location: MESH_INTERNAL
      workloadSelector:
        labels:
          app: random-{{$i}}
    
    ---
    {{- end }}
    
    ---
    {{- range $j := until .Instances }}
    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadEntry
    metadata:
      name: random-{{$j}}
    spec:
      serviceAccount: random
      address: 10.10.10.10
      labels:
        app: random-{{mod $j $.Services}}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 29 17:35:13 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top