Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for lastModifieds (0.61 sec)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            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());
            assertEquals(0L, info.lastAccess());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                this.artifact = ArtifactUtils.copyArtifact(artifact);
                if ("pom".equals(artifact.getType()) && file != null) {
                    pomHash = file.getPath().hashCode() + file.lastModified();
                } else {
                    pomHash = 0;
                }
                this.resolveManagedVersions = resolveManagedVersions;
                this.repositories.add(localRepository);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
         * set, the max age is preferred.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        public String getUpdatePolicy() {
            return updatePolicy;
        }
    
        public String getChecksumPolicy() {
            return checksumPolicy;
        }
    
        public boolean checkOutOfDate(Date lastModified) {
            boolean checkForUpdates = false;
    
            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            String directoryPath = "/test/integration";
    
            // Setup mock files
            when(mockFile1.getName()).thenReturn("document.txt");
            when(mockFile1.length()).thenReturn(2048L);
            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            when(mock.createTime()).thenReturn(1_500L);
            when(mock.lastModified()).thenReturn(1_800L);
            when(mock.length()).thenReturn(100L);
    
            assertEquals("test.txt", mock.getName());
            assertEquals(1, mock.getType());
            assertEquals(128, mock.getAttributes());
            assertEquals(1_500L, mock.createTime());
            assertEquals(1_800L, mock.lastModified());
            assertEquals(100L, mock.length());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    	}
    	return os.ModePerm
    }
    
    var minFileDate = time.Date(1980, 1, 1, 0, 0, 0, 0, time.UTC) // Workaround for Filezilla
    
    func (m *minioFileInfo) ModTime() time.Time {
    	if !m.info.LastModified.IsZero() {
    		return m.info.LastModified
    	}
    	return minFileDate
    }
    
    func (m *minioFileInfo) IsDir() bool {
    	return m.isDir
    }
    
    func (m *minioFileInfo) Sys() any {
    	return nil
    }
    
    //msgp:ignore ftpMetrics
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(expResult, result);
        }
    
        /**
         * Test of lastModified method, of class SmbShareInfo.
         */
        @Test
        void testLastModified() {
            SmbShareInfo instance = new SmbShareInfo();
            long expResult = 0L;
            long result = instance.lastModified();
            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)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            long size = 1024L;
            long lastModified = System.currentTimeMillis();
            boolean isDirectory = false;
            long attributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
            long creationTime = System.currentTimeMillis() - 10000;
            long lastAccessTime = System.currentTimeMillis() - 5000;
    
            entry.updateChild(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    		setCommonHeaders(w)
    
    		// set object-related metadata headers
    		w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat))
    
    		if objInfo.ETag != "" {
    			w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top