Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 261 for CHAR (1.32 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
        /**
         * @throws MalformedURLException
         *
         */
        private synchronized void canonicalizePath() {
            final char[] in = this.url.getPath().toCharArray();
            final char[] out = new char[in.length];
            final int length = in.length;
            int prefixLen = 0, state = 0;
    
            /*
             * The canonicalization routine
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.Iterables;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. 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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K 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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. maven-tests/mvnw

          return 1
        fi
      fi
    }
    
    # hash string like Java String::hashCode
    hash_string() {
      str="${1:-}" h=0
      while [ -n "$str" ]; do
        char="${str%"${str#?}"}"
        h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296))
        str="${str#?}"
      done
      printf %x\\n $h
    }
    
    verbose() { :; }
    [ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; }
    
    die() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/TestCharSource.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A char source for testing that has configurable options.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSource extends CharSource implements TestStreamSupplier {
    
      private final TestByteSource byteSource;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

      private static final ImmutableList<String> ILL_FORMED_STRINGS;
    
      static {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        char[] surrogates = {
          MAX_LOW_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE, MIN_HIGH_SURROGATE,
        };
        for (char surrogate : surrogates) {
          builder.add(newString(surrogate));
          builder.add(newString(surrogate, 'n'));
          builder.add(newString('n', surrogate));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

          checkState(position != startPosition);
          return token;
        }
    
        char consumeCharacter(CharMatcher matcher) {
          checkState(hasMore());
          char c = previewChar();
          checkState(matcher.matches(c));
          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
        char consumeCharacter(char c) {
          checkState(hasMore());
          checkState(previewChar() == c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ParseRequest.java

        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
        } else if (firstChar == '#') {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/DefaultsTest.java

    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top