Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for COMPLEMENT (0.14 sec)

  1. test/fixedbugs/bug012.go

    	_, _ = u30, u31;
    	var u32 uint64 = 18446744073709551615;
    	var u33 uint64 = +18446744073709551615;
    	if u32 != (1<<64)-1 { panic("u32\n"); }
    	if u33 != (1<<64)-1 { panic("u33\n"); }
    	var i34 int64 = ^0;  // note: 2's complement means ^0 == -1
    	if i34 != -1 { panic("i34") }
    }
    /*
    bug12.go:5: overflow converting constant to <uint64>UINT64
    bug12.go:6: overflow converting constant to <uint64>UINT64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 756 bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/types.go

    //go:nosplit
    func (i *Int32) Swap(new int32) int32 {
    	return Xchgint32(&i.value, new)
    }
    
    // Add adds delta to i atomically, returning
    // the new updated value.
    //
    // This operation wraps around in the usual
    // two's-complement way.
    //
    //go:nosplit
    func (i *Int32) Add(delta int32) int32 {
    	return Xaddint32(&i.value, delta)
    }
    
    // Int64 is an atomically accessed int64 value.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/image/png/paeth.go

    package png
    
    // intSize is either 32 or 64.
    const intSize = 32 << (^uint(0) >> 63)
    
    func abs(x int) int {
    	// m := -1 if x < 0. m := 0 otherwise.
    	m := x >> (intSize - 1)
    
    	// In two's complement representation, the negative number
    	// of any number (except the smallest one) can be computed
    	// by flipping all the bits and add 1. This is faster than
    	// code with a branch.
    	// See Hacker's Delight, section 2-4.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

    @GwtIncompatible // TreeRangeSet
    public abstract class AbstractRangeSetTest extends TestCase {
      public static void testInvariants(RangeSet<?> rangeSet) {
        testInvariantsInternal(rangeSet);
        testInvariantsInternal(rangeSet.complement());
      }
    
      private static <C extends Comparable<?>> void testInvariantsInternal(RangeSet<C> rangeSet) {
        assertEquals(rangeSet.asRanges().isEmpty(), rangeSet.isEmpty());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/index.md

    Although the [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} and this **Advanced User Guide** are written as a guided tutorial (like a book) and should be enough for you to **learn FastAPI**, you might want to complement it with additional courses.
    
    Or it might be the case that you just prefer to take other courses because they adapt better to your learning style.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is
    // equivalent to the sign bit in two's complement form.
    func fitsInBase256(n int, x int64) bool {
    	binBits := uint(n-1) * 8
    	return n >= 9 || (x >= -1<<binBits && x < 1<<binBits)
    }
    
    // parseNumeric parses the input as being encoded in either base-256 or octal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeSet.java

       * @since 19.0
       */
      Set<Range<C>> asDescendingSetOfRanges();
    
      /**
       * Returns a view of the complement of this {@code RangeSet}.
       *
       * <p>The returned view supports the {@link #add} operation if this {@code RangeSet} supports
       * {@link #remove}, and vice versa.
       */
      RangeSet<C> complement();
    
      /**
       * Returns a view of the intersection of this {@code RangeSet} with the specified range.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/condition_code.go

    	// useful aliases
    	Carry    CCMask = GreaterOrUnordered
    	NoCarry  CCMask = LessOrEqual
    	Borrow   CCMask = NoCarry
    	NoBorrow CCMask = Carry
    )
    
    // Inverse returns the complement of the condition code mask.
    func (c CCMask) Inverse() CCMask {
    	return c ^ Always
    }
    
    // ReverseComparison swaps the bits at 0b0100 and 0b0010 in the mask,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/MutableVersionConstraint.java

         * This is a very soft version declaration.
         * It applies only if there is no stronger non dynamic opinion on a version for the module.
         * This term does not support dynamic versions.
         * <p>
         * This can complement a {@link #strictly(String) strictly} or {@link #require(String) require} indication.
         * <p>
         * This clears any set rejected versions.
         *
         * @param version the preferred version of this module
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 30 23:02:48 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

            [language, input] << [
                ["English", """
    ELF Header:
     Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
     Class:                             ELF32
     Data:                              2's complement, little endian
     Version:                           1 (current)
     OS/ABI:                            UNIX - System V
     ABI Version:                       0
     Type:                              EXEC (Executable file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top