Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 380 for line_ (0.07 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

                               int a_write_fd)
          : file_(a_file), line_(a_line), index_(an_index),
            write_fd_(a_write_fd) {}
    
      ~InternalRunDeathTestFlag() {
        if (write_fd_ >= 0)
          posix::Close(write_fd_);
      }
    
      const std::string& file() const { return file_; }
      int line() const { return line_; }
      int index() const { return index_; }
      int write_fd() const { return write_fd_; }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

                // 6
                """       | Error:              {description}line0{normal}
           |     Caused by:      {description}line1{normal}
           |     Caused by:      {description}line2{normal}
           |     Caused by:      {description}line3{normal}
           |     Caused by:      {description}line4{normal}
           |     Caused by:      {description}line5{normal}
           |                     {description}...{normal}""",
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            given:
            def lockFile = lockDir.file('conf.lockfile')
            lockFile << """#Ignored
    line1
    
    line2"""
    
            when:
            def result = lockFileReaderWriter.readLockFile('conf')
    
            then:
            result == ['line1', 'line2']
    
            1 * listener.fileObserved(lockFile)
        }
    
        def 'reads a unique lock file'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/text/tabwriter/tabwriter.go

    // Returns the buffer position corresponding to the beginning of
    // line1 and an error, if any.
    func (b *Writer) format(pos0 int, line0, line1 int) (pos int) {
    	pos = pos0
    	column := len(b.widths)
    	for this := line0; this < line1; this++ {
    		line := b.lines[this]
    
    		if column >= len(line)-1 {
    			continue
    		}
    		// cell exists in this column => this line
    		// has more cells than the previous line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. src/net/textproto/reader_test.go

    	line := strings.Repeat("12345", 10000)
    	r := reader(line + "\r\n")
    	s, err := r.ReadLine()
    	if err != nil {
    		t.Fatalf("Line 1: %v", err)
    	}
    	if s != line {
    		t.Fatalf("%v-byte line does not match expected %v-byte line", len(s), len(line))
    	}
    }
    
    func TestReadContinuedLine(t *testing.T) {
    	r := reader("line1\nline\n 2\nline3\n")
    	s, err := r.ReadContinuedLine()
    	if s != "line1" || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/text/template/parse/parse_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	// Check the line numbers. Each line is an action containing a template, followed by text.
    	// That's two nodes per line.
    	nodes := tree.Root.Nodes
    	for i := 0; i < len(nodes); i += 2 {
    		line := 1 + i/2
    		// Action first.
    		action := nodes[i].(*ActionNode)
    		if action.Line != line {
    			t.Errorf("line %d: action is line %d", line, action.Line)
    		}
    		pipe := action.Pipe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/parser_test.go

    		{"//line foo:x\n", "invalid line number: x", filename, 1, 12},
    		{"//line foo:0\n", "invalid line number: 0", filename, 1, 12},
    		{"//line foo:1 \n", "invalid line number: 1 ", filename, 1, 12},
    		{"//line foo:-12\n", "invalid line number: -12", filename, 1, 12},
    		{"//line C:foo:0\n", "invalid line number: 0", filename, 1, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			stack = append(stack, callID{
    				file: callees[j].File,
    				line: callees[j].Line,
    			})
    		}
    		file.lines[f.Line] = append(file.lines[f.Line], sourceInst{addr, stack})
    
    		// Remember the first function name encountered per source line
    		// and assume that that line belongs to that function.
    		if _, ok := file.funcName[f.Line]; !ok {
    			file.funcName[f.Line] = f.Func
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

                try (Stream<String> lines = Files.lines(uniqueLockFile, CHARSET)) {
                    lines.filter(empty.or(comment).negate())
                        .filter(line -> {
                            if (line.startsWith(EMPTY_RESOLUTIONS_ENTRY)) {
                                // This is a perf hack for handling the last line in the file in a special way
                                collectEmptyLockIds(line, emptyLockIds);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pkg/log/config_test.go

    		"",
    	}
    
    	if len(lines) > len(patterns) {
    		t.Errorf("Expecting %d lines of output, but got %d", len(patterns), len(lines))
    
    		for i := len(patterns); i < len(lines); i++ {
    			t.Errorf("  Extra line of output: %s", lines[i])
    		}
    	}
    
    	for i, pat := range patterns {
    		t.Run(strconv.Itoa(i), func(t *testing.T) {
    			match, _ := regexp.MatchString(pat, lines[i])
    			if !match {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top