Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 345 for indexCon (0.31 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

       * #matches} for each character.
       *
       * @param sequence the character sequence to examine from the beginning
       * @return an index, or {@code -1} if no character matches
       */
      public int indexIn(CharSequence sequence) {
        return indexIn(sequence, 0);
      }
    
      /**
       * Returns the index of the first matching BMP character in a character sequence, starting from a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/RegExpPatternStep.java

                char next = pattern.charAt(i);
                if (next == '*') {
                    result.append(".*");
                } else if (next == '?') {
                    result.append(".");
                } else if (ESCAPE_CHARS.indexOf(next) >= 0) {
                    result.append('\\');
                    result.append(next);
                } else {
                    result.append(next);
                }
            }
            return result.toString();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getLocale(final String localeStr) {
            // TODO replace with Fess
            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/FileNameDerivingClassNameConverter.java

                .map(fileExtension -> classNameToRelativePath(className, fileExtension))
                .collect(Collectors.toSet());
    
            // Classes with $ may be inner classes
            int innerClassIdx = className.indexOf("$");
            if (innerClassIdx > 0) {
                String baseName = className.substring(0, innerClassIdx);
                fileExtensions.stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
                final int pos = buf.indexOf("y");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "yy");
                }
            }
            if (buf.indexOf("MM") == -1) {
                final int pos = buf.indexOf("M");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "MM");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
                int rx = lifecycleIds.indexOf(r);
    
                if (lx < 0 || rx < 0) {
                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            // role does not vary for Mojos.
            List<MojoDescriptor> mojos = getMojos();
    
            if (mojos != null && mojos.contains(mojoDescriptor)) {
                int indexOf = mojos.indexOf(mojoDescriptor);
    
                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
                throw new DuplicateMojoDescriptorException(
                        getGoalPrefix(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 14 17:14:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

       *     such index exists.
       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

       *     such index exists.
       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/layout/ResolvedPattern.java

        public final String absolutePattern;
    
        public ResolvedPattern(String rawPattern, FileResolver fileResolver) {
            // get rid of the ivy [] token, as [ ] are not valid URI characters
            int pos = rawPattern.indexOf('[');
            String basePath = pos < 0 ? rawPattern : rawPattern.substring(0, pos);
            this.baseUri = fileResolver.resolveUri(basePath);
            this.pattern = pos < 0 ? "" : rawPattern.substring(pos);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top