Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,856 for block1 (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    // newBlock appends a new unconnected basic block to b.cfg's block
    // slice and returns it.
    // It does not automatically become the current block.
    // comment is an optional string for more readable debugging output.
    func (b *builder) newBlock(kind BlockKind, stmt ast.Stmt) *Block {
    	g := b.cfg
    	block := &Block{
    		Index: int32(len(g.Blocks)),
    		Kind:  kind,
    		Stmt:  stmt,
    	}
    	block.Succs = block.succs2[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    	f.freeValues = v
    }
    
    // NewBlock allocates a new Block of the given kind and places it at the end of f.Blocks.
    func (f *Func) NewBlock(kind BlockKind) *Block {
    	var b *Block
    	if f.freeBlocks != nil {
    		b = f.freeBlocks
    		f.freeBlocks = b.succstorage[0].b
    		b.succstorage[0].b = nil
    	} else {
    		ID := f.bid.get()
    		if int(ID) < len(f.Cache.blocks) {
    			b = &f.Cache.blocks[ID]
    			b.ID = ID
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    			}
    			c := b.Preds[0].Block()
    			d := b.Preds[1].Block()
    
    			// Find their common predecessor block (the one that branches based on wb on/off).
    			// It might be a diamond pattern, or one of the blocks in the diamond pattern might
    			// be missing.
    			var decisionBlock *ssa.Block
    			if len(c.Preds) == 1 && c.Preds[0].Block() == d {
    				decisionBlock = d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/internal/syscall/execenv/execenv_windows.go

    		return syscall.Environ(), nil
    	}
    	var blockp *uint16
    	err = windows.CreateEnvironmentBlock(&blockp, sys.Token, false)
    	if err != nil {
    		return nil, err
    	}
    	defer windows.DestroyEnvironmentBlock(blockp)
    
    	const size = unsafe.Sizeof(*blockp)
    	for *blockp != 0 { // environment block ends with empty string
    		// find NUL terminator
    		end := unsafe.Add(unsafe.Pointer(blockp), size)
    		for *(*uint16)(end) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/lca_test.go

    	testLCAgen(t, genMaxPredValue, 100)
    }
    
    // Simple implementation of LCA to compare against.
    type lcaEasy struct {
    	parent []*Block
    }
    
    func makeLCAeasy(f *Func) *lcaEasy {
    	return &lcaEasy{parent: dominators(f)}
    }
    
    func (lca *lcaEasy) find(a, b *Block) *Block {
    	da := lca.depth(a)
    	db := lca.depth(b)
    	for da > db {
    		da--
    		a = lca.parent[a.ID]
    	}
    	for da < db {
    		db--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 01 14:25:12 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

                                      TF_Status* status) {
      absl::MutexLock lock(&mu_);
      if (block->timestamp == 0) {
        // The block was evicted from another thread. Allow it to remain evicted.
        return TF_SetStatus(status, TF_OK, "");
      }
      if (block->lru_iterator != lru_list_.begin()) {
        lru_list_.erase(block->lru_iterator);
        lru_list_.push_front(key);
        block->lru_iterator = lru_list_.begin();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  7. JavadocStyleGuide.md

     */
    ```
    
    ## 1.3 Code blocks and snippets
    
    `<pre>` is the default HTML tag for preformatted text.
    All code blocks and multi-line snippets should be wrapped in `<pre>{@code ...... }</pre>` at minimum.
    
    Code blocks can be optionally formatted and highlighted using [`highlight.js`](https://highlightjs.org/) with the `<code>` tag.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	// return block, in which v is never "used".
    	seen := make(map[*cfg.Block]bool)
    	var search func(blocks []*cfg.Block) *ast.ReturnStmt
    	search = func(blocks []*cfg.Block) *ast.ReturnStmt {
    		for _, b := range blocks {
    			if seen[b] {
    				continue
    			}
    			seen[b] = true
    
    			// Prune the search if the block uses v.
    			if blockUses(pass, v, b) {
    				continue
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		// If there are no direct-only or indirect-only blocks, a new block may
    		// be inserted after the last require line or block.
    		lastRequireIndex = -1
    
    		// If there's only one require line or block, and it's uncommented,
    		// we'll move its requirements to the direct-only or indirect-only blocks.
    		requireLineOrBlockCount = 0
    
    		// Track the block each requirement belongs to (if any) so we can
    		// move them later.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/likelyadjust.go

    package ssa
    
    import (
    	"fmt"
    )
    
    type loop struct {
    	header *Block // The header node of this (reducible) loop
    	outer  *loop  // loop containing this loop
    
    	// By default, children, exits, and depth are not initialized.
    	children []*loop  // loops nested directly within this loop. Initialized by assembleChildren().
    	exits    []*Block // exits records blocks reached by exits from this loop. Initialized by findExits().
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
Back to top