Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for tweens (0.09 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/compress/flate/deflate.go

    				if d.byteAvailable {
    					// There is still one pending token that needs to be flushed
    					d.tokens = append(d.tokens, literalToken(uint32(d.window[d.index-1])))
    					d.byteAvailable = false
    				}
    				if len(d.tokens) > 0 {
    					if d.err = d.writeBlock(d.tokens, d.index); d.err != nil {
    						return
    					}
    					d.tokens = d.tokens[:0]
    				}
    				break Loop
    			}
    		}
    		if d.index < d.maxInsertIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/compress/flate/huffman_bit_writer_test.go

    			t.Error(err)
    		}
    		return
    	}
    	t.Log("Reset ok")
    	testWriterEOF(t, "huff", huffTest{input: in}, true)
    }
    
    type huffTest struct {
    	tokens      []token
    	input       string // File name of input data matching the tokens.
    	want        string // File name of data with the expected output with input available.
    	wantNoInput string // File name of the expected output when no input is available.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 40.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    // even though its [Pos()..End()) is actually only interval A.
    // This behaviour makes user interfaces more tolerant of imperfect
    // input.
    //
    // This function treats tokens as nodes, though they are not included
    // in the result. e.g. PathEnclosingInterval("+") returns the
    // enclosing ast.BinaryExpr("x + y").
    //
    // If start==end, the 1-char interval following start is used instead.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  6. src/compress/flate/deflate_test.go

    		// hashMatch is always overwritten when used.
    		copy(w.d.hashMatch[:], wref.d.hashMatch[:])
    		if len(w.d.tokens) != 0 {
    			t.Errorf("level %d Writer not reset after Reset. %d tokens were present", level, len(w.d.tokens))
    		}
    		// As long as the length is 0, we don't care about the content.
    		w.d.tokens = wref.d.tokens
    
    		// We don't care if there are values in the window, as long as it is at d.index is 0
    		w.d.window = wref.d.window
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    		Pkg          *types.Package
    		TypesInfo    *types.Info
    		ResultOf     map[*Analyzer]interface{}
    		Report       func(Diagnostic)
    		...
    	}
    
    The Fset, Files, Pkg, and TypesInfo fields provide the syntax trees,
    type information, and source positions for a single package of Go code.
    
    The OtherFiles field provides the names of non-Go
    files such as assembly that are part of this package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    }
    
    // Subtag returns the subtag for which the error occurred.
    func (e ValueError) Subtag() string {
    	return string(e.tag())
    }
    
    // scanner is used to scan BCP 47 tokens, which are separated by _ or -.
    type scanner struct {
    	b     []byte
    	bytes [max99thPercentileSize]byte
    	token []byte
    	start int // start position of the current token
    	end   int // end position of the current token
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/compress/bzip2/bzip2.go

    		// There must be an EOF symbol.
    		return StructuralError("no symbols in input")
    	}
    
    	// A block uses between two and six different Huffman trees.
    	numHuffmanTrees := br.ReadBits(3)
    	if numHuffmanTrees < 2 || numHuffmanTrees > 6 {
    		return StructuralError("invalid number of Huffman trees")
    	}
    
    	// The Huffman tree can switch every 50 symbols so there's a list of
    	// tree indexes telling us which tree to use for each 50 symbol block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. 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)
Back to top