- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Subtracting (0.13 sec)
-
pkg/scheduler/framework/plugins/helper/normalize_score.go
) // DefaultNormalizeScore generates a Normalize Score function that can normalize the // scores from [0, max(scores)] to [0, maxPriority]. If reverse is set to true, it // reverses the scores by subtracting it from maxPriority. // Note: The input scores are always assumed to be non-negative integers. func DefaultNormalizeScore(maxPriority int64, reverse bool, scores framework.NodeScoreList) *framework.Status { var maxCount int64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 14 16:15:18 UTC 2022 - 1.4K bytes - Viewed (0) -
src/internal/abi/symtab.go
// at the top of a system goroutine stack. FuncFlagTopFrame FuncFlag = 1 << iota // FuncFlagSPWrite indicates a function that writes an arbitrary value to SP // (any write other than adding or subtracting a constant amount). // The traceback routines cannot encode such changes into the // pcsp tables, so the function traceback cannot safely unwind past // SPWrite functions. Stopping at an SPWrite function is considered
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 14:25:22 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// or an offset into the Data section. If the uvarint is less than // predeclReserved, then it indicates the index into the predeclared // types list (see predeclared in bexport.go for order). Otherwise, // subtracting predeclReserved yields the offset of a type descriptor. // // Value means a type, kind, and type-specific value. See // (*exportWriter).value for details. // //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy
file('dest').assertHasDescendants( 'one.txt', 'two.txt', 'three.txt' ) } def "can add files to the result of subtracting the elements of another tree"() { given: file('files/one.txt').createFile() file('files/a/two.txt').createFile() file('files/b/ignore.txt').createFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7K bytes - Viewed (0) -
src/runtime/memmove_ppc64x.s
mcopy: ANDCC $7, LEN, BYTES // R7: bytes to copy SRD $3, LEN, DWORDS // R6: double words to copy MOVFL CR0, CR3 // save CR from ANDCC CMP DWORDS, $0, CR1 // CR1[EQ] set if no double words to copy // Determine overlap by subtracting dest - src and comparing against the // length. This catches the cases where src and dest are in different types // of storage such as stack and static to avoid doing backward move when not // necessary.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 16:47:45 UTC 2023 - 4.9K bytes - Viewed (0) -
src/log/slog/level.go
// between Info and Warn. Since there are only a few of these intermediate // levels, the gap between the numbers need not be large. Our gap of 4 matches // OpenTelemetry's mapping. Subtracting 9 from an OpenTelemetry level in the // DEBUG, INFO, WARN and ERROR ranges converts it to the corresponding slog // Level range. OpenTelemetry also has the names TRACE and FATAL, which slog
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:34:43 UTC 2023 - 5.6K bytes - Viewed (0) -
src/math/fma.go
// Adding (pm1:pm2) + (zm1:zm2) pm2, c = bits.Add64(pm2, zm2, 0) pm1, _ = bits.Add64(pm1, zm1, c) pe -= int32(^pm1 >> 63) pm1, m = shrcompress(pm1, pm2, uint(64+pm1>>63)) } else { // Subtracting (pm1:pm2) - (zm1:zm2) // TODO: should we special-case cancellation? pm2, c = bits.Sub64(pm2, zm2, 0) pm1, _ = bits.Sub64(pm1, zm1, c) nz := lz(pm1, pm2) pe -= nz m, pm2 = shl(pm1, pm2, uint(nz-1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 05 22:05:30 UTC 2023 - 4.6K bytes - Viewed (0) -
src/debug/pe/file.go
} switch ohMagic { case 0x10b: // PE32 var ( oh32 OptionalHeader32 // There can be 0 or more data directories. So the minimum size of optional // header is calculated by subtracting oh32.DataDirectory size from oh32 size. oh32MinSz = binary.Size(oh32) - binary.Size(oh32.DataDirectory) ) if sz < uint16(oh32MinSz) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.2K bytes - Viewed (0) -
src/cmd/internal/obj/arm/a.out.go
ARMDWARFRegisters[r] = step*(r-from) + base } } f(REG_R0, REG_R15, 0, 1) f(REG_F0, REG_F15, 64, 2) // Use d0 through D15, aka S0, S2, ..., S30 } // Special registers, after subtracting obj.RBaseARM, bit 9 indicates // a special register and the low bits select the register. const ( REG_SPECIAL = obj.RBaseARM + 1<<9 + iota REG_MB_SY REG_MB_ST REG_MB_ISH REG_MB_ISHST REG_MB_NSH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 16:22:12 UTC 2021 - 7K bytes - Viewed (0) -
pkg/monitoring/monitoring.go
// this is equivalent to making an observation of value 1. Increment() // Decrement records a value of -1 for the current measure. For Sums, // this is equivalent to subtracting -1 to the current value. For Gauges, // this is equivalent to setting the value to -1. For Distributions, // this is equivalent to making an observation of value -1. Decrement()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0)