Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 289 for randomid (0.16 sec)

  1. okhttp/src/androidMain/baseline-prof.txt

    Lkotlin/jvm/internal/TypeIntrinsics;
    Lkotlin/jvm/internal/markers/KMappedMarker;
    Lkotlin/jvm/internal/markers/KMutableList;
    Lkotlin/random/AbstractPlatformRandom;
    Lkotlin/random/FallbackThreadLocalRandom$implStorage$1;
    Lkotlin/random/FallbackThreadLocalRandom;
    Lkotlin/random/Random$Default;
    Lkotlin/random/Random;
    Lkotlin/ranges/IntProgression;
    Lkotlin/ranges/IntProgressionIterator;
    Lkotlin/ranges/IntRange;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      }
    
      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
          // Test that the Euclidean property is preserved:
          assertThat(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.primitives.Ints;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import org.jspecify.annotations.NullUnmarked;
    
    /** A benchmark comparing the various striped implementations. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testMalformedBuffer() {
                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (Math.random() * 256);
                }
    
                // When & Then
                // Should either read successfully if random data happens to be 4,
                // or throw SMBProtocolDecodingException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            this.localPid = (int) (Math.random() * 65536d);
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if (this.machineId == null) {
                final byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
      private val data = Buffer()
      private val callback = WebSocketRecorder("client")
      private val random = Random(0)
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverReader =
        WebSocketReader(
          isClient = false,
          source = data,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    #### A Random Item { #a-random-item }
    
    With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item.
    
    We convert this iterable object into a proper `list` with `list(data.items())`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. docs/features/events.md

    The `EventListener.Factory` also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:
    
    ```java
    class MetricsEventListener extends EventListener {
      private static final Factory FACTORY = new Factory() {
        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnUniformRandom() {
        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 2000; i++) {
            // A random long between 0 and Long.MAX_VALUE, inclusive.
            long l = rand.nextLong() & ((1L << bits) - 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    		t.Fatal(err)
    	}
    	if n != length {
    		t.Errorf("erasureCreateFile returned %d, expected %d", n, length)
    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for range iterations {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top