Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 356 for checkDep (0.11 sec)

  1. src/go/types/const.go

    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos token.Pos) {
    	assert(x.mode == constant_)
    
    	if x.val.Kind() == constant.Unknown {
    		// TODO(gri) We should report exactly what went wrong. At the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/cgocheck.go

    			}
    			src = add(src, at.Elem.Size_)
    			skipped := off
    			if skipped > at.Elem.Size_ {
    				skipped = at.Elem.Size_
    			}
    			checked := at.Elem.Size_ - skipped
    			off -= skipped
    			if size <= checked {
    				return
    			}
    			size -= checked
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(typ))
    		for _, f := range st.Fields {
    			if off < f.Typ.Size_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

                        div.append($("<label>", {for: id}).text(title));
                        var checkbox = $("<input>", {type: "checkbox", id: id, checked: true});
                        div.append(checkbox);
                        checkbox.change(function () {
                            if (checkbox.is(':checked')) {
                                $("." + id).show();
                            } else {
                                $("." + id).hide();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

    int OpView::NumOutputs() const { return output_args_.size(); }
    
    ArgView OpView::OnlyInput() const {
      CHECK_EQ(input_args_.size(), 1);  // Crash OK
      return input_args_.front();
    }
    
    ArgView OpView::OnlyOutput() const {
      CHECK_EQ(output_args_.size(), 1);  // Crash OK
      return output_args_.front();
    }
    
    string OpView::FunctionName() const { return op_.name(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/const.go

    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos syntax.Pos) {
    	assert(x.mode == constant_)
    
    	if x.val.Kind() == constant.Unknown {
    		// TODO(gri) We should report exactly what went wrong. At the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationRunner.java

         * Runtime exceptions are rethrown as is.
         * Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p>
         */
        void run(RunnableBuildOperation buildOperation);
    
        /**
         * Calls the given build operation, returns the result.
         *
         * <p>Rethrows any exception thrown by the action.
         * Runtime exceptions are rethrown as is.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/go/types/typeparam.go

    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typeparam.go

    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/list.go

    	buf.WriteString("<input ")
    	if x.Checked {
    		buf.WriteString(`checked="" `)
    	}
    	buf.WriteString(`disabled="" type="checkbox">`)
    }
    
    func (x *Task) printMarkdown(buf *bytes.Buffer) {
    	x.PrintText(buf)
    }
    
    func (x *Task) PrintText(buf *bytes.Buffer) {
    	buf.WriteByte('[')
    	if x.Checked {
    		buf.WriteByte('x')
    	} else {
    		buf.WriteByte(' ')
    	}
    	buf.WriteByte(']')
    	buf.WriteByte(' ')
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/go/types/return.go

    		}
    	}
    
    	return false
    }
    
    func (check *Checker) isTerminatingList(list []ast.Stmt, label string) bool {
    	// trailing empty statements are permitted - skip them
    	for i := len(list) - 1; i >= 0; i-- {
    		if _, ok := list[i].(*ast.EmptyStmt); !ok {
    			return check.isTerminating(list[i], label)
    		}
    	}
    	return false // all statements are empty
    }
    
    func (check *Checker) isTerminatingSwitch(body *ast.BlockStmt, label string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top