Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,957 for bline (0.18 sec)

  1. src/go/printer/nodes.go

    	if printBlank {
    		p.print(blank)
    	}
    	xline := p.pos.Line // before the operator (it may be on the next line!)
    	yline := p.lineFor(x.Y.Pos())
    	p.setPos(x.OpPos)
    	p.print(x.Op)
    	if xline != yline && xline > 0 && yline > 0 {
    		// at least one line break, but respect an extra empty line
    		// in the source
    		if p.linebreak(yline, 1, ws, true) > 0 {
    			ws = ignore
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/log/log_test.go

    	} else {
    		Println("hello", 23, "world")
    	}
    	line := buf.String()
    	line = line[0 : len(line)-1]
    	pattern = "^" + pattern + "hello 23 world$"
    	matched, err := regexp.MatchString(pattern, line)
    	if err != nil {
    		t.Fatal("pattern did not compile:", err)
    	}
    	if !matched {
    		t.Errorf("log output should match %q is %q", pattern, line)
    	}
    	SetOutput(os.Stderr)
    }
    
    func TestDefault(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 20:04:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            void apply(Ansi ansi);
        }
    
        public static boolean isEnabled() {
            return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled();
        }
    
        public static void setEnabled(final boolean flag) {
            org.jline.jansi.Ansi.setEnabled(flag);
        }
    
        public static Ansi ansi() {
            if (isEnabled()) {
                return new Ansi();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift3.groovy

                }
    
                public func getLongMessage() -> String {
                    return "When you write a string that spans multiple\\nlines make sure you start its content on a\\nline all of its own, and end it with three\\nquotes also on a line of their own.\\nMulti-line strings also let you write \\"quote marks\\"\\nfreely inside your strings, which is great!"
                }
            ''')]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java

    import java.io.PrintStream;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.services.MessageBuilder;
    import org.slf4j.simple.ExtSimpleLogger;
    
    import static org.apache.maven.jline.MessageUtils.builder;
    
    /**
     * Logger for Maven, that support colorization of levels and stacktraces. This class implements 2 methods introduced in
     * slf4j-simple provider local copy.
     *
     * @since 3.5.0
     */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/debug/gosym/symtab.go

    	if tos == noPath {
    		return "", 0
    	}
    	return tos.path, aline - tos.start - tos.offset + 1
    }
    
    func (o *Obj) alineFromLine(path string, line int) (int, error) {
    	if line < 1 {
    		return 0, &UnknownLineError{path, line}
    	}
    
    	for i, s := range o.Paths {
    		// Find this path
    		if s.Name != path {
    			continue
    		}
    
    		// Find this line at this stack level
    		depth := 0
    		var incstart int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.line.part.pbtxt

    A. Unique TensorFlower <******@****.***> 1690483910 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. src/go/ast/commentmap_test.go

    	
    	// associated with s2
    	
    	// also associated with s2
    	s2() // line comment for s2
    }
    // associated with f1
    // also associated with f1
    
    // associated with f2
    
    // f2
    func f2() {
    }
    
    func f3() {
    	i := 1 /* 1 */ + 2 // addition
    	_ = i
    }
    
    // the very last comment
    `
    
    // res maps a key of the form "line number: node type"
    // to the associated comments' text.
    var res = map[string]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. src/internal/coverage/cformat/format.go

    		// emit call at the end of the loop.
    		p.sortUnits(units)
    		fname := ""
    		ffile := ""
    		flit := false
    		var fline uint32
    		var cstmts, tstmts uint64
    		captureFuncStart := func(u extcu) {
    			fname = p.funcs[u.fnfid].fname
    			ffile = p.funcs[u.fnfid].file
    			flit = p.funcs[u.fnfid].lit
    			fline = u.StLine
    		}
    		emitFunc := func(u extcu) error {
    			// Don't emit entries for function literals (see discussion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top