Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for lastModified (0.21 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testTouchTime() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        temp.setLastModified(0);
        assertEquals(0, temp.lastModified());
        Files.touch(temp);
        assertThat(temp.lastModified()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirs_root() throws IOException {
        File file = root();
        assertNull(file.getParentFile());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  2. build.gradle.kts

            if (configuration.isCanBeResolved) {
              configuration.files
            }
          }
        }
      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
      }
    }
    
    /** Configure building for Java+Kotlin projects. */
    subprojects {
      val project = this@subprojects
      if (project.name == "okhttp-bom") return@subprojects
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testTouchTime() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        temp.setLastModified(0);
        assertEquals(0, temp.lastModified());
        Files.touch(temp);
        assertThat(temp.lastModified()).isNotEqualTo(0);
      }
    
      public void testCreateParentDirs_root() throws IOException {
        File file = root();
        assertNull(file.getParentFile());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("size", item.size());
                    map.put("directory", item.isDir());
                    if (!item.isDir()) {
                        map.put("lastModified", item.lastModified());
                        fileList.add(map);
                    } else {
                        list.add(map);
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. docs/debugging/s3-check-md5/main.go

    		for object := range s3Client.ListObjects(context.Background(), bucket, opts) {
    			if object.Err != nil {
    				log.Println("FAILED: LIST with error:", object.Err)
    				continue
    			}
    			if !minModTime.IsZero() && object.LastModified.Before(minModTime) {
    				continue
    			}
    			if object.IsDeleteMarker {
    				log.Println("SKIPPED: DELETE marker object:", objFullPath(object))
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. docs/debugging/s3-verify/main.go

    	nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) {
    		for {
    			ctnt, ok := <-ch
    			if !ok {
    				return minio.ObjectInfo{}, false
    			}
    			if ctnt.LastModified.Before(maxObjectModTime) {
    				return ctnt, ok
    			}
    		}
    	}
    
    	sclnt, err := buildS3Client(sourceEndpoint, sourceAccessKey, sourceSecretKey, insecure)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
                File touchfile = getTouchfile(artifact);
                lastCheckDate = readLastUpdated(touchfile, getRepositoryKey(repository));
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            File metadataFile = new File(localRepository.getBasedir(), metadataPath);
            return metadataFile.isFile() ? new Date(metadataFile.lastModified()) : null;
        }
    
        private void mergeMetadata(
                RepositoryMetadata metadata,
                List<ArtifactRepository> remoteRepositories,
                ArtifactRepository localRepository)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes_gen.go

    			z.PartNumber, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "PartNumber")
    				return
    			}
    		case "LastModified":
    			z.LastModified, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "LastModified")
    				return
    			}
    		case "ETag":
    			z.ETag, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ETag")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    					info:  minio.ObjectInfo{Key: bucket.Name, LastModified: bucket.CreationDate},
    					isDir: true,
    				})
    			}
    
    			return listerAt(files), nil
    		}
    
    		prefix = retainSlash(prefix)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top