Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 822 for assignOp (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    		field.Set(srcValue.Convert(field.Type()))
    		return nil
    	}
    	return fmt.Errorf("couldn't assign/convert %v to %v", srcValue.Type(), field.Type())
    }
    
    // Field puts the value of fieldName, which must be a member of v, into dest,
    // which must be a variable to which this field's value can be assigned.
    func Field(v reflect.Value, fieldName string, dest interface{}) error {
    	field := v.FieldByName(fieldName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/assignments.go

    		// TODO(gri) do we need a new "generic" error code here?
    		check.errorf(x, IncompatibleAssign, "cannot assign %s to %s in %s", x, T, context)
    		x.mode = invalid
    		return
    	}
    
    	if isUntyped(x.typ) {
    		target := T
    		// spec: "If an untyped constant is assigned to a variable of interface
    		// type or the blank identifier, the constant is first converted to type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/ClassGeneratorSuffixRegistry.java

            }
            return suffix;
        }
    
        /**
         * Assigns a suffix to use for generated class names.
         */
        public static String assign(String suffix) {
            if (SUFFIXES.putIfAbsent(suffix, markerForSuffix(suffix)) == null) {
                return suffix;
            }
            int index = 1;
            while (true) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/internal/reflectlite/value.go

    func ValueOf(i any) Value {
    	if i == nil {
    		return Value{}
    	}
    	return unpackEface(i)
    }
    
    // assignTo returns a value v that can be assigned directly to typ.
    // It panics if v is not assignable to typ.
    // For a conversion to an interface type, target is a suggested scratch space to use.
    func (v Value) assignTo(context string, dst *abi.Type, target unsafe.Pointer) Value {
    	// if v.flag&flagMethod != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    Here is an example of a task that consumes the previous service via a property annotated with `@ServiceReference`:
    
    ====
    [source.multi-language-sample,java]
    .Download.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/types.go

    	GetCapacity() (v1.ResourceList, v1.ResourceList, []string)
    	GetWatcherHandler() cache.PluginHandler
    
    	// GetDevices returns information about the devices assigned to pods and containers
    	GetDevices(podUID, containerName string) ResourceDeviceInstances
    
    	// GetAllocatableDevices returns information about all the devices known to the manager
    	GetAllocatableDevices() ResourceDeviceInstances
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/rangefunc/rewrite.go

    	return n
    }
    
    // setPos walks the top structure of x that has no position assigned
    // and assigns it all to have position pos.
    // When setPos encounters a syntax node with a position assigned,
    // setPos does not look inside that node.
    // setPos only needs to handle syntax we create in this package;
    // all other syntax should have positions assigned already.
    func setPos(x syntax.Node, pos syntax.Pos) {
    	if x == nil {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. src/crypto/internal/bigmod/nat.go

    		x.limbs = make([]uint, n)
    		return x
    	}
    	clear(x.limbs)
    	x.limbs = x.limbs[:n]
    	return x
    }
    
    // set assigns x = y, optionally resizing x to the appropriate size.
    func (x *Nat) set(y *Nat) *Nat {
    	x.reset(len(y.limbs))
    	copy(x.limbs, y.limbs)
    	return x
    }
    
    // setBig assigns x = n, optionally resizing n to the appropriate size.
    //
    // The announced length of x is set based on the actual bit size of the input,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      Output var_handle = ops::VarHandleOp(scope.WithOpName("Var_" + id), DT_FLOAT,
                                           TensorShape({}));
      ops::AssignVariableOp assign_op(scope.WithOpName("Assignee_" + id),
                                      var_handle, value_to_write);
      return assign_op.operation.node();
    }
    
    Node* MakeWrite(const Scope& scope, const string& id) {
      return MakeWrite(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top