Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pdatablk (0.19 sec)

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

    		} else {
    			writeParallel(&wg, datblk, ctxt, offset, sect.Vaddr, sect.Length)
    		}
    	}
    
    	if Segrodata.Filelen > 0 {
    		writeParallel(&wg, datblk, ctxt, Segrodata.Fileoff, Segrodata.Vaddr, Segrodata.Filelen)
    	}
    
    	if Segrelrodata.Filelen > 0 {
    		writeParallel(&wg, datblk, ctxt, Segrelrodata.Fileoff, Segrelrodata.Vaddr, Segrelrodata.Filelen)
    	}
    
    	writeParallel(&wg, datblk, ctxt, Segdata.Fileoff, Segdata.Vaddr, Segdata.Filelen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 09:22:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. 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)
  3. schema/field_test.go

    		{Name: "Name", DBName: "", BindNames: []string{"Name"}, DataType: "", Tag: `gorm:"-"`, Creatable: false, Updatable: false, Readable: false},
    		{Name: "Name2", DBName: "name2", BindNames: []string{"Name2"}, DataType: schema.String, Tag: `gorm:"->"`, Creatable: false, Updatable: false, Readable: true},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top