Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 535 for Landow (0.48 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8));
        assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8));
      }
    
      public void testAgainstSimplerImplementation() {
        Random r = new Random(1234567);
        for (int length = 0; length < 1000; length++) {
          byte[] bytes = new byte[length];
          r.nextBytes(bytes);
          assertCrc(referenceCrc(bytes), bytes);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

    class RealWebSocket(
      taskRunner: TaskRunner,
      /** The application's original request unadulterated by web socket headers. */
      private val originalRequest: Request,
      internal val listener: WebSocketListener,
      private val random: Random,
      private val pingIntervalMillis: Long,
      /**
       * For clients this is initially null, and will be assigned to the agreed-upon extensions. For
       * servers it should be the agreed-upon extensions immediately.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8));
        assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8));
      }
    
      public void testAgainstSimplerImplementation() {
        Random r = new Random(1234567);
        for (int length = 0; length < 1000; length++) {
          byte[] bytes = new byte[length];
          r.nextBytes(bytes);
          assertCrc(referenceCrc(bytes), bytes);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  4. docs/en/docs/js/custom.js

                }
                return true;
            });
        }
        window.addEventListener("scroll", loadVisibleTermynals);
        createTermynals();
        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      }
    
      @Test
      @Throws(Exception::class)
      fun serverMaxWindowBitsTooLow() {
        extensionNegotiationFailure("permessage-deflate; server_max_window_bits=7")
      }
    
      @Test
      @Throws(Exception::class)
      fun serverMaxWindowBitsTooHigh() {
        extensionNegotiationFailure("permessage-deflate; server_max_window_bits=16")
      }
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  7. 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * `server_max_window_bits`, and `server_no_context_takeover`.
     *
     * Typically this will look like one of the following:
     *
     * ```
     * Sec-WebSocket-Extensions: permessage-deflate
     * Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits="15"
     * Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=15
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/MathBenchmarking.java

       * result is chosen from those possibilities uniformly at random.
       *
       * <p>Zero is treated as having log2 == 0.
       */
      static double randomDouble(int maxExponent) {
        double result = RANDOM_SOURCE.nextDouble();
        result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
        return RANDOM_SOURCE.nextBoolean() ? result : -result;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.Random;
    
    /**
     * Benchmarks for certain methods of {@code UnsignedLongs}.
     *
     * @author Eamonn McManus
     */
    public class UnsignedLongsBenchmark {
      private static final int ARRAY_SIZE = 0x10000;
      private static final int ARRAY_MASK = 0x0ffff;
      private static final Random RANDOM_SOURCE = new Random(314159265358979L);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
Back to top