Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,429 for Id (0.06 sec)

  1. schema/relationship_test.go

    		References: []Reference{
    			{"ID", "User", "UserReferID", "user_profile", "", true},
    			{"ID", "Profile", "ProfileRefer", "user_profile", "", false},
    		},
    	})
    }
    
    func TestMany2ManyWithMultiPrimaryKeys(t *testing.T) {
    	type Tag struct {
    		ID     uint   `gorm:"primary_key"`
    		Locale string `gorm:"primary_key"`
    		Value  string
    	}
    
    	type Blog struct {
    		ID         uint   `gorm:"primary_key"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/schedule.go

    			i := sort.Search(len(edges), func(i int) bool {
    				return edges[i].x.ID >= v.ID
    			})
    			j := sort.Search(len(edges), func(i int) bool {
    				return edges[i].x.ID > v.ID
    			})
    			// Decrement inEdges for each target of edges from v.
    			for _, e := range edges[i:j] {
    				inEdges[e.y.ID]--
    				if inEdges[e.y.ID] == 0 {
    					heap.Push(priq, e.y)
    				}
    			}
    		}
    		if len(b.Values) != nv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    	return err
    }
    
    // StartFromSource starts the batch replication job from remote source, resumes if there was a pending job via "job.ID"
    func (r *BatchJobReplicateV1) StartFromSource(ctx context.Context, api ObjectLayer, job BatchJobRequest) error {
    	ri := &batchJobInfo{
    		JobID:     job.ID,
    		JobType:   string(job.Type()),
    		StartTime: job.Started,
    	}
    	if err := ri.load(ctx, api, job); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/cache_test.go

    			t.Fatalf("addIndexEntry: %v", err)
    		}
    		id := ActionID(dummyID(i))
    		entry, err := c.Get(id)
    		if err != nil {
    			t.Fatalf("Get(%x): %v", id, err)
    		}
    		if entry.OutputID != dummyID(i*99) || entry.Size != int64(i)*101 {
    			t.Errorf("Get(%x) = %x, %d, want %x, %d", id, entry.OutputID, entry.Size, dummyID(i*99), int64(i)*101)
    		}
    	}
    	for i := 0; i < n; i++ {
    		id := ActionID(dummyID(i))
    		entry, err := c.Get(id)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. src/crypto/tls/bogo_shim_test.go

    		cfg.MinVersion = VersionTLS13
    	}
    
    	if len(*curves) != 0 {
    		for _, curveStr := range *curves {
    			id, err := strconv.Atoi(curveStr)
    			if err != nil {
    				log.Fatalf("failed to parse curve id %q: %s", curveStr, err)
    			}
    			cfg.CurvePreferences = append(cfg.CurvePreferences, CurveID(id))
    		}
    	}
    
    	for i := 0; i < *resumeCount+1; i++ {
    		if i > 0 && (*onResumeECHConfigListB64 != "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/parser.go

    	EvUserTaskEnd       event.Type = 46 // end of task [timestamp, internal task id, stack]
    	EvUserRegion        event.Type = 47 // trace.WithRegion [timestamp, internal task id, mode(0:start, 1:end), name string]
    	EvUserLog           event.Type = 48 // trace.Log [timestamp, internal id, key string id, stack, value string]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  7. src/cmd/buildid/doc.go

    // license that can be found in the LICENSE file.
    
    /*
    Buildid displays or updates the build ID stored in a Go package or binary.
    
    Usage:
    
    	go tool buildid [-w] file
    
    By default, buildid prints the build ID found in the named file.
    If the -w option is given, buildid rewrites the build ID found in
    the file to accurately record a content hash of the file.
    
    This tool is only intended for use by the go command or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 558 bytes
    - Viewed (0)
  8. src/database/sql/example_cli_test.go

    	"time"
    )
    
    var pool *sql.DB // Database connection pool.
    
    func Example_openDBCLI() {
    	id := flag.Int64("id", 0, "person ID to find")
    	dsn := flag.String("dsn", os.Getenv("DSN"), "connection data source name")
    	flag.Parse()
    
    	if len(*dsn) == 0 {
    		log.Fatal("missing dsn flag")
    	}
    	if *id == 0 {
    		log.Fatal("missing person ID")
    	}
    	var err error
    
    	// Opening a driver typically will not attempt to connect to the database.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:27:54 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/phi.go

    			s.tree[p.ID].firstChild = b
    		}
    	}
    	// Compute levels in dominator tree.
    	// With parent pointers we can do a depth-first walk without
    	// any auxiliary storage.
    	s.level = make([]int32, s.f.NumBlocks())
    	b := s.f.Entry
    levels:
    	for {
    		if p := s.idom[b.ID]; p != nil {
    			s.level[b.ID] = s.level[p.ID] + 1
    			if debugPhi {
    				fmt.Printf("level %s = %d\n", b, s.level[b.ID])
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/writebarrier.go

    			if w.Op != OpStoreWB {
    				continue
    			}
    			pos := w.Pos
    			ptr := w.Args[0]
    			val := w.Args[1]
    			if !srcs.contains(val.ID) && needWBsrc(val) {
    				srcs.add(val.ID)
    				addEntry(pos, val)
    			}
    			if !dsts.contains(ptr.ID) && needWBdst(ptr, w.Args[2], zeroes) {
    				dsts.add(ptr.ID)
    				// Load old value from store target.
    				// Note: This turns bad pointer writes into bad
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
Back to top