Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for goio (0.17 sec)

  1. src/runtime/mgc.go

    		// previous termination check, so there may be more
    		// work to do. Keep going. It's possible the
    		// transition condition became true again during the
    		// ragged barrier, so re-check it.
    		semrelease(&worldsema)
    		goto top
    	}
    
    	// There was no global work, no local work, and no Ps
    	// communicated work since we took markDoneSema. Therefore
    	// there are no grey objects and no more objects can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    	}
    
    	// Is the target up-to-date?
    	var gofiles, sfiles []string
    	stale := rebuildall
    	files = filter(files, func(p string) bool {
    		for _, suf := range depsuffix {
    			if strings.HasSuffix(p, suf) {
    				goto ok
    			}
    		}
    		return false
    	ok:
    		t := mtime(p)
    		if !t.IsZero() && !strings.HasSuffix(p, ".a") && !shouldbuild(p, pkg) {
    			return false
    		}
    		if strings.HasSuffix(p, ".go") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // system stack).
    func doRecordGoroutineProfile(gp1 *g, pcbuf []uintptr) {
    	if readgstatus(gp1) == _Grunning {
    		print("doRecordGoroutineProfile gp1=", gp1.goid, "\n")
    		throw("cannot read stack of running goroutine")
    	}
    
    	offset := int(goroutineProfile.offset.Add(1)) - 1
    
    	if offset >= len(goroutineProfile.records) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    			}
    		}
    		if keyword == _For {
    			if p.tok != _Semi {
    				if p.tok == _Lbrace {
    					p.syntaxError("expected for loop condition")
    					goto done
    				}
    				condStmt = p.simpleStmt(nil, 0 /* range not permitted */)
    			}
    			p.want(_Semi)
    			if p.tok != _Lbrace {
    				post = p.simpleStmt(nil, 0 /* range not permitted */)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    func mergePoint(b *Block, a ...*Value) *Block {
    	// Walk backward from b looking for one of the a's blocks.
    
    	// Max distance
    	d := 100
    
    	for d > 0 {
    		for _, x := range a {
    			if b == x.Block {
    				goto found
    			}
    		}
    		if len(b.Preds) > 1 {
    			// Don't know which way to go back. Abort.
    			return nil
    		}
    		b = b.Preds[0].b
    		d--
    	}
    	return nil // too far away
    found:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/load.go

    func scanDir(modroot string, dir string, tags map[string]bool) (imports_, testImports []string, err error) {
    	if ip, mierr := modindex.GetPackage(modroot, dir); mierr == nil {
    		imports_, testImports, err = ip.ScanDir(tags)
    		goto Happy
    	} else if !errors.Is(mierr, modindex.ErrNotIndexed) {
    		return nil, nil, mierr
    	}
    
    	imports_, testImports, err = imports.ScanDir(dir, tags)
    Happy:
    
    	filter := func(x []string) []string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    			*c = h.pages.allocToCache()
    			unlock(&h.lock)
    		}
    
    		// Try to allocate from the cache.
    		base, scav = c.alloc(npages)
    		if base != 0 {
    			s = h.tryAllocMSpan()
    			if s != nil {
    				goto HaveSpan
    			}
    			// We have a base but no mspan, so we need
    			// to lock the heap.
    		}
    	}
    
    	// For one reason or another, we couldn't get the
    	// whole job done without the heap lock.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top