Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 274 for St (0.02 sec)

  1. internal/ioutil/read_file.go

    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    		return nil, nil, err
    	}
    	defer f.Close()
    
    	st, err := f.Stat()
    	if err != nil {
    		return nil, nil, err
    	}
    
    	dst := make([]byte, st.Size())
    	_, err = io.ReadFull(f, dst)
    	return dst, st, err
    }
    
    // ReadFile reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. cmd/metrics-v3-audit.go

    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    		m.Set(auditTargetQueueLength, float64(st.QueueLength), labels...)
    		m.Set(auditTotalMessages, float64(st.TotalMessages), labels...)
    	}
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	structuredAllocatedClaimWithParams = st.FromResourceClaim(structuredAllocatedClaim).ParametersRef(claimName).Obj()
    
    	otherStructuredAllocatedClaim = st.FromResourceClaim(structuredAllocatedClaim).Name(structuredAllocatedClaim.Name + "-other").Obj()
    
    	allocatedDelayedClaimWithWrongTopology = st.FromResourceClaim(allocatedClaim).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/jit/xla_host_recv_device_context.cc

      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. cmd/tier-last-day-stats.go

    func (l DailyAllTierStats) merge(m DailyAllTierStats) {
    	for tier, st := range m {
    		l[tier] = l[tier].merge(st)
    	}
    }
    
    func (l DailyAllTierStats) addToTierInfo(tierInfos []madmin.TierInfo) []madmin.TierInfo {
    	for i := range tierInfos {
    		lst, ok := l[tierInfos[i].Name]
    		if !ok {
    			continue
    		}
    		for hr, st := range lst.Bins {
    			tierInfos[i].DailyStats.Bins[hr] = madmin.TierStats{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. src/os/stat_js.go

    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	st := fi.Sys().(*syscall.Stat_t)
    	return time.Unix(st.Atime, st.AtimeNsec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/debug/pe/string.go

    // String extracts string from COFF string table st at offset start.
    func (st StringTable) String(start uint32) (string, error) {
    	// start includes 4 bytes of string table length
    	if start < 4 {
    		return "", fmt.Errorf("offset %d is before the start of string table", start)
    	}
    	start -= 4
    	if int(start) > len(st) {
    		return "", fmt.Errorf("offset %d is beyond the end of string table", start)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K 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