Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for date (0.3 sec)

  1. cmd/post-policy_test.go

    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    	// Add the date condition, only accept the current date.
    	dateConditionStr := fmt.Sprintf(`["eq", "$x-amz-date", "%s"]`, t.Format(iso8601DateFormat))
    	// Add the credential string, only accept the credential passed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    	t, e := time.Parse(iso8601Format, date)
    	if e != nil {
    		return ErrMalformedDate
    	}
    
    	// Query string.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/main/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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java

            versions = new LinkedHashMap<>();
            processedVersions = new LinkedHashMap<>();
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java

        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String {
        return formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))
      }
    
      private fun formatDate(date: Date): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        private final Path path;
    
        protected final Date timestamp;
    
        private boolean merged;
    
        @Deprecated
        protected MavenMetadata(Metadata metadata, File file, Date timestamp) {
            this(metadata, file != null ? file.toPath() : null, timestamp);
        }
    
        protected MavenMetadata(Metadata metadata, Path path, Date timestamp) {
            this.metadata = metadata;
            this.path = path;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java

        private final Integer buildNumber;
    
        RemoteSnapshotMetadata(Artifact artifact, Date timestamp, Integer buildNumber) {
            super(createRepositoryMetadata(artifact), null, timestamp);
            this.buildNumber = buildNumber;
        }
    
        private RemoteSnapshotMetadata(Metadata metadata, Path path, Date timestamp, Integer buildNumber) {
            super(metadata, path, timestamp);
            this.buildNumber = buildNumber;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            }
        }
    
        private final PluginInfo pluginInfo;
    
        PluginsMetadata(PluginInfo pluginInfo, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), (Path) null, timestamp);
            this.pluginInfo = pluginInfo;
        }
    
        PluginsMetadata(PluginInfo pluginInfo, Path path, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), path, timestamp);
            this.pluginInfo = pluginInfo;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top