Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 154 for St (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/cc/saved_model/saved_model_bundle_test.cc

          io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded);
      Status st = LoadSavedModel(session_options, run_options, export_dir,
                                 {"missing-tag"}, &bundle);
      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(LoaderTest, NoTagMatchMultiple) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    func mapFromUnstructured(sv, dv reflect.Value, ctx *fromUnstructuredContext) error {
    	st, dt := sv.Type(), dv.Type()
    	if st.Kind() != reflect.Map {
    		return fmt.Errorf("cannot restore map from %v", st.Kind())
    	}
    
    	if !st.Key().AssignableTo(dt.Key()) && !st.Key().ConvertibleTo(dt.Key()) {
    		return fmt.Errorf("cannot copy map with non-assignable keys: %v %v", st.Key(), dt.Key())
    	}
    
    	if sv.IsNil() {
    		dv.Set(reflect.Zero(dt))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    func TestCSILimits(t *testing.T) {
    	runningPod := st.MakePod().PVC("csi-ebs.csi.aws.com-3").Obj()
    	pendingVolumePod := st.MakePod().PVC("csi-4").Obj()
    
    	// Different pod than pendingVolumePod, but using the same unbound PVC
    	unboundPVCPod2 := st.MakePod().PVC("csi-4").Obj()
    
    	missingPVPod := st.MakePod().PVC("csi-6").Obj()
    	noSCPVCPod := st.MakePod().PVC("csi-5").Obj()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    	for arn, st := range brs.Stats {
    		// make a copy of `*st`
    		s := BucketReplicationStat{
    			ReplicatedSize:                   st.ReplicatedSize,
    			ReplicaSize:                      st.ReplicaSize,
    			Latency:                          st.Latency,
    			BandWidthLimitInBytesPerSecond:   st.BandWidthLimitInBytesPerSecond,
    			CurrentBandwidthInBytesPerSecond: st.CurrentBandwidthInBytesPerSecond,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    	// deletedPVPod2 is a different pod than deletedPVPod but using the same PVC
    	deletedPVPod2       = st.MakePod().PVC("pvcWithDeletedPV").Obj()
    	anotherDeletedPVPod = st.MakePod().PVC("anotherPVCWithDeletedPV").Obj()
    	emptyPod            = st.MakePod().Obj()
    	unboundPVCPod       = st.MakePod().PVC("unboundPVC").Obj()
    	// Different pod than unboundPVCPod, but using the same unbound PVC
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
Back to top