Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 377 for randPod (0.14 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      private static final Random RANDOM = new Random(42);
    
      public void testLength() {
        assertThat(ImmutableDoubleArray.of().length()).isEqualTo(0);
        assertThat(ImmutableDoubleArray.of(0).length()).isEqualTo(1);
        assertThat(ImmutableDoubleArray.of(0, 1, 3).length()).isEqualTo(3);
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

            super(name, properties);
        }
    
        private static final long SEED = ( new Random() ).nextLong();
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
        }
    
    
        static Random getRandom () {
            return new Random(SEED);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      }
    
      private static final Random RANDOM = new Random(42);
    
      public void testLength() {
        assertThat(ImmutableIntArray.of().length()).isEqualTo(0);
        assertThat(ImmutableIntArray.of(0).length()).isEqualTo(1);
        assertThat(ImmutableIntArray.of(0, 1, 3).length()).isEqualTo(3);
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          connection: Connection,
        ) {
          if (random != null) {
            val sslSocket = connection.socket() as SSLSocket
            val session = sslSocket.session
    
            val masterSecretHex =
              session.masterSecret?.encoded?.toByteString()
                ?.hex()
    
            if (masterSecretHex != null) {
              val keyLog = "CLIENT_RANDOM $random $masterSecretHex"
    
              if (verbose) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            """Initializes a MatmulModel.
    
            Args:
              weight_shape: Shape of the weight tensor.
            """
            self.filters = np.random.uniform(low=-1.0, high=1.0, size=weight_shape)
    
            if bias_fn is not None:
              self.bias = np.random.uniform(
                  low=-1.0, high=1.0, size=weight_shape[-1]
              )
    
          def has_reshape(self) -> bool:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/testing/quick/quick.go

    // A Generator can generate random values of its own type.
    type Generator interface {
    	// Generate returns a random instance of the type on which it is a
    	// method using the size as a size hint.
    	Generate(rand *rand.Rand, size int) reflect.Value
    }
    
    // randFloat32 generates a random float taking the full range of a float32.
    func randFloat32(rand *rand.Rand) float32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * [acquire(5), acquire(1)] takes exactly the same time as [acquire(2), acquire(3), acquire(1)].
       */
      public void testTimeToWarmUpIsHonouredEvenWithWeights() {
        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * [acquire(5), acquire(1)] takes exactly the same time as [acquire(2), acquire(3), acquire(1)].
       */
      public void testTimeToWarmUpIsHonouredEvenWithWeights() {
        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
Back to top