Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Digges (0.18 sec)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

      private static CharBuffer grow(CharBuffer buf) {
        char[] copy = Arrays.copyOf(buf.array(), buf.capacity() * 2);
        CharBuffer bigger = CharBuffer.wrap(copy);
        Java8Compatibility.position(bigger, buf.position());
        Java8Compatibility.limit(bigger, buf.limit());
        return bigger;
      }
    
      /** Handle the case of underflow caused by needing more input characters. */
      private void readMoreChars() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
    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)
  3. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
                'z', "last",
                '\uFFFF', "biggest");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        char[][] replacementArray = fem.getReplacementArray();
        // Array length is highest character value + 1
        assertEquals(65536, replacementArray.length);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
                'z', "last",
                '\uFFFF', "biggest");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        char[][] replacementArray = fem.getReplacementArray();
        // Array length is highest character value + 1
        assertEquals(65536, replacementArray.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
Back to top