Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for NewBlock (0.14 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/FreeListBlockStore.java

                if (entries.size() > maxBlockEntries) {
                    FreeListBlock newBlock = new FreeListBlock();
                    newBlock.largestInNextBlock = largestInNextBlock;
                    newBlock.nextBlock = nextBlock;
                    newBlock.prev = this;
                    newBlock.next = next;
                    next = newBlock;
    
                    List<FreeListEntry> newBlockEntries = entries.subList(0, entries.size() / 2);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    				s.Fatalf("atomic load not available")
    			}
    			merge = s.f.NewBlock(ssa.BlockPlain)
    			cacheHit := s.f.NewBlock(ssa.BlockPlain)
    			cacheMiss := s.f.NewBlock(ssa.BlockPlain)
    			loopHead := s.f.NewBlock(ssa.BlockPlain)
    			loopBody := s.f.NewBlock(ssa.BlockPlain)
    
    			// Pick right size ops.
    			var mul, and, add, zext ssa.Op
    			if s.config.PtrSize == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html

                {{/* instructions for this source line */ -}}
                <span class=asm>{{"" -}}
                {{range .Instructions -}}
                  {{/* separate when we hit a new basic block */ -}}
                  {{if .NewBlock -}}{{printf " %8s %28s\n" "" "⋮"}}{{end -}}
    
                  {{/* inlined calls leading to this instruction */ -}}
                  {{range .InlinedCalls -}}
                    {{printf " %8s %10s %10s %8s  " "" "" "" "" -}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    // CallExpr beneath an ExprStmt.
    func New(body *ast.BlockStmt, mayReturn func(*ast.CallExpr) bool) *CFG {
    	b := builder{
    		mayReturn: mayReturn,
    		cfg:       new(CFG),
    	}
    	b.current = b.newBlock(KindBody, body)
    	b.stmt(body)
    
    	// Compute liveness (reachability from entry point), breadth-first.
    	q := make([]*Block, 0, len(b.cfg.Blocks))
    	q = append(q, b.cfg.Blocks[0]) // entry point
    	for len(q) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K 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)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy

        @Override
        void withoutLock(ResourceLock lock, Runnable action) {
            action.run()
        }
    
        @Override
        <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory) {
            return factory.create()
        }
    
        @Override
        <T> T whileDisallowingProjectLockChanges(Factory<T> action) {
            return action.create()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java

         */
        <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory);
    
        /**
         * Runs a given {@link Factory} while the specified locks are released and then reacquire the locks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top