Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 325 for substring (0.06 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertFalse(matcher.matchesAllOf(s));
        assertFalse(matcher.matchesNoneOf(s));
        assertEquals(s.substring(1), matcher.removeFrom(s));
        assertEquals("z" + s.substring(1), matcher.replaceFrom(s, 'z'));
        assertEquals("ZZ" + s.substring(1), matcher.replaceFrom(s, "ZZ"));
        assertEquals(s.substring(1), matcher.trimFrom(s));
        assertEquals(1, matcher.countIn(s));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*";
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_CASE)) {
                return p.substring(GsaConfigParser.REGEXP_CASE.length());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    if (currentArg != null) {
                        cleaned.add(currentArg.toString());
                    }
    
                    // start building an argument here.
                    currentArg = new StringBuilder(arg.substring(1));
                    addedToBuffer = true;
                }
    
                // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar"
                if (addedToBuffer && arg.endsWith("\"")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                    if (index != null) {
                                        if (index.startsWith(".fess")) {
                                            indexObj.put("_index", index.substring(1));
                                        }
                                        if (index.endsWith("scheduled_job")) {
                                            resetJobs.set(true);
                                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            int i = 0, b = 0, len = path.length();
    
            do {
                if (ri == rlast) {
                    result[rlast] = path.substring(b);
                    return;
                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri++] = path.substring(b, i);
                    b = i + 1;
                }
            } while (i++ < len);
    
            while (ri < result.length) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                int idx = filename.indexOf('.');
                if (idx < 0) {
                    result = filename + '-' + repositoryKey;
                } else {
                    result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
                }
                return result;
            }
    
            public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
                // not used
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
    
            String subContent;
            if (content.length() < maxWidth * 2) {
                subContent = content;
            } else {
                subContent = content.substring(0, maxWidth * 2);
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(subContent)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            if ( path.length() > 0 && path.charAt(0) == '\\' ) {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if ( path.length() > 1 && path.charAt(path.length() - 1) == '\\' ) {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        companion object {
            fun fromTestId(testId: String): Scenario {
                val dotBeforeScenarioName = testId.lastIndexOf('.')
                return Scenario(testId.substring(0, dotBeforeScenarioName), testId.substring(dotBeforeScenarioName + 1))
            }
        }
    
        override
        fun toString(): String =
            "$className.$scenario"
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(3));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("is")) {
                    if (m.getParameterTypes().length != 0
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top