Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for pret (0.03 sec)

  1. src/cmd/compile/internal/types2/initorder.go

    	isDependency()
    }
    
    // A graphNode represents a node in the object dependency graph.
    // Each node p in n.pred represents an edge p->n, and each node
    // s in n.succ represents an edge n->s; with a->b indicating that
    // a depends on b.
    type graphNode struct {
    	obj        dependency // object represented by this node
    	pred, succ nodeSet    // consumers and dependencies of this node (lazily initialized)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func mapaccess2_fast32(mapType *byte, hmap map[any]any, key uint32) (val *any, pres bool)
    func mapaccess2_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any, pres bool)
    func mapaccess2_faststr(mapType *byte, hmap map[any]any, key string) (val *any, pres bool)
    func mapaccess2_fat(mapType *byte, hmap map[any]any, key *any, zero *byte) (val *any, pres bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins_test.go

    	{"StringData", `_ = unsafe.StringData("foo")`, `func(string) *byte`},
    
    	{"assert", `assert(true)`, `invalid type`},                                    // constant
    	{"assert", `type B bool; const pred B = 1 < 2; assert(pred)`, `invalid type`}, // constant
    
    	// no tests for trace since it produces output as a side-effect
    }
    
    func TestBuiltinSignatures(t *testing.T) {
    	DefPredeclaredTestFuncs()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/check.go

    			}
    		case BlockRet:
    			if len(b.Succs) != 0 {
    				f.Fatalf("ret block %s has successors", b)
    			}
    			if b.NumControls() != 1 {
    				f.Fatalf("ret block %s has nil control", b)
    			}
    			if !b.Controls[0].Type.IsMemory() {
    				f.Fatalf("ret block %s has non-memory control value %s", b, b.Controls[0].LongString())
    			}
    		case BlockRetJmp:
    			if len(b.Succs) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/obj9.go

    				p.Link = q
    				p = q
    			}
    			prev := p
    			if autosize != 0 {
    				q = c.newprog()
    				q.As = AADD
    				q.Pos = p.Pos
    				q.From.Type = obj.TYPE_CONST
    				q.From.Offset = int64(autosize)
    				q.To.Type = obj.TYPE_REG
    				q.To.Reg = REGSP
    				q.Spadj = -autosize
    
    				q.Link = p.Link
    				prev.Link = q
    				prev = q
    			}
    
    			q1 = c.newprog()
    			q1.As = ABR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/gofmt/gofmt.go

    	prev      <-chan *reporterState // 1-buffered
    }
    
    // newSequencer returns a sequencer that allows concurrent tasks up to maxWeight
    // and writes tasks' output to out and err.
    func newSequencer(maxWeight int64, out, err io.Writer) *sequencer {
    	sem := semaphore.NewWeighted(maxWeight)
    	prev := make(chan *reporterState, 1)
    	prev <- &reporterState{out: out, err: err}
    	return &sequencer{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/edit.go

    			// the conflict. Find the next-lowest candidate and apply it.
    			rejectedRoot[m] = true
    			prev := m
    			for {
    				prev, err = previousVersion(ctx, prev)
    				if gover.ModCompare(m.Path, m.Version, origV) > 0 && (gover.ModCompare(m.Path, prev.Version, origV) < 0 || err != nil) {
    					// previousVersion skipped over origV. Insert it into the order.
    					prev.Version = origV
    				} else if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/envcmd/env.go

    	prev := make(map[string]int)
    	for l, line := range lines {
    		if key := lineToKey(line); key != "" {
    			if p, ok := prev[key]; ok {
    				lines[p] = ""
    			}
    			prev[key] = l
    		}
    	}
    
    	// Add variables (go env -w). Update existing lines in file if present, add to end otherwise.
    	for key, val := range add {
    		if p, ok := prev[key]; ok {
    			lines[p] = key + "=" + val + "\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    // These are the portable opcodes.
    const (
    	AXXX As = iota
    	ACALL
    	ADUFFCOPY
    	ADUFFZERO
    	AEND
    	AFUNCDATA
    	AJMP
    	ANOP
    	APCALIGN
    	APCALIGNMAX // currently x86, amd64 and arm64
    	APCDATA
    	ARET
    	AGETCALLERPC
    	ATEXT
    	AUNDEF
    	A_ARCHSPECIFIC
    )
    
    // Each architecture is allotted a distinct subspace of opcode values
    // for declaring its arch-specific opcodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/clean/clean.go

    		if dir != "off" {
    			f, err := lockedfile.Edit(filepath.Join(dir, "testexpire.txt"))
    			if err == nil {
    				now := time.Now().UnixNano()
    				buf, _ := io.ReadAll(f)
    				prev, _ := strconv.ParseInt(strings.TrimSpace(string(buf)), 10, 64)
    				if now > prev {
    					if err = f.Truncate(0); err == nil {
    						if _, err = f.Seek(0, 0); err == nil {
    							_, err = fmt.Fprintf(f, "%d\n", now)
    						}
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top