Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NewBlock (0.15 sec)

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

    	case *ast.ReturnStmt:
    		b.add(s)
    		b.current = b.newBlock(KindUnreachable, s)
    
    	case *ast.BranchStmt:
    		b.branchStmt(s)
    
    	case *ast.BlockStmt:
    		b.stmtList(s.List)
    
    	case *ast.IfStmt:
    		if s.Init != nil {
    			b.stmt(s.Init)
    		}
    		then := b.newBlock(KindIfThen, s)
    		done := b.newBlock(KindIfDone, s)
    		_else := done
    		if s.Else != nil {
    			_else = b.newBlock(KindIfElse, s)
    		}
    		b.add(s.Cond)
    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. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

                } else {
                    newBlock = new DataBlock(value);
                }
                if (newBlock != null) {
                    store.write(newBlock);
                    lookup.indexBlock.put(hashCode, newBlock.getPos());
                }
                store.flush();
            } catch (Exception e) {
                throw new UncheckedIOException(String.format("Could not add entry '%s' to %s.", key, this), e);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		// join, and branches targeting join must instead target
    		// the header, and the other phi functions within header are
    		// adjusted for the additional input.
    
    		test := f.NewBlock(BlockIf)
    		sched := f.NewBlock(BlockPlain)
    
    		test.Pos = bb.Pos
    		sched.Pos = bb.Pos
    
    		// if sp < g.limit { goto sched }
    		// goto header
    
    		cfgtypes := &f.Config.Types
    		pt := cfgtypes.Uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/writebarrier.go

    						mem.Aux = t
    						volatiles = append(volatiles, volatileCopy{val, tmpaddr})
    					}
    				}
    			}
    		}
    
    		// Build branch point.
    		bThen := f.NewBlock(BlockPlain)
    		bEnd := f.NewBlock(b.Kind)
    		bThen.Pos = pos
    		bEnd.Pos = b.Pos
    		b.Pos = pos
    
    		// Set up control flow for end block.
    		bEnd.CopyControls(b)
    		bEnd.Likely = b.Likely
    		for _, e := range b.Succs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func_test.go

    	blocks := make(map[string]*Block)
    	values := make(map[string]*Value)
    	// Create all the blocks and values.
    	for _, bloc := range blocs {
    		b := f.NewBlock(bloc.control.kind)
    		blocks[bloc.name] = b
    		for _, valu := range bloc.valus {
    			// args are filled in the second pass.
    			values[valu.name] = b.NewValue0IA(src.NoXPos, valu.op, valu.t, valu.auxint, valu.aux)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/func.go

    	id := v.ID
    	if v.InCache {
    		f.unCache(v)
    	}
    	*v = Value{}
    	v.ID = id
    	v.argstorage[0] = f.freeValues
    	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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	Flat         string
    	Cumulative   string
    	Instructions []WebListInstruction
    }
    
    // WebListInstruction holds the per-instruction information for HTML source code listing.
    type WebListInstruction struct {
    	NewBlock     bool // Insert marker that indicates separation from previous block
    	Flat         string
    	Cumulative   string
    	Synthetic    bool
    	Address      uint64
    	Disasm       string
    	FileLine     string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

        @Override
        public <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory) {
            if (currentLocks.contains(newLock)) {
                // Already holds the lock
                return factory.create();
            }
    
            List<ResourceLock> newLocks = Collections.singletonList(newLock);
            assertAllLocked(currentLocks);
            releaseLocks(currentLocks);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top