Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for subtraction (2.67 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

            double z = a.getAndUpdate(value -> value + y);
            assertBitEquals(x, z);
            assertBitEquals(x + y, a.get());
          }
        }
      }
    
      /**
       * getAndUpdate with subtract stores subtraction of value from current, and returns previous value
       */
      public void testGetAndUpdateWithSubtract() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
                int indexOfEntryWithValue(V value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          sort(
              insertionOrder,
              new Comparator<V>() {
                @Override
                public int compare(V left, V right) {
                  // The indexes are small enough for the subtraction trick to be safe.
                  return indexOfEntryWithValue(left) - indexOfEntryWithValue(right);
                }
    
                int indexOfEntryWithValue(V value) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    	// The "-argSize" may be missing; if so, set it to objabi.ArgsSizeUnknown.
    	// Parse left to right.
    	op := operands[next]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

            };
          }
        };
      }
    
      /**
       * Returns an unmodifiable view of the difference of two multisets. In the returned multiset, the
       * count of each element is the result of the <i>zero-truncated subtraction</i> of its count in
       * the second multiset from its count in the first multiset, with elements that would have a count
       * of 0 not included. The iteration order of the returned multiset matches that of the element set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. doc/asm.html

    	MOVQ	CX, 0(SP)
    	CALL	runtime·externalthreadhandler(SB)
    	RET
    </pre>
    
    <p>
    In the general case, the frame size is followed by an argument size, separated by a minus sign.
    (It's not a subtraction, just idiosyncratic syntax.)
    The frame size <code>$24-8</code> states that the function has a 24-byte frame
    and is called with 8 bytes of argument, which live on the caller's frame.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       *
       * @since 14.0
       */
      public UnsignedInteger plus(UnsignedInteger val) {
        return fromIntBits(this.value + checkNotNull(val).value);
      }
    
      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger minus(UnsignedInteger val) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. api/go1.10.txt

    pkg debug/macho, const ARM64_RELOC_POINTER_TO_GOT = 7
    pkg debug/macho, const ARM64_RELOC_POINTER_TO_GOT RelocTypeARM64
    pkg debug/macho, const ARM64_RELOC_SUBTRACTOR = 1
    pkg debug/macho, const ARM64_RELOC_SUBTRACTOR RelocTypeARM64
    pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGE21 = 8
    pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGE21 RelocTypeARM64
    pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGEOFF12 = 9
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLong.java

       *
       * @since 14.0
       */
      public UnsignedLong plus(UnsignedLong val) {
        return fromLongBits(this.value + checkNotNull(val).value);
      }
    
      /**
       * Returns the result of subtracting this and {@code val}. If the result would have more than 64
       * bits, returns the low 64 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedLong minus(UnsignedLong val) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    0.15e+0_2    // == 15.0
    
    0x1p-2       // == 0.25
    0x2.p10      // == 2048.0
    0x1.Fp+0     // == 1.9375
    0X.8p-0      // == 0.5
    0X_1FFFP-16  // == 0.1249847412109375
    0x15e-2      // == 0x15e - 2 (integer subtraction)
    
    0x.p1        // invalid: mantissa has no digits
    1p-2         // invalid: p exponent requires hexadecimal mantissa
    0x1.5e-2     // invalid: hexadecimal mantissa requires p exponent
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top