Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 386 for myfield (0.42 sec)

  1. schema/field.go

    			field.DataType = ""
    			field.IgnoreMigration = true
    		case "migration":
    			field.IgnoreMigration = true
    		}
    	}
    
    	if v, ok := field.TagSettings["->"]; ok {
    		field.Creatable = false
    		field.Updatable = false
    		if strings.ToLower(v) == "false" {
    			field.Readable = false
    		} else {
    			field.Readable = true
    		}
    	}
    
    	if v, ok := field.TagSettings["<-"]; ok {
    		field.Creatable = true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	nxp := src.NoXPos
    	nfield := types.NewField
    	asanGlobal := types.NewStruct([]*types.Field{
    		nfield(nxp, fname("beg"), up),
    		nfield(nxp, fname("size"), up),
    		nfield(nxp, fname("sizeWithRedzone"), up),
    		nfield(nxp, fname("name"), up),
    		nfield(nxp, fname("moduleName"), up),
    		nfield(nxp, fname("hasDynamicInit"), up),
    		nfield(nxp, fname("sourceLocation"), up),
    		nfield(nxp, fname("odrIndicator"), up),
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/field.go

    package ppc64asm
    
    import (
    	"fmt"
    	"strings"
    )
    
    // A BitField is a bit-field in a 32-bit word.
    // Bits are counted from 0 from the MSB to 31 as the LSB.
    type BitField struct {
    	Offs uint8 // the offset of the left-most bit.
    	Bits uint8 // length in bits.
    	// This instruction word holding this field.
    	// It is always 0 for ISA < 3.1 instructions. It is
    	// in decoding order. (0 == prefix, 1 == suffix on ISA 3.1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. schema/relationship.go

    	PrimaryKey    *Field
    	PrimaryValue  string
    	ForeignKey    *Field
    	OwnPrimaryKey bool
    }
    
    func (schema *Schema) parseRelation(field *Field) *Relationship {
    	var (
    		err        error
    		fieldValue = reflect.New(field.IndirectFieldType).Interface()
    		relation   = &Relationship{
    			Name:        field.Name,
    			Field:       field,
    			Schema:      schema,
    			foreignKeys: toColumns(field.TagSettings["FOREIGNKEY"]),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. migrator.go

    	// Columns
    	AddColumn(dst interface{}, field string) error
    	DropColumn(dst interface{}, field string) error
    	AlterColumn(dst interface{}, field string) error
    	MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error
    	// MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn.
    	MigrateColumnUnique(dst interface{}, field *schema.Field, columnType ColumnType) error
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/selection.go

    // describes the kind of the final (explicit) operation; all the
    // previous (implicit) operations are always field selections.
    // Each element of Indices specifies an implicit field (a, b, c)
    // by its index in the struct type of the field selection operand.
    //
    // For a FieldVal operation, the final selection refers to the field
    // specified by Selection.Obj.
    //
    // For a MethodVal operation, the final selection refers to a method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/compiler_internal.go

    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/alg.go

    	a := AlgType(t)
    	return a != ANOEQ && a != ANOALG
    }
    
    // IncomparableField returns an incomparable Field of struct Type t, if any.
    func IncomparableField(t *Type) *Field {
    	for _, f := range t.Fields() {
    		if !IsComparable(f.Type) {
    			return f
    		}
    	}
    	return nil
    }
    
    // IsPaddedField reports whether the i'th field of struct type t is followed
    // by padding.
    func IsPaddedField(t *Type, i int) bool {
    	if !t.IsStruct() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. tests/non_std_test.go

    	DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    	animal.Name = "amazing horse"
    	DB.Save(&animal)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testgodefs/testdata/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    // Test that the struct field in anonunion.go was promoted.
    var v1 T
    var v2 = v1.L
    
    // Test that P, Q, and R all point to byte.
    var v3 = Issue8478{P: (*byte)(nil), Q: (**byte)(nil), R: (***byte)(nil)}
    
    // Test that N, A and B are fully defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top