Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 109 for substring (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
            if (pos >= 0) {
                return name.substring(pos + 1);
            }
            return name;
        }
    
        private void executeCommand(final File inputFile, final File outputFile) {
    
            if (StringUtil.isBlank(command)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    
        /**
         * Extracts the URL from the target object using reflection.
         *
         * @param target The target object.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        /**
         * Parses the given query string and returns an array of keywords.
         *
         * @param q the query string to be parsed
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                // wrong state
                return;
            }
    
            final int idx = url.indexOf('/', url.indexOf("://") + 3);
            String hostUrl;
            if (idx >= 0) {
                hostUrl = url.substring(0, idx);
            } else {
                hostUrl = url;
            }
            final String robotTxtUrl = hostUrl + "/robots.txt";
    
            // check url
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            int startBracket = transportStr.indexOf('[');
            int endBracket = transportStr.indexOf(',');
            if (startBracket != -1 && endBracket != -1 && endBracket > startBracket) {
                return transportStr.substring(startBracket + 1, endBracket);
            }
            // Fallback: just use address
            return transport.getRemoteAddress().getHostAddress();
        }
    
        /**
         * Get connection key from address and port
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        void testServerInfo1GetTypeVariousTypes(String typeHex, int expectedType) throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = (int) Long.parseLong(typeHex.substring(2), 16);
            assertEquals(expectedType, server.getType());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getName")
        void testServerInfo1GetName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                                if (isPrefix || "xmlns".equals(aname)) {
                                    final int index = aname.indexOf(':');
                                    final String p = isPrefix ? aname.substring(index + 1) : StringUtil.EMPTY;
                                    if (p.equals(prefix)) {
                                        namespace = attr.getNodeValue();
                                        break;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                        destPath = destPath.substring(1);
                    }
    
                    // Open the source file for renaming
                    // Use share-relative path for consistency with destination path handling
                    String sourcePath = getUncPath();
                    if (sourcePath.startsWith("\\")) {
                        sourcePath = sourcePath.substring(1);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. doc/go_spec.html

    Assigning to an element of a <code>nil</code> map causes a
    <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice operand.
    There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (1)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         */
        void putString(@Nonnull String source, @Nonnull Charset charset, @Nonnull URI relativeTarget);
    
        /**
         * PUTs the source string using UTF8 charset to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        default void putString(@Nonnull String source, @Nonnull URI relativeTarget) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top