Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 417 for line1 (0.12 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AnyOrderOutputMatcher.groovy

                } else {
                    Assert.fail("Line missing from output.${NL}${expectedLine}${NL}---${NL}Actual output:${NL}$actual${NL}---")
                }
            }
    
            if (!(ignoreExtraLines || unmatchedLines.empty)) {
                def unmatched = unmatchedLines.join(NL)
                Assert.fail("Extra lines in output.${NL}${unmatched}${NL}---${NL}Actual output:${NL}$actual${NL}---")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    			}
    			// If we cannot parse a number after the last ":", keep it as
    			// part of the filename.
    			if line, err := strconv.Atoi(fileline[i+1:]); err == nil {
    				linenumber = line
    				fileline = fileline[:i]
    			}
    		}
    	}
    
    	return plugin.Frame{
    		Func: funcname,
    		File: fileline,
    		Line: linenumber}, false
    }
    
    func (d *addr2Liner) rawAddrInfo(addr uint64) ([]plugin.Frame, error) {
    	d.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/log/logr_test.go

    func runLogrTestWithScope(t *testing.T, s *Scope, f func(l logr.Logger)) []string {
    	lines, err := captureStdout(func() {
    		Configure(DefaultOptions())
    		l := NewLogrAdapter(s)
    		f(l)
    		_ = Sync()
    	})
    	if err != nil {
    		t.Fatalf("Got error '%v', expected success", err)
    	}
    	if lines[len(lines)-1] == "" {
    		return lines[:len(lines)-1]
    	}
    	return lines
    }
    
    func newScope() *Scope {
    	s := &Scope{name: "test"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tools/bug-report/pkg/processlog/processlog.go

    			}
    		default:
    		}
    	}
    	return out
    }
    
    func parseLog(line string) (timeStamp *time.Time, level string, text string, valid bool) {
    	if isJSONLog(line) {
    		return parseJSONLog(line)
    	}
    	return processPlainLog(line)
    }
    
    func processPlainLog(line string) (timeStamp *time.Time, level string, text string, valid bool) {
    	lv := strings.Split(line, "\t")
    	if len(lv) < 3 {
    		// maybe ztunnel logs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

         */
        public ImmutableList<String> getLines() {
            return lines;
        }
    
        /**
         * Returns the first line. The text does not include the line separator.
         */
        public String getFirst() {
            return lines.get(0);
        }
    
        /**
         * Visits each line in this content. The line does not include the line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. pkg/proxy/util/linebuffer.go

    	String() string
    
    	// Lines returns the number of lines in the buffer. Note that more precisely, this
    	// returns the number of times Write() or WriteBytes() was called; it assumes that
    	// you never wrote any newlines to the buffer yourself.
    	Lines() int
    }
    
    var _ logr.Marshaler = &realLineBuffer{}
    
    type realLineBuffer struct {
    	b     bytes.Buffer
    	lines int
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-d', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readSoName(lines)
        }
    
        @VisibleForTesting
        static String readSoName(List<String> lines) {
            final Pattern pattern = ~/^.*\(SONAME\)\s+.*soname.*\: \[(.*)\]$/
            String matchingLine = lines.find {
                pattern.matcher(it).matches()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSink.java

        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the given line separator.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"argumented macro invoked without arguments",
    		lines(
    			"#define X() foo ",
    			"X()",
    			"X",
    		),
    		"foo.\n.X.\n",
    	},
    	{
    		"multiline macro without arguments",
    		lines(
    			"#define A 1\\",
    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/base/timings.go

    }
    
    func (lines lines) write(w io.Writer) {
    	// determine column widths and contents
    	var widths []int
    	var number []bool
    	for _, line := range lines {
    		for i, col := range line {
    			if i < len(widths) {
    				if len(col) > widths[i] {
    					widths[i] = len(col)
    				}
    			} else {
    				widths = append(widths, len(col))
    				number = append(number, isnumber(col)) // first line determines column contents
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top