Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for langues (0.15 sec)

  1. tests/preload_test.go

    	user := *GetUser("user_without_associations", Config{})
    	DB.Create(&user)
    
    	DB.Preload("Team").Preload("Languages").Preload("Friends").First(&user, "name = ?", user.Name)
    
    	if r, err := json.Marshal(&user); err != nil {
    		t.Errorf("failed to marshal users, got error %v", err)
    	} else if !regexp.MustCompile(`"Team":\[\],"Languages":\[\],"Friends":\[\]`).MatchString(string(r)) {
    		t.Errorf("json marshal is not empty slice, got %v", string(r))
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. tests/joins_test.go

    	user := GetUser("TestJoinWithSameColumnName", Config{
    		Languages: 1,
    		Pets:      1,
    	})
    	DB.Create(user)
    	type UserSpeak struct {
    		UserID       uint
    		LanguageCode string
    	}
    	type Result struct {
    		User
    		UserSpeak
    		Language
    		Pet
    	}
    
    	results := make([]Result, 0, 1)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/cmd/trace/goroutines.go

    			<td> {{$Time.String}}</td>
    		{{end}}
    	</tr>
    {{end}}
    </table>
    
    <h3 id="ranges">Special ranges</h3>
    
    The table below describes how much of the traced period each goroutine spent in
    certain special time ranges.
    If a goroutine has spent no time in any special time ranges, it is excluded from
    the table.
    For example, how much time it spent helping the GC. Note that these times do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	// Get covering address ranges and disassemble the ranges.
    	ranges, unprocessed := sp.splitIntoRanges(rpt.prof, addrs, flat)
    	sp.handleUnprocessed(addrs, unprocessed)
    
    	// Trim ranges if there are too many.
    	const maxRanges = 25
    	sort.Slice(ranges, func(i, j int) bool {
    		return ranges[i].score > ranges[j].score
    	})
    	if len(ranges) > maxRanges {
    		ranges = ranges[:maxRanges]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. src/internal/trace/summary.go

    	// TotalTime is the duration of the goroutine's presence in the trace.
    	// Necessarily overlaps with other stats.
    	TotalTime time.Duration
    
    	// Total time the goroutine spent in certain ranges; may overlap
    	// with other stats.
    	RangeTime map[string]time.Duration
    }
    
    func (s GoroutineExecStats) NonOverlappingStats() map[string]time.Duration {
    	stats := map[string]time.Duration{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/runtime/type.go

    	// No module found. see if it is a run time name.
    	reflectOffsLock()
    	res, found := reflectOffs.m[int32(off)]
    	reflectOffsUnlock()
    	if !found {
    		println("runtime: nameOff", hex(off), "base", hex(base), "not in ranges:")
    		for next := &firstmoduledata; next != nil; next = next.next {
    			println("\ttypes", hex(next.types), "etypes", hex(next.etypes))
    		}
    		throw("runtime: name offset base pointer out of range")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tests/associations_has_many_test.go

    	}
    }
    
    func TestHasManyAssociationReplaceWithNonValidValue(t *testing.T) {
    	user := User{Name: "jinzhu", Languages: []Language{{Name: "EN"}}}
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	if err := DB.Model(&user).Association("Languages").Replace(Language{Name: "DE"}, Language{Name: "FR"}); err == nil {
    		t.Error("expected association error to be not nil")
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/runtime/stubs.go

    // an indivisible write, so that racy reads cannot observe a
    // half-written pointer. This is necessary to prevent the garbage
    // collector from observing invalid pointers, and differs from memmove
    // in unmanaged languages. However, memmove is only required to do
    // this if "from" and "to" may contain pointers, which can only be the
    // case if "from", "to", and "n" are all be word-aligned.
    //
    // Implementations are in memmove_*.s.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  9. pkg/controlplane/instance.go

    		c.ControlPlane.Complete(),
    		&c.Extra,
    	}
    
    	serviceIPRange, apiServerServiceIP, err := options.ServiceIPRange(cfg.Extra.ServiceIPRange)
    	if err != nil {
    		klog.Fatalf("Error determining service IP ranges: %v", err)
    	}
    	if cfg.Extra.ServiceIPRange.IP == nil {
    		cfg.Extra.ServiceIPRange = serviceIPRange
    	}
    	if cfg.Extra.APIServerServiceIP == nil {
    		cfg.Extra.APIServerServiceIP = apiServerServiceIP
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyGraphBuilder.java

            // for the resolution result to be stable
            // and for dynamic selectors, only the "stable" ones work, which is currently
            // only ranges because those are the only ones which accept a selection without
            // upgrading
            boolean accept = false;
            for (SelectorState selector : selectors) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top