Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pdatablk (0.26 sec)

  1. src/cmd/link/internal/ld/data.go

    	}
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, syms, addr, size, zeros[:])
    }
    
    func pdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) {
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.pdata, addr, size, zeros[:])
    }
    
    func xdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) {
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.xdata, addr, size, zeros[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. schema/schema_test.go

    					Tag: `gorm:"primarykey"`, Creatable: true, Updatable: true, Readable: true, PrimaryKey: true, Size: 64,
    				},
    				{
    					Name: "LanguageCode", DBName: "language_code", BindNames: []string{"LanguageCode"}, DataType: schema.String,
    					Tag: `gorm:"primarykey"`, Creatable: true, Updatable: true, Readable: true, PrimaryKey: true,
    				},
    			}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. schema/field.go

    		val = strings.ToLower(strings.TrimSpace(val))
    		switch val {
    		case "-":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    			field.DataType = ""
    		case "all":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    			field.DataType = ""
    			field.IgnoreMigration = true
    		case "migration":
    			field.IgnoreMigration = true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. schema/schema.go

    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    			if v, ok := schema.FieldsByDBName[field.DBName]; !ok || ((field.Creatable || field.Updatable || field.Readable) && len(field.BindNames) < len(v.BindNames)) {
    				if _, ok := schema.FieldsByDBName[field.DBName]; !ok {
    					schema.DBNames = append(schema.DBNames, field.DBName)
    				}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. schema/schema_helper_test.go

    		if !ok {
    			t.Errorf("schema %v failed to look up field with name %v", s, f.Name)
    		} else {
    			tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings")
    
    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/internal/trace/mud.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package trace
    
    import (
    	"cmp"
    	"math"
    	"slices"
    )
    
    // mud is an updatable mutator utilization distribution.
    //
    // This is a continuous distribution of duration over mutator
    // utilization. For example, the integral from mutator utilization a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. callbacks/update.go

    									value = stmt.DB.NowFunc().Unix()
    								} else {
    									value = stmt.DB.NowFunc()
    								}
    								isZero = false
    							}
    
    							if (ok || !isZero) && field.Updatable {
    								set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: value})
    								assignField := field
    								if isDiffSchema {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. schema/relationship.go

    		}
    	} else {
    		relation.JoinTable.Relationships.Relations[relRefName].References = []*Reference{}
    	}
    
    	// build references
    	for _, f := range relation.JoinTable.Fields {
    		if f.Creatable || f.Readable || f.Updatable {
    			// use same data type for foreign keys
    			if copyableDataType(fieldsMap[f.Name].DataType) {
    				f.DataType = fieldsMap[f.Name].DataType
    			}
    			f.GORMDataType = fieldsMap[f.Name].GORMDataType
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. statement.go

    			name := field.DBName
    			if name == "" {
    				name = field.Name
    			}
    
    			if requireCreate && !field.Creatable {
    				results[name] = false
    			} else if requireUpdate && !field.Updatable {
    				results[name] = false
    			}
    		}
    	}
    
    	return results, !notRestricted && len(stmt.Selects) > 0
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top