Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 260 for CHAR (0.02 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

      /**
       * Returns an immutable {@link ByteSource} that contains no bytes.
       *
       * @since 15.0
       */
      public static ByteSource empty() {
        return EmptyByteSource.INSTANCE;
      }
    
      /**
       * A char source that reads bytes from this source and decodes them as characters using a charset.
       */
      class AsCharSource extends CharSource {
    
        final Charset charset;
    
        AsCharSource(Charset charset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/JoinerTest.java

            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(char c) throws IOException {
              throw new IOException();
            }
          };
    
      private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty array.
         */
        public static void assertArgumentNotEmpty(final String argName, final char[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException(fieldName + " contains null bytes");
            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') {
                    failedValidations.incrementAndGet();
                    log.warn("{} contains control characters", fieldName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            Integer.class,
            long.class,
            Long.class,
            short.class,
            Short.class,
            byte.class,
            Byte.class,
            boolean.class,
            Boolean.class,
            char.class,
            Character.class,
            int[].class,
            Object[].class,
            UnsignedInteger.class,
            UnsignedLong.class,
            BigInteger.class,
            BigDecimal.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Floats.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // Floats.tryParse
      public void testTryParseAllCodePoints() {
        // Exercise non-ASCII digit test cases and the like.
        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

         */
        private String createTestString(int length) {
            StringBuilder sb = new StringBuilder(length);
            for (int i = 0; i < length; i++) {
                sb.append((char) ('A' + (i % 26)));
            }
            return sb.toString();
        }
    
        /**
         * Helper method to create a mock Type 2 message with target information for NTLMv2
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          try (Reader reader = java.nio.file.Files.newBufferedReader(file, UTF_8)) {
            StringBuilder builder = new StringBuilder();
            for (int c = reader.read(); c != -1; c = reader.read()) {
              builder.append((char) c);
            }
            return builder.toString();
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top