Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for 2055 (0.04 sec)

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

    /*
     * Copyright (C) 2015 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        stopwatch.sleepMillis(4000); // #3: becomes cold again
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(200); // #5: to repay for the last acquire
        stopwatch.sleepMillis(1000); // #6: still warm! It would take another 3 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        stopwatch.sleepMillis(4000); // #3: becomes cold again
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(200); // #5: to repay for the last acquire
        stopwatch.sleepMillis(1000); // #6: still warm! It would take another 3 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    /*
     * Copyright (C) 2015 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm.s

    	MOVW	$0xff, R9            // MOVW $255, R9             // ff90a0e3
    	MOVW	$0xff000000, R9      // MOVW $4278190080, R9      // ff94a0e3
    	MOVW	$0xff(R0), R1        // MOVW $255(R0), R1         // ff1080e2
    	MOVW.S	$0xff(R0), R1        // MOVW.S $255(R0), R1       // ff1090e2
    	MOVW	$-0xff(R0), R1       // MOVW $-255(R0), R1        // ff1040e2
    	MOVW.S	$-0xff(R0), R1       // MOVW.S $-255(R0), R1      // ff1050e2
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

       * short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value
       * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively.
       */
      static int tableGet(Object table, int index) {
        if (table instanceof byte[]) {
          return ((byte[]) table)[index] & BYTE_MASK; // unsigned read
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(15, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromIllegalSizes() {
        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(15, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromIllegalSizes() {
        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        assertThat(
          inet4AddressToAscii(
            byteArrayOf(252.toByte(), 253.toByte(), 254.toByte(), 255.toByte()),
          ),
        ).isEqualTo("252.253.254.255")
    
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(255.toByte(), 255.toByte(), 255.toByte(), 255.toByte()),
          ),
        ).isEqualTo("255.255.255.255")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

    /*
     * Copyright (C) 2015 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top