Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 541 for line3 (0.04 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

        // region: assertLinesContainedIn
        def "neither expected or actual lines can be empty"() {
            when:
            comparer.assertLinesContainedIn([], ["a"])
            then:
            thrown(AssertionError)
    
            when:
            comparer.assertLinesContainedIn(["a"], [])
            then:
            thrown(AssertionError)
        }
    
        def "successful lines contained in comparisons: #expectedLines vs #actualLines"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. docs/en/docs/js/termynal.js

        }
    
        /**
         * Animate a typed line.
         * @param {Node} line - The line element to render.
         */
        async type(line) {
            const chars = [...line.textContent];
            line.textContent = '';
            this.container.appendChild(line);
    
            for (let char of chars) {
                const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    	file, line, fn := f.pcln.PCToLine(addr)
    	if fn != nil {
    		frame := []driver.Frame{
    			{
    				Func: fn.Name,
    				File: file,
    				Line: line,
    			},
    		}
    		return frame, nil
    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineReader.java

      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ConsoleLayoutCalculatorTest.groovy

        def consoleLayoutCalculator = new ConsoleLayoutCalculator(consoleMetaData);
    
        def "lines should be ideal value if console is large enough"() {
            given:
            1 * consoleMetaData.getRows() >> 100
    
            expect:
            consoleLayoutCalculator.calculateNumWorkersForConsoleDisplay(5) == 5
        }
    
        def "lines should be half the console size for small consoles"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. hack/verify-test-featuregates.sh

    # ensure all generic features are added in alphabetic order
    lines=$(git grep 'genericfeatures[.].*:' -- pkg/features/kube_features.go)
    sorted_lines=$(echo "$lines" | sort -f)
    if [[ "$lines" != "$sorted_lines" ]]; then
      echo "Generic features in pkg/features/kube_features.go not sorted" >&2
      echo >&2
      echo "Expected:" >&2
      echo "$sorted_lines" >&2
      echo >&2
      echo "Got:" >&2
      echo "$lines" >&2
      rc=1
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtils.java

        /**
         * Reads the last {@code tailSize} lines of the daemon log file and returns them as a single string.
         *
         * @param file the daemon log
         * @param tailSize the length of tail
         * @return the tail of the log or a special {@code "<<empty>>"} string if the log is empty
         */
        static String tail(File file, int tailSize) throws IOException {
            try (Stream<String> lines = Files.lines(file.toPath(), StandardCharsets.UTF_8)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy

            [Insufficient.LINE_METRIC_COVERED_RATIO]                    | 'line metric with covered ratio'                                         | 'lines covered ratio is 1.0, but expected maximum is 0.5'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc

        }
    
        // Splits into lines.
        SmallVector<StringRef, 8> lines;
        file->getBuffer().split(lines, "\n", -1, false);
        // The resize method is used since split operator puts tail value in the end
        // without splitting the leftovers.
        if (op.getVocabSize() != -1) lines.resize(op.getVocabSize());
    
        // Map each line to line number, starting from zero.
        SmallVector<int64_t, 8> line_nums;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. tests/integration/telemetry/api/istioctl_metrics_test.go

    	//        server        0.182        0.000         40ms         74ms         97ms
    	//
    	lines := strings.Split(output, "\n")
    	if len(lines) != 3 {
    		t.Logf("Expected 2 lines of output, got %q", output)
    		return errors.New("unexpected output (incorrect number of lines)")
    	}
    	fields := strings.Fields(lines[1])
    	if len(fields) != 6 {
    		t.Logf("Expected 6 columns, got %#v", fields)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top