Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 325 for substring (0.2 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                if (className.endsWith("RepositoryLayout")) {
                    String layout = className.substring(0, className.length() - "RepositoryLayout".length());
                    if (!layout.isEmpty()) {
                        layout = Character.toLowerCase(layout.charAt(0)) + layout.substring(1);
                        return layout;
                    }
                }
                return "";
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
            final String template = replacement.substring(GROOVY_MATCHER.length());
            return (u, m) -> {
                final Map<String, Object> paramMap = new HashMap<>();
                paramMap.put("url", u);
                paramMap.put("matcher", m);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun processClassFile(zipEntry: ZipEntry, builder: Trie.Builder) {
                val endIndex = zipEntry.name.lastIndexOf("/")
                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    if (shouldInclude(packageName, excludes, includes)) {
                        builder.addWord(packageName)
                    }
                }
            }
    
            private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmSsp.java

                        throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(type1, challenge, null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            final Path jsPath = ResourceUtil.getJavaScriptPath(themeName);
            closeQuietly(jsPath);
        }
    
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

            }
            return null;
        }
    
        protected String stripComment(final String line) {
            final int commentIndex = line.indexOf('#');
            if (commentIndex != -1) {
                return line.substring(0, commentIndex);
            }
            return line;
        }
    
        public boolean isEnabled() {
            return enabled;
        }
    
        public void setEnabled(final boolean enabled) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URL uri = new URL(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getProtocol()) || StringUtil.isNotBlank(server) && !server.equals(uri.getHost())) {
                    return false;
                }
                int p = uri.getPort();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

            if (ipString == null) {
              return null;
            }
          }
          if (percentIndex != -1) {
            if (scope != null) {
              scope.scope = ipString.substring(percentIndex + 1);
            }
            ipString = ipString.substring(0, percentIndex);
          }
          return textToNumericFormatV6(ipString);
        } else if (hasDot) {
          if (percentIndex != -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

            pin.startsWith("sha1/") -> {
              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
              this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SID.java

            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
            if ( tmp.startsWith("0x") )
                id = Long.parseLong(tmp.substring(2), 16);
            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for ( int i = 5; id > 0; i-- ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
Back to top