Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 376 for St (0.03 sec)

  1. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go

    			oldObj:       st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(),
    			newObj:       st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"queue-on-gates-become-empty": {
    			pod:          st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
    			oldObj:       st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			requestedPod: st.MakePod().Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "10000", "memory": "20000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "10000", "memory": "20000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  3. cmd/http-stats.go

    	totalS3Canceled         HTTPAPIStats
    }
    
    func (st *HTTPStats) loadRequestsInQueue() int32 {
    	return atomic.LoadInt32(&st.s3RequestsInQueue)
    }
    
    func (st *HTTPStats) addRequestsInQueue(i int32) {
    	atomic.AddInt32(&st.s3RequestsInQueue, i)
    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/reader_test.cc

      const string export_dir = GetDataDependencyFilepath(TestDataSharded());
      Status st = ReadMetaGraphDefFromSavedModel(export_dir, {"missing-tag"},
                                                 &meta_graph_def);
      EXPECT_FALSE(st.ok());
      EXPECT_TRUE(absl::StrContains(
          st.message(),
          "Could not find meta graph def matching supplied tags: { missing-tag }"))
          << st.message();
    }
    
    TEST_F(ReaderTest, NoTagMatchMultiple) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 21:17:08 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		},
    		"insufficient resource": {
    			pod:      st.MakePod().Req(map[v1.ResourceName]string{v1.ResourceCPU: "2"}).Obj(),
    			node:     st.MakeNode().Capacity(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
    			expected: false,
    		},
    		"sufficient resource": {
    			pod:      st.MakePod().Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  6. test/gc2.go

    // (Cyclic data with finalizers is never finalized, nor collected.)
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    )
    
    func main() {
    	const N = 10000
    	st := new(runtime.MemStats)
    	memstats := new(runtime.MemStats)
    	runtime.ReadMemStats(st)
    	for i := 0; i < N; i++ {
    		c := make(chan int, 10)
    		_ = c
    		if i%100 == 0 {
    			for j := 0; j < 4; j++ {
    				runtime.GC()
    				runtime.Gosched()
    				runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 977 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      if (fd < 0) {
        TF_SetStatusFromIOError(status, errno, path);
        return;
      }
    
      struct stat st;
      fstat(fd, &st);
      if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory");
      } else {
        const void* address =
            mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
        if (address == MAP_FAILED) {
          TF_SetStatusFromIOError(status, errno, path);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. pkg/scheduler/extender_test.go

    			podsInNodeList: []*v1.Pod{
    				st.MakePod().Name("pod1").UID("uid1").Obj(),
    				st.MakePod().Name("pod2").UID("uid2").Obj(),
    				st.MakePod().Name("pod3").UID("uid3").Obj(),
    				st.MakePod().Name("pod4").UID("uid4").Obj(),
    			},
    			nodeInfos: nil,
    			want: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/net/internal/socktest/main_test.go

    	"net/internal/socktest"
    	"os"
    	"sync"
    	"syscall"
    	"testing"
    )
    
    var sw socktest.Switch
    
    func TestMain(m *testing.M) {
    	installTestHooks()
    
    	st := m.Run()
    
    	for s := range sw.Sockets() {
    		closeFunc(s)
    	}
    	uninstallTestHooks()
    	os.Exit(st)
    }
    
    func TestSwitch(t *testing.T) {
    	const N = 10
    	var wg sync.WaitGroup
    	wg.Add(N)
    	for i := 0; i < N; i++ {
    		go func() {
    			defer wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:36:30 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/intervals.go

    		}
    		if i == 0 {
    			continue
    		}
    		// check for badly ordered starts
    		pst := is[i-1].st
    		pen := is[i-1].en
    		if pst >= st {
    			return fmt.Errorf("range start not ordered %d:%d less than prev %d:%d", st, en,
    				pst, pen)
    		}
    		// check end of last range against start of this range
    		if pen > st {
    			return fmt.Errorf("bad range elem %d:%d overlaps prev %d:%d", st, en,
    				pst, pen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top