Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 274 for St (0.02 sec)

  1. pkg/scheduler/framework/plugins/nodename/node_name_test.go

    	}{
    		{
    			pod:  &v1.Pod{},
    			node: &v1.Node{},
    			name: "no host specified",
    		},
    		{
    			pod:  st.MakePod().Node("foo").Obj(),
    			node: st.MakeNode().Name("foo").Obj(),
    			name: "host matches",
    		},
    		{
    			pod:        st.MakePod().Node("bar").Obj(),
    			node:       st.MakeNode().Name("foo").Obj(),
    			name:       "host doesn't match",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/internal/trace/summary_test.go

    			}
    		} else {
    			st := region.Start.StateTransition()
    			if st.Resource.Kind != trace.ResourceGoroutine {
    				t.Errorf("found region start event for the wrong resource: %s", st.Resource)
    			}
    			if st.Resource.Goroutine() != goid {
    				t.Errorf("found region start event for the wrong resource: wanted goroutine %d, got %s", goid, st.Resource)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15277.go

    	}
    	runtime.KeepAlive(x)
    }
    
    func main() {
    	x := inuse()
    	f(new(big), x)
    }
    
    func inuse() int64 {
    	runtime.GC()
    	var st runtime.MemStats
    	runtime.ReadMemStats(&st)
    	return int64(st.Alloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 851 bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go

    				st.MakePod().Node("node2").Labels(labels1).Obj(),
    				st.MakePod().Node("node2").Labels(labels1).Obj(),
    			},
    			args:        config.NodeResourcesBalancedAllocationArgs{Resources: defaultResourceBalancedAllocationSet},
    			runPreScore: true,
    		},
    		{
    			// Node1 scores on 0-MaxNodeScore scale
    			// CPU Fraction: 0 / 250 = 0%
    			// Memory Fraction: 0 / 1000 = 0%
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/cmd/trace/goroutinegen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.GoID](goID)
    		g.gStates[goID] = gs
    	}
    
    	// Try to augment the name of the goroutine.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/bucket-replication-handlers.go

    	}
    
    	var rinfo ResyncTargetsInfo
    	for tarn, st := range brs.TargetsMap {
    		if arn != "" && tarn != arn {
    			continue
    		}
    		rinfo.Targets = append(rinfo.Targets, ResyncTarget{
    			Arn:             tarn,
    			ResetID:         st.ResyncID,
    			StartTime:       st.StartTime,
    			EndTime:         st.LastUpdate,
    			ResyncStatus:    st.ResyncStatus.String(),
    			ReplicatedSize:  st.ReplicatedSize,
    			ReplicatedCount: st.ReplicatedCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/syscall/fs_wasip1.go

    	errno := path_filestat_get(dirFd, 0, pathPtr, pathLen, unsafe.Pointer(st))
    	setDefaultMode(st)
    	return errnoErr(errno)
    }
    
    func Fstat(fd int, st *Stat_t) error {
    	errno := fd_filestat_get(int32(fd), unsafe.Pointer(st))
    	setDefaultMode(st)
    	return errnoErr(errno)
    }
    
    func setDefaultMode(st *Stat_t) {
    	// WASI does not support unix-like permissions, but Go programs are likely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue50779a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type AC interface {
    	C
    }
    
    type ST []int
    
    type R[S any, P any] struct{}
    
    type SR = R[SS, ST]
    
    type SS interface {
    	NSR(any) *SR
    }
    
    type C interface {
    	NSR(any) *SR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 20:18:45 UTC 2023
    - 356 bytes
    - Viewed (0)
  9. src/cmd/trace/procgen.go

    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ProcID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/config/config.go

    	var out []string
    	for _, ss := range s {
    		st := ""
    		if !defaultListSetting(ss.Namespaces) {
    			st += fmt.Sprintf("Namespaces: %s", strings.Join(ss.Namespaces, ","))
    		}
    		if !defaultListSetting(ss.Deployments) {
    			st += fmt.Sprintf("/Deployments: %s", strings.Join(ss.Deployments, ","))
    		}
    		if !defaultListSetting(ss.Pods) {
    			st += fmt.Sprintf("/Pods:%s", strings.Join(ss.Pods, ","))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top