- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for Subtract (0.34 sec)
-
src/runtime/sys_windows_386.s
// determine index into runtime·cbs table SUBL $runtime·callbackasm(SB), AX MOVL $0, DX MOVL $5, BX // divide by 5 because each call instruction in runtime·callbacks is 5 bytes long DIVL BX SUBL $1, AX // subtract 1 because return PC is to the next slot // Create a struct callbackArgs on our stack. SUBL $(12+callbackArgs__size), SP MOVL AX, (12+callbackArgs_index)(SP) // callback index
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a); UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b); int expected = force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); UnsignedInteger unsignedSub = aUnsigned.minus(bUnsigned); assertThat(unsignedSub.intValue()).isEqualTo(expected); } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a); UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b); int expected = force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); UnsignedInteger unsignedSub = aUnsigned.minus(bUnsigned); assertThat(unsignedSub.intValue()).isEqualTo(expected); } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 9.6K bytes - Viewed (0) -
cmd/bitrot.go
for left > 0 { // Read expected hash... h.Reset() n, err := io.ReadFull(r, hashBuf) if err != nil { // Read's failed for object with right size, file is corrupt. return err } // Subtract hash length.. left -= int64(n) if left < shardSize { shardSize = left } read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/math/big/decimal.go
shr(x, maxShift) shift += maxShift } shr(x, uint(-shift)) } } // shr implements x >> s, for s <= maxShift. func shr(x *decimal, s uint) { // Division by 1<<s using shift-and-subtract algorithm. // pick up enough leading digits to cover first shift r := 0 // read index var n Word for n>>s == 0 && r < len(x.mant) { ch := Word(x.mant[r]) r++ n = n*10 + ch - '0' }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 22:45:29 UTC 2020 - 6.6K bytes - Viewed (0) -
src/runtime/sys_plan9_arm.s
MOVW $0,R7 MULALU R2,R3,(R7,R6) // unscale by discarding low 32 bits, shifting the rest by 29 MOVW R6>>29,R6 // R6:R7 = (R5:R6:R7 >> 61) ORR R7<<3,R6 MOVW R7>>29,R7 // subtract (10**9 * sec) from nsec to get nanosecond remainder MOVW $1000000000, R5 // 10**9 MULLU R6,R5,(R9,R8) // R8:R9 = R6:R7 * R5 MULA R7,R5,R9,R9 SUB.S R8,R1 // R1:R2 -= R8:R9 SBC R9,R2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 29 14:15:04 UTC 2021 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
return requireNonNull(successor); } /* * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because * they're defined above -- including logic to add and subtract 1 to map between the values stored * in the predecessor/successor arrays and the indexes in the elements array that they identify. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 21:38:59 UTC 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
return requireNonNull(successor); } /* * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because * they're defined above -- including logic to add and subtract 1 to map between the values stored * in the predecessor/successor arrays and the indexes in the elements array that they identify. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 05 21:38:59 UTC 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val beginIndex = ranges.read14BitInt(rangesIndex + 2) sink.writeUtf8(mappings, beginIndex, beginIndex + b1) } in 64..79 -> { // Mapped inline as codePoint delta to subtract val b2 = ranges[rangesIndex + 2].code val b3 = ranges[rangesIndex + 3].code val codepointDelta = (b1 and 0xF shl 14) or (b2 shl 7) or b3
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Apr 02 11:39:58 UTC 2024 - 9K bytes - Viewed (0) -
src/time/sleep.go
// The current time can be arbitrarily far into the future, because the runtime // can delay a sendTime call until a goroutines tries to receive from // the channel. Subtract delta to go back to the old time that we // used to send. select { case c.(chan Time) <- Now().Add(Duration(-delta)): default: } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 8.5K bytes - Viewed (0)