Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for fieldsV1 (0.26 sec)

  1. tests/joins_test.go

    	if db5.Error != nil {
    		t.Errorf("Should not raise error for join where identical fields in different tables. Error: %s", db5.Error.Error())
    	}
    
    	var users6 []User
    	DB.Joins("inner join pets on pets.user_id = users.id AND pets.name = @Name", user.Pets[0]).Where("users.name = ?", user.Name).First(&users6)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	// BatchJobExpireObject - object type
    	BatchJobExpireObject string = "object"
    	// BatchJobExpireDeleted - delete marker type
    	BatchJobExpireDeleted string = "deleted"
    )
    
    // Validate returns nil if ef has valid fields, validation error otherwise.
    func (ef BatchJobExpireFilter) Validate() error {
    	switch ef.Type {
    	case BatchJobExpireObject:
    	case BatchJobExpireDeleted:
    		if len(ef.Tags) > 0 || len(ef.Metadata) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode.go

    	name string
    	typ  loader.Sym // type descriptor symbol of the function
    }
    
    // methodref holds the relocations from a receiver type symbol to its
    // method. There are three relocations, one for each of the fields in
    // the reflect.method struct: mtyp, ifn, and tfn.
    type methodref struct {
    	m   methodsig
    	src loader.Sym // receiver type symbol
    	r   int        // the index of R_METHODOFF relocations
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation.go

    // It would have been nice to use Go generics to reuse the same validation
    // function for Kind and Name in both types, but generics cannot be used to
    // access common fields in structs.
    
    func validateResourceClaimParametersRef(ref *resource.ResourceClaimParametersReference, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    
    	if ref == nil {
    		return allErrs
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. cmd/api-response.go

    	LastModified string   // time string of format "2006-01-02T15:04:05.000Z"
    	ETag         string   // md5sum of the copied object part.
    }
    
    // Initiator inherit from Owner struct, fields are same
    type Initiator Owner
    
    // Owner - bucket owner/principal
    type Owner struct {
    	ID          string
    	DisplayName string
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/analyzers_test.go

    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return local.AnalysisResult{}, err
    	}
    	return result, err
    }
    
    // Pull just the fields we want to check out of diag.Message
    func extractFields(msgs diag.Messages) []message {
    	result := make([]message, 0)
    	for _, m := range msgs {
    		expMsg := message{
    			messageType: m.Type,
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    		} else {
    			finalMD5Bytes = append(finalMD5Bytes, md5Bytes...)
    		}
    	}
    	s3MD5 := fmt.Sprintf("%s-%d", getMD5Hash(finalMD5Bytes), len(parts))
    	return s3MD5
    }
    
    // Clean unwanted fields from metadata
    func cleanMetadata(metadata map[string]string) map[string]string {
    	// Remove STANDARD StorageClass
    	metadata = removeStandardStorageClass(metadata)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		fi.Metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(objectActualSize, 10)
    	}
    
    	if opts.DataMovement {
    		fi.SetDataMov()
    	}
    
    	// Update all erasure metadata, make sure to not modify fields like
    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    		if partsMetadata[index].IsValid() {
    			partsMetadata[index].Size = fi.Size
    			partsMetadata[index].ModTime = fi.ModTime
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/os/exec/exec.go

    //
    // CommandContext sets the command's Cancel function to invoke the Kill method
    // on its Process, and leaves its WaitDelay unset. The caller may change the
    // cancellation behavior by modifying those fields before starting the command.
    func CommandContext(ctx context.Context, name string, arg ...string) *Cmd {
    	if ctx == nil {
    		panic("nil Context")
    	}
    	cmd := Command(name, arg...)
    	cmd.ctx = ctx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/plive.go

    		clobberPtr(b, v, offset)
    
    	case types.TARRAY:
    		for i := int64(0); i < t.NumElem(); i++ {
    			clobberWalk(b, v, offset+i*t.Elem().Size(), t.Elem())
    		}
    
    	case types.TSTRUCT:
    		for _, t1 := range t.Fields() {
    			clobberWalk(b, v, offset+t1.Offset, t1.Type)
    		}
    
    	default:
    		base.Fatalf("clobberWalk: unexpected type, %v", t)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top