Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for createFile (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile1.lastModified()).thenReturn(1000L);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20);
            when(mockFile1.createTime()).thenReturn(500L);
            when(mockFile1.lastAccess()).thenReturn(800L);
    
            when(mockFile2.getName()).thenReturn("dir1");
            when(mockFile2.length()).thenReturn(0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // Default instance
            assertEquals(0L, shareInfo.createTime());
            assertEquals(0L, shareInfo.lastModified());
            assertEquals(0L, shareInfo.lastAccess());
    
            // Instance with values - times are still 0
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(0L, info.createTime());
            assertEquals(0L, info.lastModified());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE
            when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000);
    
            when(mockFile2.getName()).thenReturn("subfolder");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(expResult, result);
        }
    
        /**
         * Test of createTime method, of class SmbShareInfo.
         */
        @Test
        void testCreateTime() {
            SmbShareInfo instance = new SmbShareInfo();
            long expResult = 0L;
            long result = instance.createTime();
            assertEquals(expResult, result);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/resources/mapping/data.json

          },
          "sessionId": {
            "type": "keyword"
          },
          "url": {
            "type": "keyword"
          },
          "executionTime": {
            "type": "long"
          },
          "createTime": {
            "type": "long"
          },
          "accessResultData": {
            "properties": {
              "transformerName": {
                "type": "keyword"
              },
              "encoding": {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

         *
         * @return the creation time
         */
        Long getCreateTime();
    
        /**
         * Sets the creation time of the access result.
         *
         * @param createTime the creation time
         */
        void setCreateTime(Long createTime);
    
        /**
         * Returns the execution time of the access.
         *
         * @return the execution time
         */
        Integer getExecutionTime();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         */
        Long getCreateTime();
    
        /**
         * Sets the creation time of the URL queue.
         *
         * @param createTime the creation time to set, represented as a Long value.
         */
        void setCreateTime(Long createTime);
    
        /**
         * Retrieves the weight of the URL queue.
         *
         * @return the weight as a float value.
         */
        float getWeight();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

            this.directoryPath = path;
            this.leaseKey = key;
            this.scope = scope;
            this.createTime = System.currentTimeMillis();
            this.lastUpdateTime = createTime;
            this.lastAccessTime = createTime;
            this.maxAge = 30000;  // 30 seconds default
            
            this.children = new ConcurrentHashMap<>();
            this.lock = new ReentrantReadWriteLock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                                        SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES, SmbConstants.FILE_NO_SHARE)) {
                    final long mtime = src.lastModified();
                    final long ctime = src.createTime();
                    final long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while (true) {
                        final int read = fis.read(b[i]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/FileEntry.java

         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the file size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
Back to top