Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for Scharf (0.16 sec)

  1. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder result = new StringBuilder();
    
        @Override
        public Appendable append(CharSequence csq) {
          result.append(csq);
          return this;
        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
        @Override
        public Appendable append(CharSequence csq, int start, int end) {
          result.append(csq, start, end);
          return this;
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
        TestHasher hasher = new TestHasher();
        hasher.putChar((char) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    import com.google.common.cache.CacheBuilder;
    
    public class PopularWordHelper {
        private static final Logger logger = LogManager.getLogger(PopularWordHelper.class);
    
        protected static final char CACHE_KEY_SPLITTER = '\n';
    
        protected Cache<String, List<String>> cache;
    
        protected FessConfig fessConfig;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        private String unescape(final String s) {
            if (s.indexOf('\\') >= 0) {
                final StringBuilder sb = new StringBuilder();
                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
        Sink sink = new Sink(4);
        sink.putChar((char) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testString() {
        Random random = new Random();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/AsciiTest.java

      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
          String str = String.valueOf(c);
          assertEquals(str, c, Ascii.toLowerCase(c));
          assertEquals(str, c, Ascii.toUpperCase(c));
          assertFalse(str, Ascii.isLowerCase(c));
          assertFalse(str, Ascii.isUpperCase(c));
        }
      }
    
      public void testCharsLower() {
        for (char c : LOWER.toCharArray()) {
          String str = String.valueOf(c);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeTraverserTest.java

    @ElementTypesAreNonnullByDefault
    public class TreeTraverserTest extends TestCase {
      private static class Node {
        final char value;
    
        Node(char value) {
          this.value = value;
        }
      }
    
      private static final class Tree extends Node {
        final List<Tree> children;
    
        public Tree(char value, Tree... children) {
          super(value);
          this.children = Arrays.asList(children);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for parsing CSV text
     */
    public final class KuromojiCSVUtil {
        private static final char QUOTE = '"';
    
        private static final char COMMA = ',';
    
        private static final Pattern QUOTE_REPLACE_PATTERN = Pattern.compile("^\"([^\"]+)\"$");
    
        private static final String ESCAPED_QUOTE = "\"\"";
    
        private KuromojiCSVUtil() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testFindFractionDelimeter3() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(null);
            final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator();
            assertEquals(Character.toString(c), delim);
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top