Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for getLong (0.04 sec)

  1. guava/src/com/google/common/hash/LittleEndianByteArray.java

        if (usingVarHandle != null) {
          return usingVarHandle;
        }
    
        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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. 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
         */
        public void test_labelConstantsNamingConvention() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. 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;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                Field offField = Smb2ReadRequest.class.getDeclaredField("offset");
                offField.setAccessible(true);
                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        /**
         * Sentinel cache entry indicating a negative cache result
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

        private long getSerialVersionUID() {
            try {
                java.lang.reflect.Field field = FessMessages.class.getDeclaredField("serialVersionUID");
                field.setAccessible(true);
                return field.getLong(null);
            } catch (Exception e) {
                fail("Failed to get serialVersionUID: " + e.getMessage());
                return -1;
            }
        }
    
        // Test error message methods without parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

        checkArgument(
            buffer.remaining() >= BYTES,
            "Expected at least Stats.BYTES = %s remaining , got %s",
            BYTES,
            buffer.remaining());
        return new Stats(
            buffer.getLong(),
            buffer.getDouble(),
            buffer.getDouble(),
            buffer.getDouble(),
            buffer.getDouble());
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top