Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 292 for Assignment (0.12 sec)

  1. src/go/types/call.go

    				} else {
    					check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment")
    				}
    			}
    			gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic)
    			params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)}
    			// The type of the argument operand is tsig, which is the type of the LHS in an assignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/go/types/index.go

    		x.mode = variable
    		x.typ = typ.elem
    
    	case *Map:
    		index := check.singleIndex(e)
    		if index == nil {
    			x.mode = invalid
    			return false
    		}
    		var key operand
    		check.expr(nil, &key, index)
    		check.assignment(&key, typ.key, "map index")
    		// ok to continue even if indexing failed - map element type is known
    		x.mode = mapindex
    		x.typ = typ.elem
    		x.expr = e.Orig
    		return false
    
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      return topology;
    }
    
    // Determine execution devices when topology and device assignment are defined.
    // With a topology device coordinate to task and device mapping, device
    // assignment device coordinates can then be mapped to task and device for TPU
    // devices. The device assignment array is also validated.
    //
    // A valid device assignment array must have:
    //  - device coordinates within the topology mesh shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    CreateConvertReadonlyReferenceVariablesToResourceVariablesPass();
    
    // Creates a simple device assignment pass on TF dialect for CoreRT use case.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateSimpleTFDeviceAssignmentPass(
        llvm::StringRef default_device = "cpu");
    
    // Creates a pass to perform device assignment for TF dialect ops that do not
    // have device assignment, by using the device attribute of the function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    // as2func orders OAS2FUNC nodes. It creates temporaries to ensure left-to-right assignment.
    // The caller should order the right-hand side of the assignment before calling order.as2func.
    // It rewrites,
    //
    //	a, b, a = ...
    //
    // as
    //
    //	tmp1, tmp2, tmp3 = ...
    //	a, b, a = tmp1, tmp2, tmp3
    //
    // This is necessary to ensure left to right assignment order.
    func (o *orderState) as2func(n *ir.AssignListStmt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/unify.go

    	}
    	return &unifier{handles, 0, enableInterfaceInference}
    }
    
    // unifyMode controls the behavior of the unifier.
    type unifyMode uint
    
    const (
    	// If assign is set, we are unifying types involved in an assignment:
    	// they may match inexactly at the top, but element types must match
    	// exactly.
    	assign unifyMode = 1 << iota
    
    	// If exact is set, types unify if they are identical (or can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. fastapi/_compat.py

            lenient_issubclass as lenient_issubclass,  # noqa: F401
        )
    
        GetJsonSchemaHandler = Any  # type: ignore[assignment,misc]
        JsonSchemaValue = Dict[str, Any]  # type: ignore[misc]
        CoreSchema = Any  # type: ignore[assignment,misc]
    
        sequence_shapes = {
            SHAPE_LIST,
            SHAPE_SET,
            SHAPE_FROZENSET,
            SHAPE_TUPLE,
            SHAPE_SEQUENCE,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. pkg/maps/maps.go

    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	return maps.Equal(m1, m2)
    }
    
    // Clone returns a copy of the map.
    // The elements are copied using assignment, so this is a shallow clone.
    func Clone[M ~map[K]V, K comparable, V any](m M) M {
    	return maps.Clone(m)
    }
    
    // Values returns the values of the map m.
    // The values will be in an indeterminate order.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt

        fun AnalysisScopeView.findLocalAsObjectOrigin(name: String): ObjectOrigin.FromLocalValue? {
            val local = findLocal(name) ?: return null
            val fromLocalValue = ObjectOrigin.FromLocalValue(local.localValue, local.assignment)
            return fromLocalValue
        }
    
        private
        fun findDataProperty(
            receiverType: DataType,
            name: String
        ): DataProperty? =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/go/types/unify.go

    	}
    	return &unifier{handles, 0, enableInterfaceInference}
    }
    
    // unifyMode controls the behavior of the unifier.
    type unifyMode uint
    
    const (
    	// If assign is set, we are unifying types involved in an assignment:
    	// they may match inexactly at the top, but element types must match
    	// exactly.
    	assign unifyMode = 1 << iota
    
    	// If exact is set, types unify if they are identical (or can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top