Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 820 for lineB (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_stack_test.go

    	logger := klog.Background()
    	logger = klog.LoggerWithValues(logger, "request", 42)
    	ctx := klog.NewContext(context.Background(), logger)
    
    	// The line number of the next call must be at line 60. Here are some
    	// blank lines that can be removed to keep the line unchanged.
    	//
    	//
    	//
    	//
    	//
    	//
    	HandleErrorWithContext(ctx, errors.New("fake error"), "test")
    
    	klog.Flush()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/go/printer/printer_test.go

    // before empty lines.
    func TestIssue5945(t *testing.T) {
    	const orig = `
    package p   // line 2
    func f() {} // line 3
    
    var x, y, z int
    
    
    func g() { // line 8
    }
    `
    
    	const want = `//line src.go:2
    package p
    
    //line src.go:3
    func f() {}
    
    var x, y, z int
    
    //line src.go:8
    func g() {
    }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

    public class DaemonContextParser {
        @Nullable
        public static DaemonContext parseFromFile(DaemonLogFile log, GradleVersion version) {
            try (Stream<String> lines = log.lines()) {
                return lines.map(line -> parseFrom(line, version)).filter(Objects::nonNull).findFirst().orElse(null);
            } catch (IOException | UncheckedIOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/go/ast/import.go

    			for _, c := range g.cg.List {
    				if g.left {
    					c.Slash = pos[i].Start - 1
    				} else {
    					// An import spec can have both block comment and a line comment
    					// to its right. In that case, both of them will have the same pos.
    					// But while formatting the AST, the line comment gets moved to
    					// after the block comment.
    					c.Slash = pos[i].End
    				}
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. src/go/doc/comment/testdata_test.go

    			recv == "" && name == "NoURL" {
    			return true
    		}
    		return false
    	}
    
    	stripDollars := func(b []byte) []byte {
    		// Remove trailing $ on lines.
    		// They make it easier to see lines with trailing spaces,
    		// as well as turning them into lines without trailing spaces,
    		// in case editors remove trailing spaces.
    		return bytes.ReplaceAll(b, []byte("$\n"), []byte("\n"))
    	}
    	for _, file := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    			l := sample.Location[i]
    			lines := l.Line
    			if len(lines) == 0 {
    				lines = []profile.Line{{}} // Create empty line to include location info.
    			}
    			for lidx := len(lines) - 1; lidx >= 0; lidx-- {
    				nodeMap := parentNodeMap[parent]
    				if nodeMap == nil {
    					nodeMap = make(NodeMap)
    					parentNodeMap[parent] = nodeMap
    				}
    				n := nodeMap.findOrInsertLine(l, lines[lidx], o)
    				if n == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. src/regexp/exec_test.go

    	)
    	for lineno := 1; scanner.Scan(); lineno++ {
    		line := scanner.Text()
    		switch {
    		case line == "":
    			t.Fatalf("%s:%d: unexpected blank line", file, lineno)
    		case line[0] == '#':
    			continue
    		case 'A' <= line[0] && line[0] <= 'Z':
    			// Test name.
    			t.Logf("%s\n", line)
    			continue
    		case line == "strings":
    			str = str[:0]
    			inStrings = true
    		case line == "regexps":
    			inStrings = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug_test.go

    }
    
    // varsToPrint takes a source code line, and extracts the comma-separated variable names
    // found between lookfor and the next ")".
    // For example, if line includes "... //gdb-foo=(v1,v2,v3)" and
    // lookfor="//gdb-foo=(", then varsToPrint returns ["v1", "v2", "v3"]
    func varsToPrint(line, lookfor string) []string {
    	var vars []string
    	if strings.Contains(line, lookfor) {
    		x := line[strings.Index(line, lookfor)+len(lookfor):]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top