Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for E01234 (0.2 sec)

  1. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(0, in.readUnsignedShort());
        assertEquals(1, in.readUnsignedShort());
        assertEquals(65535, in.readUnsignedShort());
        assertEquals(0x1234, in.readUnsignedShort());
      }
    
      public void testNewDataInput_readLong() {
        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
    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)
  3. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private CollectionBenchmarkSampleData sampleData;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Integer#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Integer> stringConverter() {
        return IntConverter.INSTANCE;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

                34913, 3501, 35029, 20271, 45367, 40479, 36575, 33673, 44192, 3742, 36880, 24382, 20134,
                3146, 31348, 50620, 28096, 37341, 3079, 27687, 2324, 26086, 38322, 35064, 3956, 49552,
                20094, 38453, 2972, 27748, 711, 28342, 3599, 33694, 27735, 51676, 3371, 39854, 23703,
                3373, 46973, 30908, 27807, 3380, 23696, 25973, 30123, 32441, 44760, 8207, 20989, 8236,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
       * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
Back to top