- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 99 for lineFor (0.13 sec)
-
src/crypto/ed25519/ed25519_test.go
if err != nil { t.Fatal(err) } defer testData.Close() scanner := bufio.NewScanner(testData) lineNo := 0 for scanner.Scan() { lineNo++ line := scanner.Text() parts := strings.Split(line, ":") if len(parts) != 5 { t.Fatalf("bad number of parts on line %d", lineNo) } privBytes, _ := hex.DecodeString(parts[0]) pubKey, _ := hex.DecodeString(parts[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 10.9K bytes - Viewed (0) -
src/unicode/letter_test.go
var calibrate = flag.Bool("calibrate", false, "compute crossover for linear vs. binary search") func TestCalibrate(t *testing.T) { if !*calibrate { return } if runtime.GOARCH == "amd64" { fmt.Printf("warning: running calibration on %s\n", runtime.GOARCH) } // Find the point where binary search wins by more than 10%. // The 10% bias gives linear search an edge when they're close,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
src/debug/dwarf/line.go
buf := makeBuf(d, u, "line", Offset(off), d.line[off:]) // The compilation directory is implicitly directories[0]. r := LineReader{ buf: buf, section: d.line, str: d.str, lineStr: d.lineStr, } // Read the header. if err := r.readHeader(compDir); err != nil { return nil, err } // Initialize line reader state. r.Reset() return &r, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 23.5K bytes - Viewed (0) -
src/internal/profile/graph.go
name = append(name, fmt.Sprintf("%016x", i.Address)) } if fun := i.Name; fun != "" { name = append(name, fun) } switch { case i.Lineno != 0: // User requested line numbers, provide what we have. name = append(name, fmt.Sprintf(":%d", i.Lineno)) case i.Name != "": // User requested function name. It was already included. default: // Do not leave it empty if there is no information at all.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 20:59:15 UTC 2024 - 13.1K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
} buf := bufio.NewReader(bzip2.NewReader(f)) lineNo := 1 var h hash.Hash var msg []byte var hashed []byte var r, s *big.Int pub := new(PublicKey) for { line, err := buf.ReadString('\n') if len(line) == 0 { if err == io.EOF { break } t.Fatalf("error reading from input: %s", err) } lineNo++ // Need to remove \r\n from the end of the line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/parse.go
} func (p *parseState) addBlock(c blockBuilder) { p.trimStack(p.lineDepth + 1) p.stack = append(p.stack, openBlock{}) ob := &p.stack[len(p.stack)-1] ob.builder = c ob.pos.StartLine = p.lineno ob.pos.EndLine = p.lineno } func (p *parseState) doneBlock(b Block) { p.trimStack(p.lineDepth + 1) ob := &p.stack[len(p.stack)-1] ob.inner = append(ob.inner, b) } func (p *parseState) para() *paraBuilder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
ctxt.Out.WriteByte(0x00) // no max writeUleb128(ctxt.Out, numElements) // min writeSecSize(ctxt, sizeOffset) } // writeMemorySec writes the section that declares linear memories. Currently one linear memory is being used. // Linear memory always starts at address zero. More memory can be requested with the GrowMemory instruction. func writeMemorySec(ctxt *ld.Link, ldr *loader.Loader) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0) -
src/debug/dwarf/entry.go
var b1 buf if fmt == formStrp { b1 = makeBuf(b.dwarf, b.format, "str", 0, b.dwarf.str) } else { if len(b.dwarf.lineStr) == 0 { b.error("DW_FORM_line_strp with no .debug_line_str section") return nil } b1 = makeBuf(b.dwarf, b.format, "line_str", 0, b.dwarf.lineStr) } b1.skip(int(off)) val = b1.string() if b1.err != nil { b.err = b1.err return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 30.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
m := abiSuff.FindStringSubmatch(fnName) if m != nil { return m[1], m[2] } return fnName, "" } for lineno, line := range lines { lineno++ badf := func(format string, args ...interface{}) { pass.Reportf(analysisutil.LineStart(tf, lineno), "[%s] %s: %s", arch, fnName, fmt.Sprintf(format, args...)) } if arch == "" { // Determine architecture from +build line if possible.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy
String getterPath = baseName.contains('_') ? baseName.substring(baseName.lastIndexOf('_') + 1) : baseName int lineOfSubAccessor = lineOf("public ${baseName}ProjectDependency get${getterPath}() { return new ${baseName}ProjectDependency(getFactory(), create(\"${projectPath}\")); }") lineOfSubAccessor }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 12.3K bytes - Viewed (0)