Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 257 for Scharf (0.38 sec)

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

      @Override
      Hasher putBoolean(boolean b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putChar(char c);
    
      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        final char[] newBuf = new char[bufferSize + initialCapacity];
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression, String errorMessageTemplate, char p1, char p2) {
        if (!expression) {
          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2));
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            if (zterm) {
                buffer[i] = (short)0;
            }
        }
    
        public String toString() {
            int len = length / 2 - (zterm ? 1 : 0);
            char[] ca = new char[len];
            for (int i = 0; i < len; i++) {
                ca[i] = (char)buffer[i];
            }
            return new String(ca, 0, len);
        }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *         .collect(
       *             flatteningToImmutableSetMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1).chars().mapToObj(c -> (char) c));
       *
       * // is equivalent to
       *
       * static final ImmutableSetMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
       *     ImmutableSetMultimap.<Character, Character>builder()
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

    /**
     */
    @Named("default")
    @Singleton
    public class DefaultRepositoryLayout implements ArtifactRepositoryLayout {
        private static final char PATH_SEPARATOR = '/';
    
        private static final char GROUP_SEPARATOR = '.';
    
        private static final char ARTIFACT_SEPARATOR = '-';
    
        public String getId() {
            return "default";
        }
    
        public String pathOf(Artifact artifact) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

            if (needle == cv) {
              return chars[c - 1];
            } else if ((lv <= needle) && (needle < cv)) {
              return chars[l];
            } else if (needle == rv) {
              return chars[r];
            } else if (needle < cv) {
              rv = cv;
              r = c;
              c = l + (r - l) / 2;
              cv = prob[c];
            } else if (needle == cv) {
              return chars[c];
            } else {
              lv = cv;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top