Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 996 for KIND (0.27 sec)

  1. schema/schema.go

    	modelType := reflect.ValueOf(dest).Type()
    	if modelType.Kind() == reflect.Ptr {
    		modelType = modelType.Elem()
    	}
    
    	if modelType.Kind() != reflect.Struct {
    		if modelType.Kind() == reflect.Interface {
    			modelType = reflect.Indirect(reflect.ValueOf(dest)).Elem().Type()
    		}
    
    		for modelType.Kind() == reflect.Slice || modelType.Kind() == reflect.Array || modelType.Kind() == reflect.Ptr {
    			modelType = modelType.Elem()
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. api/go1.21.txt

    pkg log/slog, const KindAny Kind #56345
    pkg log/slog, const KindBool = 1 #56345
    pkg log/slog, const KindBool Kind #56345
    pkg log/slog, const KindDuration = 2 #56345
    pkg log/slog, const KindDuration Kind #56345
    pkg log/slog, const KindFloat64 = 3 #56345
    pkg log/slog, const KindFloat64 Kind #56345
    pkg log/slog, const KindGroup = 8 #56345
    pkg log/slog, const KindGroup Kind #56345
    pkg log/slog, const KindInt64 = 4 #56345
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. statement.go

    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    				switch destValue.Kind() {
    				case reflect.Struct:
    					stmt.AddError(field.Set(stmt.Context, destValue, value))
    				default:
    					stmt.AddError(ErrInvalidData)
    				}
    			}
    
    			switch stmt.ReflectValue.Kind() {
    			case reflect.Slice, reflect.Array:
    				if len(fromCallbacks) > 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name         string
    		Kind         string
    		ProfileRefer uint
    	}
    
    	type User struct {
    		gorm.Model
    		Profiles []Profile `gorm:"many2many:user_profiles;foreignKey:Refer,Kind;joinForeignKey:UserRefer,Kind;References:ProfileRefer,Kind;joinReferences:ProfileR,Kind"`
    		Kind     string
    		Refer    uint
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. callbacks/associations.go

    								}
    							}
    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    					if !isPtr {
    						fieldType = reflect.PointerTo(fieldType)
    					}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    func newEncryptReader(ctx context.Context, content io.Reader, kind crypto.Type, keyID string, key []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) (io.Reader, crypto.ObjectKey, error) {
    	objectEncryptionKey, err := newEncryptMetadata(ctx, kind, keyID, key, bucket, object, metadata, cryptoCtx)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		// Verify if the underlying error is signature mismatch.
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	etag := partInfo.ETag
    	if kind, encrypted := crypto.IsEncrypted(mi.UserDefined); encrypted {
    		switch kind {
    		case crypto.S3KMS:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, mi.KMSKeyID())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. association.go

    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    			switch rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() > 0 {
    					association.Error = association.Relationship.Field.Set(association.DB.Statement.Context, source, rv.Index(0).Addr().Interface())
    
    					if association.Relationship.Field.FieldType.Kind() == reflect.Struct {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. scan.go

    			reflectValue = db.Statement.ReflectValue
    		)
    
    		if reflectValue.Kind() == reflect.Interface {
    			reflectValue = reflectValue.Elem()
    		}
    
    		reflectValueType := reflectValue.Type()
    		switch reflectValueType.Kind() {
    		case reflect.Array, reflect.Slice:
    			reflectValueType = reflectValueType.Elem()
    		}
    		isPtr := reflectValueType.Kind() == reflect.Ptr
    		if isPtr {
    			reflectValueType = reflectValueType.Elem()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. LICENSES/vendor/github.com/containerd/containerd/api/LICENSE

          agreed to in writing, Licensor provides the Work (and each
          Contributor provides its Contributions) on an "AS IS" BASIS,
          WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
          implied, including, without limitation, any warranties or conditions
          of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Sun Sep 22 18:50:45 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top