Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 0xFFFFFFFFL (0.19 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpKeyId.java

            return asHex;
        }
    
        public final long getAsLong() {
            return asLong;
        }
    
        public static String toHex(long keyId) {
            return String.format("%08X", 0xFFFFFFFFL & keyId);
        }
    
        public static long toLong(String keyId) {
            if (keyId == null) {
                throw new IllegalArgumentException("'keyId' cannot be null");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        0L,
        1L,
        2L,
        3L,
        0x12345678L,
        0x5a4316b8L,
        0x6cf78a4bL,
        0xff1a618bL,
        0xfffffffdL,
        0xfffffffeL,
        0xffffffffL
      };
    
      private static final int LEAST = (int) 0L;
      private static final int GREATEST = (int) 0xffffffffL;
    
      public void testCheckedCast() {
        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        0L,
        1L,
        2L,
        3L,
        0x12345678L,
        0x5a4316b8L,
        0x6cf78a4bL,
        0xff1a618bL,
        0xfffffffdL,
        0xfffffffeL,
        0xffffffffL
      };
    
      private static final int LEAST = (int) 0L;
      private static final int GREATEST = (int) 0xffffffffL;
    
      public void testCheckedCast() {
        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

          }
    
          @Override
          long mulMod(long a, long b, long m) {
            long aHi = a >>> 32; // < 2^31
            long bHi = b >>> 32; // < 2^31
            long aLo = a & 0xFFFFFFFFL; // < 2^32
            long bLo = b & 0xFFFFFFFFL; // < 2^32
    
            /*
             * a * b == aHi * bHi * 2^64 + (aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo.
             *       == (aHi * bHi * 2^32 + aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          }
    
          @Override
          long mulMod(long a, long b, long m) {
            long aHi = a >>> 32; // < 2^31
            long bHi = b >>> 32; // < 2^31
            long aLo = a & 0xFFFFFFFFL; // < 2^32
            long bLo = b & 0xFFFFFFFFL; // < 2^32
    
            /*
             * a * b == aHi * bHi * 2^64 + (aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo.
             *       == (aHi * bHi * 2^32 + aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInts.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         * @return the length of this file or 0 if it refers to a directory
         */
        @Deprecated
        @Override
        public int getContentLength () {
            try {
                return (int) ( length() & 0xFFFFFFFFL );
            }
            catch ( SmbException se ) {
                log.debug("getContentLength", se);
            }
            return 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
Back to top