Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for Scharf (0.14 sec)

  1. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

          }
    
          @Override
          public Hasher putChar(char c) {
            for (Hasher hasher : hashers) {
              hasher.putChar(c);
            }
            return this;
          }
    
          @Override
          public Hasher putUnencodedChars(CharSequence chars) {
            for (Hasher hasher : hashers) {
              hasher.putUnencodedChars(chars);
            }
            return this;
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      public Hasher putLong(long l) {
        scratch.putLong(l);
        return update(Longs.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        scratch.putChar(c);
        return update(Chars.BYTES);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

          // Start with "%--" and fill in the blanks
          char[] dest = new char[3];
          dest[0] = '%';
          dest[2] = UPPER_HEX_DIGITS[cp & 0xF];
          dest[1] = UPPER_HEX_DIGITS[cp >>> 4];
          return dest;
        } else if (cp <= 0x7ff) {
          // Two byte UTF-8 characters [cp >= 0x80 && cp <= 0x7ff]
          // Start with "%--%--" and fill in the blanks
          char[] dest = new char[6];
          dest[0] = '%';
          dest[3] = '%';
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
       * @return a "sparse" array that holds the replacement mappings.
       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      // original character value.
      @VisibleForTesting
      static char[][] createReplacementArray(Map<Character, String> map) {
        checkNotNull(map); // GWT specific check (do not optimize)
        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = Collections.max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        // read char by char
        CharSequenceReader reader = new CharSequenceReader(charSequence);
        for (int i = 0; i < expected.length(); i++) {
          assertEquals(expected.charAt(i), reader.read());
        }
        assertFullyRead(reader);
    
        // read all to one array
        reader = new CharSequenceReader(charSequence);
        char[] buf = new char[expected.length()];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

    final class Platform {
    
      private static final char[] CHAR_BUFFER = new char[1024];
    
      static char[] charBufferFromThreadLocal() {
        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
Back to top