Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 376 for St (0.26 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

    		return nil, fmt.Errorf("expecting a pointer or interface")
    	}
    	st := sv.Type()
    	if !isStructKind(st.Kind()) {
    		return nil, fmt.Errorf("expecting a pointer to a struct")
    	}
    
    	// Check all object fields
    	convertStruct(result, st, sv)
    
    	return result, nil
    }
    
    func convertStruct(result url.Values, st reflect.Type, sv reflect.Value) {
    	for i := 0; i < st.NumField(); i++ {
    		field := sv.Field(i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/config/file/util/kubeyaml/kubeyaml.go

    func JoinString(parts ...string) string {
    	var st strings.Builder
    
    	var lastIsNewLine bool
    	for _, p := range parts {
    		if len(p) == 0 {
    			continue
    		}
    		if st.Len() != 0 {
    			if !lastIsNewLine {
    				_, _ = st.WriteString("\n")
    			}
    			st.WriteString(yamlSeparator)
    		}
    		_, _ = st.WriteString(p)
    		lastIsNewLine = p[len(p)-1] == '\n'
    	}
    
    	return st.String()
    }
    
    type Reader interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 02:41:40 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/issue38359.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure NaN-NaN compiles correctly.
    
    package p
    
    func f() {
    	var st struct {
    		f    float64
    		_, _ string
    	}
    
    	f := 1e308
    	st.f = 2*f - 2*f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 10 19:32:41 UTC 2020
    - 318 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top