Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 239 for SUBSTRING (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/net/InternetDomainName.java

        // clipped part to get the length of the leading substring that is being removed.
        int substringFrom = levels;
        for (int i = 0; i < levels; i++) {
          substringFrom += parts.get(i).length();
        }
        String ancestorName = name.substring(substringFrom);
    
        return new InternetDomainName(ancestorName, ancestorParts);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                    boolean combine = checkCombineLines(line);
                    if (combine) {
                        line = line.substring(0, line.length() - 1);
                    }
                    valueLines.add(line);
                    while (!line.isEmpty() && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    boolean combine = checkCombineLines(line);
                    if (combine) {
                        line = line.substring(0, line.length() - 1);
                    }
                    valueLines.add(line);
                    while (!line.isEmpty() && contains(WHITE_SPACE, line.charAt(0))) {
                        line = line.substring(1, line.length());
                    }
                    buffer.append(line);
                    if (!combine) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  4. 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);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        /**
         * Returns the string that has already been read.
         *
         * @return The string that has already been read.
         */
        public String getReadString() {
            return str.substring(0, colno - 1);
        }
    
        private int read() {
            if (colno >= str.length()) {
                return -1;
            }
            return str.charAt(colno++);
        }
    
        private void initVal() {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return false // Wildcard pattern for single-label domain name -- not permitted.
        }
    
        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

            assertArgumentNotNull("zipUrl", zipUrl);
    
            final String urlString = zipUrl.getPath();
            final int pos = urlString.lastIndexOf('!');
            final String zipFilePath = urlString.substring(0, pos);
            final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));
            return FileUtil.getCanonicalPath(zipFile);
        }
    
        /**
         * Closes the Zip file.
         * <p>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8);
            String result = response.readString(src, 0, src.length);
            // The method should remove the null terminator
            assertEquals(expected, result.substring(0, expected.length()));
        }
    
        @Test
        void testReadString_Oem_NoNullTerminator() {
            response.useUnicode = false;
            String expected = "test";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            if (matcher.lookingAt()) {
                String theOrWhether = matcher.group(1).toLowerCase(Locale.US);
                comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end()));
            }
        }
    
        private DocCommentImpl parse(String rawCommentText, ClassMetaData classMetaData,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  10. lib/wasm/wasm_exec.js

    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
Back to Top