Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,105 for assignOp (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go

    	"golang.org/x/tools/go/ast/inspector"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name:     "assign",
    	Doc:      analysisutil.MustExtractDoc(doc, "assign"),
    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/assign",
    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    	}
    	return nn
    }
    
    // check assign expression list to
    // an expression list. called in
    //
    //	expr-list = expr-list
    func ascompatee(op ir.Op, nl, nr []ir.Node) []ir.Node {
    	// cannot happen: should have been rejected during type checking
    	if len(nl) != len(nr) {
    		base.Fatalf("assignment operands mismatch: %+v / %+v", ir.Nodes(nl), ir.Nodes(nr))
    	}
    
    	var assigned ir.NameSet
    	var memWrite, deferResultWrite bool
    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. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

        }
        info.execute_output_index = execute_output.index();
        info.assign = assign_op;
        if (!last_assign || last_assign->isBeforeInBlock(assign_op)) {
          last_assign = assign_op;
        }
        VLOG(2) << "Adding assign op to merge candidates: "
                << debugString(assign_op);
        all_assigns.insert(assign_op);
        output_merged[execute_output.index()] = true;
      }
    
      if (last_assign != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. .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)
  5. src/reflect/abi.go

    		panic("unknown type kind")
    	}
    	panic("unhandled register assignment path")
    }
    
    // assignIntN assigns n values to registers, each "size" bytes large,
    // from the data at [offset, offset+n*size) in memory. Each value at
    // [offset+i*size, offset+(i+1)*size) for i < n is assigned to the
    // next n integer registers.
    //
    // Bit i in ptrMap indicates whether the i'th value is a pointer.
    // n must be <= 8.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/sparsetree.go

    			if c != c0 {
    				s += " "
    			}
    			s += t.treestructure1(c, i+1)
    		}
    		s += ")"
    	}
    	return s
    }
    
    // numberBlock assigns entry and exit numbers for b and b's
    // children in an in-order walk from a gappy sequence, where n
    // is the first number not yet assigned or reserved. N should
    // be larger than zero. For each entry and exit number, the
    // values one larger and smaller are reserved to indicate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc

          new_replicate_op->getResults().take_front(old_num_results));
    
      // Move assign ops after replicate and use the output of first replica.
      for (auto indexed_assign : llvm::enumerate(tail_assign_variable_ops)) {
        auto assign_op = indexed_assign.value();
        auto index = indexed_assign.index();
        assign_op->moveAfter(new_replicate_op);
        assign_op->setOperand(
            1, new_replicate_op->getResult(old_num_results + num_replicas * index));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/cc/tools/freeze_saved_model_test.cc

        } else {
          read_var = ops::Variable(scope.WithOpName("var"), {}, DataType::DT_FLOAT);
          Output assign = ops::Assign(scope.WithOpName("assign"), read_var, a);
          Output var_1 =
              ops::Variable(scope.WithOpName("var_1"), {}, DataType::DT_FLOAT);
          Output assign_1 = ops::Assign(scope.WithOpName("assign_1"), var_1, a);
        }
    
        Output c = ops::Mul(scope.WithOpName("c"), a, read_var);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  9. tests/upsert_test.go

    		t.Errorf("user should be found and updated with assigned attrs")
    	}
    
    	DB.Where(&User{Name: "find or create"}).Find(&user7)
    	if user7.Name != "find or create" || user7.ID == 0 || user7.Age != 44 {
    		t.Errorf("user should be found and updated with assigned attrs")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  10. finisher_api.go

    		}
    
    		// initialize with attrs, conds
    		if len(db.Statement.assigns) > 0 {
    			result.assignInterfacesToValue(db.Statement.assigns...)
    		}
    
    		return tx.Create(dest)
    	} else if len(db.Statement.assigns) > 0 {
    		exprs := tx.Statement.BuildCondition(db.Statement.assigns[0], db.Statement.assigns[1:]...)
    		assigns := map[string]interface{}{}
    		for i := 0; i < len(exprs); i++ {
    			expr := exprs[i]
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top