- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,108 for Amount (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go
const MinSeatSeconds = SeatSeconds(0) // SeatsTimeDuration produces the SeatSeconds value for the given factors. // This is intended only to produce small values, increments in work // rather than amount of work done since process start. func SeatsTimesDuration(seats float64, duration time.Duration) SeatSeconds { return SeatSeconds(int64(math.Round(seats * float64(duration/time.Nanosecond) / (1e9 / ssScale)))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 09:16:46 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/base/timings.go
} type timestamp struct { time time.Time label string start bool } type event struct { size int64 // count or amount of data processed (allocations, data size, lines, funcs, ...) unit string // unit of size measure (count, MB, lines, funcs, ...) } func (t *Timings) append(labels []string, start bool) { t.list = append(t.list, timestamp{time.Now(), strings.Join(labels, ":"), start}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_none.go
// and other resource controllers. func (p *none) GetPodTopologyHints(s state.State, pod *v1.Pod) map[string][]topologymanager.TopologyHint { return nil } // GetAllocatableMemory returns the amount of allocatable memory for each NUMA node func (p *none) GetAllocatableMemory(s state.State) []state.Block { return []state.Block{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 2.2K bytes - Viewed (0) -
src/compress/flate/dict_decoder.go
} // histSize reports the total amount of historical data in the dictionary. func (dd *dictDecoder) histSize() int { if dd.full { return len(dd.hist) } return dd.wrPos } // availRead reports the number of bytes that can be flushed by readFlush. func (dd *dictDecoder) availRead() int { return dd.wrPos - dd.rdPos } // availWrite reports the available amount of output buffer space.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 6K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// At this point if the mount point has a common prefix two conditions can happen. // - mount.Path matches exact with `path` means we can proceed no error here. // - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
src/runtime/debug/garbage.go
// as possible. (Even if this is not called, the runtime gradually // returns memory to the operating system in a background task.) func FreeOSMemory() { freeOSMemory() } // SetMaxStack sets the maximum amount of memory that // can be used by a single goroutine stack. // If any goroutine exceeds this limit while growing its stack, // the program crashes. // SetMaxStack returns the previous setting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering.h
// GPU_0_X -> GPU_0_Y // } // // We'd cluster Const and GPU_1 together (and place it on GPU_1), and this // will block us from clustering GPU_0_X and GPU_0_Y together since that // would increase the amount of work on GPU 0 waiting on work on GPU 1. // However, cloning Const into two copies, one for GPU_0_Y and one for GPU_1 // will let us create one cluster containing {Const/copy_0, GPU_1} and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 23:57:44 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/handler.go
limitations under the License. */ package admission import ( "time" "k8s.io/apimachinery/pkg/util/sets" ) const ( // timeToWaitForReady is the amount of time to wait to let an admission controller to be ready to satisfy a request. // this is useful when admission controllers need to warm their caches before letting requests through. timeToWaitForReady = 10 * time.Second )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 08:47:19 UTC 2017 - 2.2K bytes - Viewed (0) -
src/hash/hash.go
Reset() // Size returns the number of bytes Sum will return. Size() int // BlockSize returns the hash's underlying block size. // The Write method must be able to accept any amount // of data, but it may operate more efficiently if all writes // are a multiple of the block size. BlockSize() int } // Hash32 is the common interface implemented by all 32-bit hash functions.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
src/go/parser/interface.go
} case io.Reader: return io.ReadAll(s) } return nil, errors.New("invalid source") } return os.ReadFile(filename) } // A Mode value is a set of flags (or 0). // They control the amount of source code parsed and other optional // parser functionality. type Mode uint const ( PackageClauseOnly Mode = 1 << iota // stop parsing after package clause
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.5K bytes - Viewed (0)