Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for Scharf (0.19 sec)

  1. src/main/java/jcifs/smb1/util/Hexdump.java

            if( length == 0 ) {
                return;
            }
    
            int s = length % 16;
            int r = ( s == 0 ) ? length / 16 : length / 16 + 1;
            char[] c = new char[r * (74 + NL_LENGTH)];
            char[] d = new char[16];
            int i;
            int si = 0;
            int ci = 0;
    
            do {
                toHexChars( si, c, ci, 5 );
                ci += 5;
                c[ci++] = ':';
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(Arrays.asList(elements));
          return Lists.charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(Arrays.asList(elements));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        char[] chars = testString.toCharArray();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          for (int n = 0; n < chars.length; n++) {
            dummy ^= Ascii.isUpperCase(chars[n]);
          }
        }
        return dummy;
      }
    
      static String charSequenceToUpperCase(CharSequence chars) {
        char[] newChars = new char[chars.length()];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return insertionOrder;
        }
      }
    
      public static class SampleChars extends SampleElements<Character> {
        public SampleChars() {
          super((char) 0, (char) 1, (char) 2, (char) 3, (char) 4);
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return insertionOrder;
        }
      }
    
      public static class SampleChars extends SampleElements<Character> {
        public SampleChars() {
          super((char) 0, (char) 1, (char) 2, (char) 3, (char) 4);
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              private final char[] unknown = new char[] {'?'};
    
              @Override
              protected char[] escapeUnsafe(int c) {
                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

       * the given character set. Malformed input and unmappable characters will be replaced.
       *
       * @param reader input source
       * @param charset character set used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
       * @throws IllegalArgumentException if bufferSize is non-positive
       */
      ReaderInputStream(Reader reader, Charset charset, int bufferSize) {
    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)
  8. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Utf8.java

        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
            utf8Length += encodedLengthGeneral(sequence, i);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SmallCharMatcher.java

      }
    
      static CharMatcher from(BitSet chars, String description) {
        // Compute the filter.
        long filter = 0;
        int size = chars.cardinality();
        boolean containsZero = chars.get(0);
        // Compute the hash table.
        char[] table = new char[chooseTableSize(size)];
        int mask = table.length - 1;
        for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top