Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getRows_ (0.11 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ConsoleLayoutCalculatorTest.groovy

            given:
            1 * consoleMetaData.getRows() >> 100
    
            expect:
            consoleLayoutCalculator.calculateNumWorkersForConsoleDisplay(5) == 5
        }
    
        def "lines should be half the console size for small consoles"() {
            given:
            1 * consoleMetaData.getRows() >> rows
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/NativePlatformConsoleMetaData.java

            return stderr;
        }
    
        @Override
        public int getCols() {
            return terminal.getTerminalSize().getCols();
        }
    
        @Override
        public int getRows() {
            return terminal.getTerminalSize().getRows();
        }
    
        @Override
        public boolean isWrapStreams() {
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/TestConsoleMetadata.java

        }
    
        @Override
        public boolean isStdErr() {
            return attachedToStderr;
        }
    
        @Override
        public int getCols() {
            return 130;
        }
    
        @Override
        public int getRows() {
            return 40;
        }
    
        @Override
        public boolean isWrapStreams() {
            return false;
        }
    
        public String getCommandLineArgument() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ConsoleLayoutCalculator.java

            if (maximumAvailableLines == -1) {
                // Disallow work-in-progress to take up more than half of the console display
                // If the screen size is unknown, allow 4 lines
                int rows = consoleMetaData.getRows();
                maximumAvailableLines = rows == 0 ? 4 : rows / 2;
            }
    
            return Math.min(ideal, maximumAvailableLines);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/FallbackConsoleMetaData.java

        }
    
        @Override
        public boolean isStdErr() {
            return attached;
        }
    
        @Override
        public int getCols() {
            return 0;
        }
    
        @Override
        public int getRows() {
            return 0;
        }
    
        @Override
        public boolean isWrapStreams() {
            return attached;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/ConsoleMetaData.java

        int getCols();
    
        /**
         * <p>Returns the number of rows available in the console.</p>
         *
         * @return The height of the console (rows). If no information is available return 0.
         */
        int getRows();
    
        boolean isWrapStreams();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

            try {
                AnsiConsole console = interpretAnsiChars();
                DiagnosticConsole diagnosticConsole = new DiagnosticConsole();
                for (int i = 0; i < console.getRows().size(); i++) {
                    AnsiConsole.Row row = console.getRows().get(i);
                    if (i > 0) {
                        diagnosticConsole.visit(NewLine.INSTANCE);
                    }
                    row.visit(diagnosticConsole);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/WorkInProgressRendererTest.groovy

        def renderer = new WorkInProgressRenderer(listener, console.getBuildProgressArea(), new DefaultWorkInProgressFormatter(metaData), new ConsoleLayoutCalculator(metaData))
    
        def setup() {
            metaData.getRows() >> 2
        }
    
        def "start and complete events in the same batch are ignored"() {
            when:
            renderer.onOutput(start(1, ":foo"))
            renderer.onOutput(start(2, ":bar"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * the function is not invoked). Example usage:
       *
       * <pre>{@code
       * ListenableFuture<List<Row>> rowsFuture =
       *     queryFuture.transform(QueryResult::getRows, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * the function is not invoked). Example usage:
       *
       * <pre>{@code
       * ListenableFuture<List<Row>> rowsFuture =
       *     queryFuture.transform(QueryResult::getRows, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 11 19:08:44 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top