Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 99 for getLong (0.06 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         * @return The Long value, or null if the key doesn't exist or value is null
         * @throws NumberFormatException if the value cannot be parsed as a Long
         */
        public static Long getLong(final Map<String, Object> map, final String key) {
            return getLong(map, key, null);
        }
    
        /**
         * Gets a Long value from the map with a default value.
         *
         * @param map The source map
         * @param key The key to look up
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/Config.java

         * @param def the default value to return if the property is not found or cannot be parsed
         * @return the property value as a long, or the default value
         */
    
        public static long getLong(final String key, long def) {
            final String s = prp.getProperty(key);
            if (s != null) {
                try {
                    def = Long.parseLong(s);
                } catch (final NumberFormatException nfe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            ByteBuffer buffer2 = ByteBuffer.wrap(nonce2, 0, 8).order(java.nio.ByteOrder.LITTLE_ENDIAN);
            long counter1 = buffer1.getLong();
            long counter2 = buffer2.getLong();
    
            assertEquals(counter1 + 1, counter2, "CCM counter should increment between nonces");
        }
    
        @Test
        @DisplayName("Should generate multiple unique nonces without collision")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

        }
      }
    
      private static LittleEndianBytes makeGetter() {
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

        }
        return result;
      }
    
      /**
       * Returns the {@code long} value whose big-endian representation is stored in the first 8 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getLong()}. For example, the
       * input byte array {@code {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19}} would yield the
       * {@code long} value {@code 0x1213141516171819L}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

          addressAsLong = getEmbeddedIPv4ClientAddress(ip6).hashCode();
        } else {
          // Just extract the high 64 bits (assuming the rest is user-modifiable).
          addressAsLong = ByteBuffer.wrap(ip6.getAddress(), 0, 8).getLong();
        }
    
        // Many strategies for hashing are possible. This might suffice for now.
        int coercedHash = murmur3_32_fixed().hashLong(addressAsLong).asInt();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            assertTrue(Modifier.isPrivate(serialVersionField.getModifiers()));
            serialVersionField.setAccessible(true);
            assertEquals(1L, serialVersionField.getLong(null));
        }
    
        /**
         * Test that all label constants follow the naming convention
         */
        @Test
        public void test_labelConstantsNamingConvention() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            int capability = bb.getInt();
    
            // Reserved (4 bytes) - skip
            bb.getInt();
    
            // LinkSpeed (8 bytes) - in bits per second
            long linkSpeedBps = bb.getLong();
    
            // Parse sockaddr structure (starts at offset + 24)
            InetAddress addr = parseSockaddr(data, offset + 24);
    
            if (addr == null) {
                return null;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
            ByteBuffer bb = ByteBuffer.wrap(bytes);
            long mostSig = bb.getLong();
            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
        }
        
        public byte[] toBytes() {
            ByteBuffer bb = ByteBuffer.allocate(16);
            bb.putLong(guid.getMostSignificantBits());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

             */
            for (i = 0; i < strideLimit; i += stride) {
              long lw = theUnsafe.getLong(left, BYTE_ARRAY_BASE_OFFSET + (long) i);
              long rw = theUnsafe.getLong(right, BYTE_ARRAY_BASE_OFFSET + (long) i);
              if (lw != rw) {
                if (BIG_ENDIAN) {
                  return Long.compareUnsigned(lw, rw);
                }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
Back to Top