Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,309 for longp (0.03 sec)

  1. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code long} values. The sign of the value returned is the same as
       * that of {@code ((Long) a).compareTo(b)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/moment-with-locales.min.js.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (1)
  3. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        @Override
        protected List<Long> create(Long[] elements) {
          return asList(elements);
        }
      }
    
      public static final class LongsAsListHeadSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] all = concat(elements, suffix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        int len = array.length;
        long[] longArray = new long[len];
        for (int i = 0; i < len; i++) {
          longArray[i] = doubleToRawLongBits(array[i]);
        }
        this.longs = new AtomicLongArray(longArray);
      }
    
      /**
       * Returns the length of the array.
       *
       * @return the length of the array
       */
      public final int length() {
        return longs.length();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ConverterTest.java

        Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
        SerializableTester.reserializeAndAssert(reverseConverter);
      }
    
      @GwtIncompatible // J2CL generics problem
      public void testSerialization_andThen() {
        Converter<String, Long> converterA = Longs.stringConverter();
        Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2}, -1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, -2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 0, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, 2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 3, new long[] {2, 1});
    
        testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

         */
        public static long[] toPlainArray(AtomicLongArray atomicLongArray) {
          long[] array = new long[atomicLongArray.length()];
          for (int i = 0; i < array.length; ++i) {
            array[i] = atomicLongArray.get(i);
          }
          return array;
        }
    
        /** Number of bits */
        long bitSize() {
          return (long) data.length() * Long.SIZE;
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
          bb.putLong(x);
        }
        return HashCode.fromBytes(bb.array());
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                Hasher hasher = murmur3_128(seed).newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top