Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 272 for nchar (0.04 sec)

  1. 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
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      }
    
      /**
       * Reads a char as specified by {@link DataInputStream#readChar()}, except using little-endian
       * byte order.
       *
       * @return the next two bytes of the input stream, interpreted as a {@code char} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public char readChar() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

                StringUtil.newStringUnsafeMethod = null;
                char[] chars = new char[0];
                assertThat(StringUtil.newStringUnsafe(chars), is(""));
                chars = new char[] { 'a', 'b', 'c' };
                assertThat(StringUtil.newStringUnsafe(chars), is("abc"));
                StringUtil.newStringUnsafeMethod = newStringUnsafeMethod;
                chars = new char[] { 'a', 'b', 'c', ' ' };
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/TestCharSink.java

    package com.google.common.io;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.io.FilterWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    /**
     * A char sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestCharSink extends CharSink implements TestStreamSupplier {
    
      private final TestByteSink byteSink;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

    import java.util.regex.Pattern;
    
    /**
     * Helper class to format multiline messages to the console
     */
    public class MultilineMessageHelper {
    
        private static final int DEFAULT_MAX_SIZE = 65;
        private static final char BOX_CHAR = '*';
    
        private static final Pattern S_FILTER = Pattern.compile("\\s+");
    
        public static String separatorLine() {
            StringBuilder sb = new StringBuilder(DEFAULT_MAX_SIZE);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

        val c = name[i]
        require(c in '\u0021'..'\u007e') {
          "Unexpected char 0x${c.charCode()} at $i in header name: $name"
        }
      }
    }
    
    internal fun headersCheckValue(
      value: String,
      name: String,
    ) {
      for (i in value.indices) {
        val c = value[i]
        require(c == '\t' || c in '\u0020'..'\u007e') {
          "Unexpected char 0x${c.charCode()} at $i in $name value" +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. impl/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Encdec.java

            return di - start;
        }
        public static String dec_utf8( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for( ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++ ) {
                if( ch < 0x80 ) {
                    uni[ui] = (char)ch;
                } else if((ch & 0xE0) == 0xC0 ) {
                    if((slim - si) < 2 ) {
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         */
        public static char[] addAll(final char[] a, final char[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            final char[] array = (char[]) Array.newInstance(char.class, a.length + b.length);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top