- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 181 for _Assign (0.17 sec)
-
src/cmd/compile/internal/syntax/token_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[_EOF-1] _ = x[_Name-2] _ = x[_Literal-3] _ = x[_Operator-4] _ = x[_AssignOp-5] _ = x[_IncOp-6] _ = x[_Assign-7] _ = x[_Define-8] _ = x[_Arrow-9] _ = x[_Star-10] _ = x[_Lparen-11] _ = x[_Lbrack-12] _ = x[_Lbrace-13] _ = x[_Rparen-14] _ = x[_Rbrack-15] _ = x[_Rbrace-16] _ = x[_Comma-17]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 29 02:28:24 UTC 2020 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
// names and literals _Name // name _Literal // literal // operators and operations // _Operator is excluding '*' (_Star) _Operator // op _AssignOp // op= _IncOp // opop _Assign // = _Define // := _Arrow // <- _Star // * // delimiters _Lparen // ( _Lbrack // [ _Lbrace // { _Rparen // ) _Rbrack // ] _Rbrace // } _Comma // ,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 2.6K bytes - Viewed (0) -
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) -
src/cmd/vet/testdata/assign/assign.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file contains tests for the useless-assignment checker. package assign import "math/rand" type ST struct { x int l []int } func (s *ST) SetX(x int, ch chan int) { // Accidental self-assignment; it should be "s.x = x" x = x // ERROR "self-assignment of x to x"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 804 bytes - Viewed (0) -
.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) -
test/assign.go
Robert Griesemer <******@****.***> 1607975635 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1K bytes - Viewed (0) -
src/math/sincos.go
j -= 4 sinSign, cosSign = !sinSign, !cosSign } if j > 1 { cosSign = !cosSign } zz := z * z cos = 1.0 - 0.5*zz + zz*zz*((((((_cos[0]*zz)+_cos[1])*zz+_cos[2])*zz+_cos[3])*zz+_cos[4])*zz+_cos[5]) sin = z + z*zz*((((((_sin[0]*zz)+_sin[1])*zz+_sin[2])*zz+_sin[3])*zz+_sin[4])*zz+_sin[5]) if j == 1 || j == 2 { sin, cos = cos, sin } if cosSign { cos = -cos } if sinSign {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.8K bytes - Viewed (0) -
test/cannotassign.go
true = false // ERROR "cannot assign to .* (\(declared const\))?" var m map[int]struct{ n int } m[0].n = 7 // ERROR "cannot assign to struct field .* in map$" 1 = 7 // ERROR "cannot assign to 1" "hi" = 7 // ERROR `cannot assign to "hi"` nil = 7 // ERROR "cannot assign to nil" len("") = 7 // ERROR `cannot assign to len\(""\)` []int{} = nil // ERROR "cannot assign to \[\]int\{\}" var x int = 7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyExtensions.kt
import java.io.File /** * Assign value: T to a property with assign operator * * @since 8.2 */ fun <T> Property<T>.assign(value: T?) { this.set(value) } /** * Assign value: Provider<T> to a property with assign operator * * @since 8.2 */ fun <T> Property<T>.assign(value: Provider<out T?>) { this.set(value) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc
// returned. auto new_result_types = llvm::to_vector<4>(replicate_op->getResultTypes()); for (auto assign : tail_assign_variable_ops) { return_op->insertOperands(return_op->getNumOperands(), assign.getValue()); new_result_types.insert(new_result_types.end(), num_replicas, assign.getValue().getType()); } OpBuilder builder(replicate_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.8K bytes - Viewed (0)