Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mapToInt (1.02 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/text/StyledTable.java

                    int finalI = i;
                    colWidths[i] = Stream.concat(
                        Stream.of(model.headers.get(i)),
                        model.rows.stream().map(row -> row.text.get(finalI))
                    ).mapToInt(String::length).max().orElse(0);
                }
    
                output.style(Header);
                printRow(model, output, colWidths, model.headers, ' ');
                output.style(Normal);
                output.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 22 21:03:24 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

            }
        }
    
        private static String toAbsolutePath(Collection<String> parents, String fileName) {
            int length = fileName.length() + parents.size()  + parents.stream()
                .mapToInt(String::length)
                .sum();
            StringBuilder buffer = new StringBuilder(length);
            for (String parent : parents) {
                buffer.append(parent);
                buffer.append(File.separatorChar);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToInt(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
     *   <li>Can't be passed directly to methods that expect {@code Iterable}, {@code Collection}, or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (spaceChars == null) {
                if (spaceStr.startsWith("u")) {
                    spaceChars = split(spaceStr, "u")
                            .get(stream -> stream.filter(StringUtil::isNotBlank).mapToInt(s -> Integer.parseInt(s, 16)).toArray());
                } else {
                    // backward compatibility
                    final int length = spaceStr.length();
                    spaceChars = new int[length];
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java

                    List<Expression> arguments = ImmutableList.copyOf(expressionSerializer.read(decoder));
                    int mapCount = decoder.readSmallInt();
                    int[] argsMap = new int[mapCount];
                    for (int i = 0; i < mapCount; i++) {
                        argsMap[i] = decoder.readSmallInt();
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top