Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for _Assign (0.14 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    		p.syntaxError("expected " + tokstring(tok))
    		p.advance()
    	}
    }
    
    // gotAssign is like got(_Assign) but it also accepts ":="
    // (and reports an error) for better parser error recovery.
    func (p *parser) gotAssign() bool {
    	switch p.tok {
    	case _Define:
    		p.syntaxError("expected =")
    		fallthrough
    	case _Assign:
    		p.next()
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    		dsts[i] = typecheck.AssignExpr(v.Nname.(*ir.Name))
    	}
    
    	n.Results = ascompatee(n.Op(), dsts, n.Results)
    	return n
    }
    
    // check assign type list to
    // an expression list. called in
    //
    //	expr-list = func()
    func ascompatet(nl ir.Nodes, nr *types.Type) []ir.Node {
    	if len(nl) != nr.NumFields() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. .github/workflows/auto-assign-pr-to-author.yml

    name: 'Auto Assign PR to Author'
    on:
      pull_request:
        types: [opened]
    
    permissions: {}
    
    jobs:
      add-reviews:
        permissions:
          contents: read  # for kentaro-m/auto-assign-action to fetch config file
          pull-requests: write  # for kentaro-m/auto-assign-action to assign PR reviewers
        runs-on: ubuntu-latest
        steps:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 381 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      else
        ReplaceExecute(execute_launch, merged_execute_launch, var_access_info);
    
      // Remove the assign ops.
      for (const auto& entry : var_access_info.per_resource_info) {
        const auto& info = entry.getSecond();
        if (info.assign) info.assign->erase();
      }
    
      // Remove the read ops if they have no more uses.
      for (const auto& entry : var_access_info.per_resource_info) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

        private static final String INPUTS_FIELD_NAME = "__inputs__";
        private static final String RULE_FACTORY_FIELD_NAME = "__rule_factory__";
        private static final Token ASSIGN = new Token(Types.ASSIGN, "=", -1, -1);
    
        private final String scriptSourceDescription;
        private final URI location;
        private final SourceUnit sourceUnit;
        private InputReferences inputs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/waypoint.status.yaml.golden

    spec: null
    status:
      conditions:
      - lastTransitionTime: fake
        message: Resource accepted
        reason: Accepted
        status: "True"
        type: Accepted
      - lastTransitionTime: fake
        message: 'Failed to assign to any requested addresses: hostname "namespace.ns.svc.domain.suffix"
          not found'
        reason: AddressNotUsable
        status: "False"
        type: Programmed
      listeners:
      - attachedRoutes: 0
        conditions:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 21:30:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. chainable_api.go

    	tx.Statement.attrs = attrs
    	return
    }
    
    // Assign provide attributes used in [FirstOrCreate] or [FirstOrInit]
    //
    // Assign adds attributes even if the record is found. If using FirstOrCreate, this means that
    // records will be updated even if they are found.
    //
    //	// assign an email regardless of if the record is not found
    //	db.Where(User{Name: "non_existing"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    			if n.Type == nil {
    				return
    			}
    			assert = n
    			targets = append(targets, n.Type)
    		case *ast.TypeSwitchStmt:
    			// retrieve type assertion from type switch's 'assign' field
    			switch t := n.Assign.(type) {
    			case *ast.ExprStmt:
    				assert = t.X.(*ast.TypeAssertExpr)
    			case *ast.AssignStmt:
    				assert = t.Rhs[0].(*ast.TypeAssertExpr)
    			}
    			// gather target types from case clauses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    		switch x.(type) {
    		case *FileSyntax:
    			continue
    		}
    
    		// Do not assign suffix comments to something that starts
    		// on an earlier line, so that in
    		//
    		//	x ( y
    		//		z ) // comment
    		//
    		// we assign the comment to z and not to x ( ... ).
    		if start.Line != end.Line {
    			continue
    		}
    		xcom := x.Comment()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/stmt0.go

    	const c = 0
    	type d int
    	a, b, c /* ERROR "cannot assign" */ , d /* ERROR "cannot assign" */  := 1, "zwei", 3.0, 4
    	var _ int = a // a is of type int
    	var _ string = b // b is of type string
    }
    
    func incdecs() {
    	const c = 3.14
    	c /* ERROR "cannot assign" */ ++
    	s := "foo"
    	s /* ERROR "invalid operation" */ --
    	3.14 /* ERROR "cannot assign" */ ++
    	var (
    		x int
    		y float32
    		z complex128
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top