Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for fileSize (0.28 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            return ("SmbComQueryInformationResponse[" + super.toString() + ",fileAttributes=0x" + Hexdump.toHexString(fileAttributes, 4)
                    + ",lastWriteTime=" + new Date(lastWriteTime) + ",fileSize=" + fileSize + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return ("SmbComQueryInformationResponse[" + super.toString() + ",fileAttributes=0x" + Hexdump.toHexString(this.fileAttributes, 4)
                    + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",fileSize=" + this.fileSize + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

         *
         * @param offset file offset
         * @param length operation length
         * @param fileSize total file size
         * @throws SmbException if parameters are invalid
         */
        public void validateFileOperation(long offset, long length, long fileSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (offset < 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
            // Read the data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of getSize method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetSize() {
            // Initially, fileSize should be 0.
            assertEquals(0, response.getSize());
        }
    
        /**
         * Test of writeParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                    try {
                        h.send(seekReq, seekResp);
                        if (log.isDebugEnabled() && seekResp.getOffset() != fileSize) {
                            log.debug(String.format("Open returned wrong size %d != %d", fileSize, seekResp.getOffset()));
                        }
                        fileSize = seekResp.getOffset();
                    } catch (final Exception e) {
                        log.debug("Seek failed", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/InfoTest.java

            lastWrite.setAccessible(true);
            lastWrite.setLong(resp, 1630000000000L);
            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
            size.setAccessible(true);
            size.setInt(resp, 2048);
    
            assertEquals(0xABCD, resp.getAttributes());
            assertEquals(1630000001000L, resp.getCreateTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/ExecJob.java

            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
            buf.append(":utctime,pid,tags:filecount=5,filesize=64m");
            return jvmOptions(buf.toString());
        }
    
        /**
         * Adds JVM options for this job execution.
         *
         * @param options the JVM options to add
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            long time = System.currentTimeMillis();
            BigInteger filetime = BigInteger.valueOf(time)
                    .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601))
                    .multiply(BigInteger.valueOf(10000L));
    
            byte[] data = new byte[8];
            long low = filetime.longValue();
            long high = filetime.shiftRight(32).longValue();
    
            // write little-endian
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test date conversion from FILETIME")
        void testFiletimeConversion() throws Exception {
            // Test the FILETIME conversion logic
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write a known FILETIME value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top