Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for pret (2.41 sec)

  1. 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)
  2. src/cmd/compile/internal/wasm/ssa.go

    			getValue32(s, b.Controls[0])
    			s.Prog(wasm.AIf)
    			s.Br(obj.AJMP, b.Succs[0].Block())
    			s.Prog(wasm.AEnd)
    			s.Br(obj.AJMP, b.Succs[1].Block())
    		}
    
    	case ssa.BlockRet:
    		s.Prog(obj.ARET)
    
    	case ssa.BlockExit, ssa.BlockRetJmp:
    
    	case ssa.BlockDefer:
    		p := s.Prog(wasm.AGet)
    		p.From = obj.Addr{Type: obj.TYPE_REG, Reg: wasm.REG_RET0}
    		s.Prog(wasm.AI64Eqz)
    		s.Prog(wasm.AI32Eqz)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/internal/obj/s390x/objz.go

    	p.From.Class = 0
    	p.To.Class = 0
    
    	c := ctxtz{ctxt: ctxt, newprog: newprog}
    
    	// Rewrite BR/BL to symbol as TYPE_BRANCH.
    	switch p.As {
    	case ABR, ABL, obj.ARET, obj.ADUFFZERO, obj.ADUFFCOPY:
    		if p.To.Sym != nil {
    			p.To.Type = obj.TYPE_BRANCH
    		}
    	}
    
    	// Rewrite float constants to values stored in memory unless they are +0.
    	switch p.As {
    	case AFMOVS:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm/obj5.go

    		}
    		source = &p.From
    	} else if p.To.Name == obj.NAME_EXTERN && !p.To.Sym.Local() {
    		source = &p.To
    	} else {
    		return
    	}
    	if p.As == obj.ATEXT || p.As == obj.AFUNCDATA || p.As == obj.ACALL || p.As == obj.ARET || p.As == obj.AJMP {
    		return
    	}
    	if source.Sym.Type == objabi.STLSBSS {
    		return
    	}
    	if source.Type != obj.TYPE_MEM {
    		c.ctxt.Diag("don't know how to handle %v with -dynlink", p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

        if (waiters == 0) {
          // unlink guard from activeGuards
          for (Guard p = activeGuards, pred = null; ; pred = p, p = p.next) {
            if (p == guard) {
              if (pred == null) {
                activeGuards = p.next;
              } else {
                pred.next = p.next;
              }
              p.next = null; // help GC
              break;
            }
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/builtins.go

    		x.typ = NewPointer(universeByte)
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, Typ[String]))
    		}
    
    	case _Assert:
    		// assert(pred) causes a typechecker error if pred is false.
    		// The result of assert is the value of pred if there is no error.
    		// Note: assert is only available in self-test mode.
    		if x.mode != constant_ || !isBoolean(x.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Monitor.java

        if (waiters == 0) {
          // unlink guard from activeGuards
          for (Guard p = activeGuards, pred = null; ; pred = p, p = p.next) {
            if (p == guard) {
              if (pred == null) {
                activeGuards = p.next;
              } else {
                pred.next = p.next;
              }
              p.next = null; // help GC
              break;
            }
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ir/fmt.go

    		}
    
    	case OLABEL:
    		n := n.(*LabelStmt)
    		fmt.Fprintf(s, "%v: ", n.Label)
    	}
    
    	if extrablock {
    		fmt.Fprint(s, "}")
    	}
    }
    
    func exprFmt(n Node, s fmt.State, prec int) {
    	// NOTE(rsc): This code used to support the text-based
    	// which was more aggressive about printing full Go syntax
    	// (for example, an actual loop instead of "for loop").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top