Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 544 for char (0.16 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            return session;
        }
    
        private static final char[] HEX_CODE = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            if (!filePath.startsWith("file:")) {
                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
                    } else {
                        final String str = String.valueOf(c);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        }
    
        public void test_getSAXHandlerMethods() throws SAXException {
            GsaConfigParser parser = new GsaConfigParser();
    
            parser.startDocument();
    
            char[] chars = "test".toCharArray();
            parser.characters(chars, 0, chars.length);
    
            parser.endDocument();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            }
    
            final long start = System.currentTimeMillis();
            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/main/assemblies/files/service.bat

    echo JAVA_HOME environment variable must be set!
    pause
    goto:eof
    
    rem ---
    rem Function for converting Xm[s|x] values into MB which Commons Daemon accepts
    rem ---
    :convertxm
    set value=%~1
    rem extract last char (unit)
    set unit=%value:~-1%
    rem assume the unit is specified
    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameTest.java

            Name name = new Name(mockConfig, "\u0001MSBROWSE      ", 0x01, null);
            String result = name.toString();
    
            // Should replace first char with '..' and char at position 14 with '.'
            assertTrue(result.contains(".."));
            assertFalse(result.contains("\u0001"));
        }
    
        @Test
        void toString_withoutScope_shouldNotIncludeScope() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    .map(HttpServletRequest::getCharacterEncoding)
                    .orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

            String n = name;
    
            // fix MSBROWSE name
            if (n == null) {
                n = "null";
            } else if (n.charAt(0) == 0x01) {
                final char c[] = n.toCharArray();
                c[0] = '.';
                c[1] = '.';
                c[14] = '.';
                n = new String(c);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Name.java

            String n = this.name;
    
            // fix MSBROWSE name
            if (n == null) {
                n = "null";
            } else if (n.charAt(0) == 0x01) {
                final char c[] = n.toCharArray();
                c[0] = '.';
                c[1] = '.';
                c[14] = '.';
                n = new String(c);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top