Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 691 for assign (0.23 sec)

  1. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    to time. No one other than the Agreement Steward has the right to modify this
    Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse
    Foundation may assign the responsibility to serve as the Agreement Steward
    to a suitable separate entity. Each new version of the Agreement will be given
    a distinguishing version number. The Program (including Contributions) may
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Sep 17 05:50:12 GMT 2018
    - 11.1K bytes
    - Viewed (0)
  2. callbacks/preload.go

    			fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem)
    		}
    
    		datas, ok := identityMap[utils.ToStringKey(fieldValues...)]
    		if !ok {
    			return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface())
    		}
    
    		for _, data := range datas {
    			reflectFieldValue := rel.Field.ReflectValueOf(tx.Statement.Context, data)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. association.go

    	Dest   reflect.Value
    }
    
    func (association *Association) saveAssociation(clear bool, values ...interface{}) {
    	var (
    		reflectValue = association.DB.Statement.ReflectValue
    		assignBacks  []assignBack // assign association values back to arguments after save
    	)
    
    	appendToRelations := func(source, rv reflect.Value, clear bool) {
    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  4. tests/scanner_valuer_test.go

    	}
    
    	if tx.Error != nil {
    		t.Errorf("Should not raise any error, but got %v", tx.Error)
    	}
    
    	AssertObjEqual(t, result, data, "Name", "Gender", "Age")
    
    	if err := DB.Where(data).Assign(ScannerValuerStruct{Age: sql.NullInt64{Int64: 18, Valid: true}}).FirstOrCreate(&result).Error; err != nil {
    		t.Errorf("Should not raise any error, but got %v", err)
    	}
    
    	if result.Age.Int64 != 18 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    		// Initialize erasure code format on disks
    		format, err = initFormatErasure(GlobalContext, storageDisks, setCount, setDriveCount, deploymentID, sErrs)
    		if err != nil {
    			return nil, nil, err
    		}
    
    		// Assign globalDeploymentID() on first run for the
    		// minio server managing the first disk
    		globalDeploymentIDPtr.Store(&format.ID)
    		return storageDisks, format, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test_util.cc

      TFE_Execute(op, &var_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_DeleteOp(op);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      CHECK_EQ(1, num_retvals);
    
      // Assign 'value' to it.
      op = TFE_NewOp(ctx, "AssignVariableOp", status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
      TFE_OpAddInput(op, var_handle, status);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  7. internal/logger/target/http/http.go

    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// If this webhook is being re-configured we will
    	// assign the new webhook target to this field.
    	// The Send() method will then re-direct entries
    	// to the new target when the current one
    	// has been set to status "statusClosed".
    	// Once the glogal target slice has been migrated
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

      * If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA](https://code.google.com/legal/corporate-cla-v1.0.html).
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.OVERLOAD_RESOLUTION_AMBIGUITY,
                Errors.NONE_APPLICABLE,
                Errors.CANNOT_COMPLETE_RESOLVE,
                Errors.UNRESOLVED_REFERENCE_WRONG_RECEIVER,
                Errors.ASSIGN_OPERATOR_AMBIGUITY,
                Errors.ITERATOR_AMBIGUITY,
            )
    
            val diagnosticWithResolvedCallsAtPosition2 = setOf(
                Errors.COMPONENT_FUNCTION_AMBIGUITY,
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. cmd/api-router.go

    // `traceHdrsS3HFlag`, otherwise both headers and body will be traced, causing
    // high memory usage!
    func s3APIMiddleware(f http.HandlerFunc, flags ...s3HFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags s3HFlag
    	for _, flag := range flags {
    		handlerFlags |= flag
    	}
    
    	// Get name of the handler using reflection.
    	handlerName := getHandlerName(f, "objectAPIHandlers")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top