Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for lineFor (0.19 sec)

  1. src/cmd/vendor/rsc.io/markdown/break.go

    	buf.WriteString(s.prefix)
    	buf.WriteString(b.raw)
    	buf.WriteByte('\n')
    }
    
    func newHR(p *parseState, s line) (line, bool) {
    	if isHR(s) {
    		p.doneBlock(&ThematicBreak{Position{p.lineno, p.lineno}, s.string()})
    		return line{}, true
    	}
    	return s, false
    }
    
    func isHR(s line) bool {
    	t := s
    	t.trimSpace(0, 3, false)
    	switch c := t.peek(); c {
    	case '-', '_', '*':
    		for i := 0; ; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/heading.go

    			id, s = extractID(p, s)
    
    			// Goldmark is strict about the id syntax.
    			for _, c := range id {
    				if c >= 0x80 || !isLetterDigit(byte(c)) {
    					p.corner = true
    				}
    			}
    		}
    		pos := Position{p.lineno, p.lineno}
    		p.doneBlock(&Heading{pos, n, p.newText(pos, s), id})
    		return line{}, true
    	}
    	return s, false
    }
    
    // extractID removes an ID attribute from s if one is present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/nowb.go

    		// Record the path.
    		funcs[target] = nowritebarrierrecCall{target: src, lineno: pos}
    		q.PushRight(target.Nname)
    	}
    	for !q.Empty() {
    		fn := q.PopLeft().Func
    
    		// Check fn.
    		if fn.WBPos.IsKnown() {
    			var err strings.Builder
    			call := funcs[fn]
    			for call.target != nil {
    				fmt.Fprintf(&err, "\n\t%v: called by %v", base.FmtPos(call.lineno), call.target.Nname)
    				call = funcs[call.target]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/internal/dag/parse.go

    }
    
    // A rulesParser parses the depsRules syntax described above.
    type rulesParser struct {
    	lineno   int
    	lastWord string
    	text     string
    }
    
    // syntaxError reports a parsing error.
    func (p *rulesParser) syntaxError(msg string) {
    	panic(syntaxError(fmt.Sprintf("parsing graph: line %d: syntax error: %s near %s", p.lineno, msg, p.lastWord)))
    }
    
    // nextList parses and returns a comma-separated list of names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			continue
    		}
    		var lineFunc, lineFile string
    		var lineNo int64
    
    		if fileLine := javaLocationFileLineRx.FindStringSubmatch(jloc[2]); len(fileLine) == 4 {
    			// Found a line of the form: "function (file:line)"
    			lineFunc, lineFile = fileLine[1], fileLine[2]
    			if n, err := strconv.ParseInt(fileLine[3], 10, 64); err == nil && n > 0 {
    				lineNo = n
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    }
    
    catch
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top