Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,864 for longp (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.saturatedCast((long) value)).isEqualTo(value);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/BadWord.java

    public class BadWord extends BsBadWord {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

            void testSetFileTimes() throws CIFSException {
                // Given
                long currentTime = System.currentTimeMillis();
                long createTime = currentTime - 2000;
                long lastModified = currentTime - 1000;
                long lastAccess = currentTime;
    
                // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            return wasInUse;
        }
    
        @Override
        protected long makeKey(final Request request) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
            if (!this.smb2) {
                m = m % 32000;
            }
            ((CommonServerMessageBlock) request).setMid(m);
            return m;
        }
    
        @Override
        protected Long peekKey() throws IOException {
            do {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         */
        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
    
        // Getters and setters
    
        /**
         * Gets the last heartbeat timestamp.
         *
         * @return the last heartbeat timestamp in milliseconds
         */
        public long getLastHeartbeat() {
            return lastHeartbeat;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[8];
            long value = 0x123456789ABCDEF0L;
            ServerMessageBlock.writeInt8(value, buffer, 0);
            assertEquals(value, ServerMessageBlock.readInt8(buffer, 0));
        }
    
        @Test
        void testTimeReadWrite() {
            byte[] buffer = new byte[8];
            long time = System.currentTimeMillis();
            ServerMessageBlock.writeTime(time, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 16);
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 24);
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 32);
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // Max allocation size
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // Max end of file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * Default constructor for decoding file system full size information.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ConfigTest.java

        }
    
        @Test
        @DisplayName("Should get long property with default value")
        void testGetLongWithDefault() {
            assertEquals(1234567890123L, Config.getLong(testProperties, "test.long", 0L));
            assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L));
        }
    
        @Test
        @DisplayName("Should get InetAddress property with default value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            long flags = 0x1234567890ABCDEFL;
            request.setSmbCreateFlags(flags);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Verify flags are written at correct offset (8-15)
            long readFlags = 0;
            for (int i = 0; i < 8; i++) {
                readFlags |= ((long) (buffer[8 + i] & 0xFF)) << (i * 8);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top