- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for multiplication (0.29 sec)
-
src/runtime/mprof.go
var r int64 if rate <= 0 { r = 0 // disable profiling } else if rate == 1 { r = 1 // profile everything } else { // convert ns to cycles, use float64 to prevent overflow during multiplication r = int64(float64(rate) * float64(ticksPerSecond()) / (1000 * 1000 * 1000)) if r == 0 { r = 1 } } atomic.Store64(&blockprofilerate, uint64(r)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/mgcpacer.go
// // The constants are obscured in this way for efficiency. The denominator // of the fraction is always a power-of-two for a quick division, so that // the numerator is a single constant integer multiplication. triggerRatioDen = 64 // The minimum trigger constant was chosen empirically: given a sufficiently // fast/scalable allocator with 48 Ps that could drive the trigger ratio
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
func (p *PriorityQueue) calculateBackoffDuration(podInfo *framework.QueuedPodInfo) time.Duration { duration := p.podInitialBackoffDuration for i := 1; i < podInfo.Attempts; i++ { // Use subtraction instead of addition or multiplication to avoid overflow. if duration > p.podMaxBackoffDuration-duration { return p.podMaxBackoffDuration } duration += duration } return duration }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
dwarf.Uleb128put(d, fsd, 1) // code_alignment_factor dwarf.Sleb128put(d, fsd, dataAlignmentFactor) // all CFI offset calculations include multiplication with this factor dwarf.Uleb128put(d, fsd, int64(thearch.Dwarfreglr)) // return_address_register fsu.AddUint8(dwarf.DW_CFA_def_cfa) // Set the current frame address..
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
ASUBW & obj.AMask: rIIIEncoding, ASRAW & obj.AMask: rIIIEncoding, // 5.3: Load and Store Instructions (RV64I) ALD & obj.AMask: iIEncoding, ASD & obj.AMask: sIEncoding, // 7.1: Multiplication Operations AMUL & obj.AMask: rIIIEncoding, AMULH & obj.AMask: rIIIEncoding, AMULHU & obj.AMask: rIIIEncoding, AMULHSU & obj.AMask: rIIIEncoding, AMULW & obj.AMask: rIIIEncoding,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)