Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for tweens (0.73 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    	return func(line string) string {
    		switch tokens := strings.Fields(line); len(tokens) {
    		case 0:
    			// Nothing to complete
    		case 1:
    			// Single token -- complete command name
    			if match := matchVariableOrCommand(tokens[0]); match != "" {
    				return match
    			}
    		case 2:
    			if tokens[0] == "help" {
    				if match := matchVariableOrCommand(tokens[1]); match != "" {
    					return tokens[0] + " " + match
    				}
    				return line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    						new := &Line{Token: tokens[1:], InBlock: true}
    						stmt.Line[j+1] = new
    						return new
    					}
    				}
    			}
    		}
    	}
    
    	new := &Line{Token: tokens}
    	x.Stmt = append(x.Stmt, new)
    	return new
    }
    
    func (x *FileSyntax) updateLine(line *Line, tokens ...string) {
    	if line.InBlock {
    		tokens = tokens[1:]
    	}
    	line.Token = tokens
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/import.go

    	// This check is unnecessary inside the module cache
    	// and important to skip in the vendor directory,
    	// where all the module trees have been overlaid.
    	// So we only check local module trees
    	// (the main module, and any directory trees pointed at by replace directives).
    	if isLocal {
    		for d := dir; d != mdir && len(d) > len(mdir); {
    			haveGoMod := haveGoModCache.Do(d, func() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/help/helpdoc.go

    let package authors make sure the custom import path is used and not a
    direct path to the underlying code hosting site.
    
    Import path checking is disabled for code found within vendor trees.
    This makes it possible to copy code into alternate locations in vendor trees
    without needing to update import comments.
    
    Import path checking is also disabled when using modules.
    Import path comments are obsoleted by the go.mod file's module statement.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/rangefunc/rewrite.go

    //
    //	if #next op c { [#next = 0;] thens... }
    func (r *rewriter) ifNext(op syntax.Operator, c int, zeroNext bool, thens ...syntax.Stmt) syntax.Stmt {
    	var thenList []syntax.Stmt
    	if zeroNext {
    		clr := &syntax.AssignStmt{
    			Lhs: r.next(),
    			Rhs: r.intConst(0),
    		}
    		thenList = append(thenList, clr)
    	}
    	for _, then := range thens {
    		thenList = append(thenList, then)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    func (p *Parser) at(next ...lex.ScanToken) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/cmd/link/link_test.go

    old corporation, Temple Bar. And hard by Temple Bar, in Lincoln’s Inn Hall, at the very heart of the fog, sits the Lord High Chancellor in his High Court of Chancery."`
    
    	wind int `text:"It was grand to see how the wind awoke, and bent the trees, and drove the rain before it like a cloud of smoke; and to hear the solemn thunder, and to see the lightning; and while thinking with awe of the tremendous powers by which our little lives are encompassed, to consider how beneficent they are, and...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/memcombine.go

    	// unaligned loads and unaligned stores.
    	if !f.Config.unalignedOK {
    		return
    	}
    
    	memcombineLoads(f)
    	memcombineStores(f)
    }
    
    func memcombineLoads(f *Func) {
    	// Find "OR trees" to start with.
    	mark := f.newSparseSet(f.NumValues())
    	defer f.retSparseSet(mark)
    	var order []*Value
    
    	// Mark all values that are the argument of an OR.
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner_test.go

    func TestSmoke(t *testing.T) {
    	const src = "if (+foo\t+=..123/***/0.9_0e-0i'a'`raw`\"string\"..f;//$"
    	tokens := []token{_If, _Lparen, _Operator, _Name, _AssignOp, _Dot, _Literal, _Literal, _Literal, _Literal, _Literal, _Dot, _Dot, _Name, _Semi, _EOF}
    
    	var got scanner
    	got.init(strings.NewReader(src), errh, 0)
    	for _, want := range tokens {
    		got.next()
    		if got.tok != want {
    			t.Errorf("%d:%d: got %s; want %s", got.line, got.col, got.tok, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/scanner.go

    // Go source. After initialization, consecutive calls of
    // next advance the scanner one token at a time.
    //
    // This file, source.go, tokens.go, and token_string.go are self-contained
    // (`go tool compile scanner.go source.go tokens.go token_string.go` compiles)
    // and thus could be made into their own package.
    
    package syntax
    
    import (
    	"fmt"
    	"io"
    	"unicode"
    	"unicode/utf8"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
Back to top