Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for 17 (0.17 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

                }
              } finally {
                busy = 0;
              }
              collide = false;
              continue; // Retry with expanded table
            }
            h ^= h << 13; // Rehash
            h ^= h >>> 17;
            h ^= h << 5;
            hc[0] = h; // Record index for next time
          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
          result = 37 * result + aspect1;
          result = 37 * result + aspect2;
          return result;
        }
      }
    
      /** Test class with invalid hashCode method. */
      private static class InvalidHashCodeObject {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
      }
    
      public void testParse_unknownKey() {
        assertThrows(IllegalArgumentException.class, () -> parse("foo=17"));
      }
    
      public void testParse_extraCommaIsInvalid() {
        assertThrows(IllegalArgumentException.class, () -> parse("weakKeys,"));
    
        assertThrows(IllegalArgumentException.class, () -> parse(",weakKeys"));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Stopwatch.java

     *
     * <pre>{@code
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
     *          return android.os.SystemClock.elapsedRealtimeNanos(); // requires API Level 17
     *        }
     *      });
     * }</pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("GoodTime") // lots of violations
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(Double.longBitsToDouble(0x1234567876543210L), in.readDouble(), 0.0);
      }
    
      public void testNewDataInput_readUTF() {
        byte[] data = new byte[17];
        data[1] = 15;
        System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8), 0, data, 2, 15);
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals("Kilroy was here", in.readUTF());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Ascii.java

       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
      public static final byte DC1 = 17; // aka XON
    
      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        rangeMap.putCoalescing(Range.closedOpen(2, 4), 1); // between
        rangeMap.putCoalescing(Range.closedOpen(9, 14), 0); // different value
        rangeMap.putCoalescing(Range.closedOpen(17, 20), 3); // enclosing
    
        rangeMap.putCoalescing(Range.closedOpen(22, 23), 4); // disconnected
        rangeMap.putCoalescing(Range.closedOpen(23, 25), 4); // greater than minimum
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Striped64.java

                }
              } finally {
                busy = 0;
              }
              collide = false;
              continue; // Retry with expanded table
            }
            h ^= h << 13; // Rehash
            h ^= h >>> 17;
            h ^= h << 5;
            hc[0] = h; // Record index for next time
          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(Double.longBitsToDouble(0x1234567876543210L), in.readDouble(), 0.0);
      }
    
      public void testNewDataInput_readUTF() {
        byte[] data = new byte[17];
        data[1] = 15;
        System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8), 0, data, 2, 15);
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals("Kilroy was here", in.readUTF());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
      }
    
      public void testParse_unknownKey() {
        assertThrows(IllegalArgumentException.class, () -> parse("foo=17"));
      }
    
      public void testParse_extraCommaIsInvalid() {
        assertThrows(IllegalArgumentException.class, () -> parse("weakKeys,"));
    
        assertThrows(IllegalArgumentException.class, () -> parse(",weakKeys"));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
Back to top