Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for minification (0.18 sec)

  1. src/archive/zip/struct.go

    	fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)
    	fTime = uint16(t.Second()/2 + t.Minute()<<5 + t.Hour()<<11)
    	return
    }
    
    // ModTime returns the modification time in UTC using the legacy
    // [ModifiedDate] and [ModifiedTime] fields.
    //
    // Deprecated: Use [Modified] instead.
    func (h *FileHeader) ModTime() time.Time {
    	return msDosTimeToTime(h.ModifiedDate, h.ModifiedTime)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. cmd/api-router.go

    	return h&flag != 0
    }
    
    // s3APIMiddleware - performs some common handler functionality for S3 API
    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    // behavior modification via flags.
    //
    // This middleware always calls `collectAPIStats` to collect API stats.
    //
    // The passed in handler function must be a method of `objectAPIHandlers` for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	TaggingTimestamp = "tagging-timestamp"
    	// ObjectLockRetentionTimestamp - the last time a object lock metadata modification happened on this cluster for this object version
    	ObjectLockRetentionTimestamp = "objectlock-retention-timestamp"
    	// ObjectLockLegalHoldTimestamp - the last time a legal hold metadata modification happened on this cluster for this object version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. internal/disk/fdatasync_linux.go

    // unless that metadata is needed in order to allow a subsequent data retrieval
    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    // (respectively, time of last access and time of last modification; see inode(7))
    // do not require flushing because they are not necessary for a subsequent data
    // read to be handled correctly. On the other hand, a change to the file size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. internal/bucket/replication/rule.go

    		return errTagsDeleteMarkerReplicationDisallowed
    	}
    	return r.ExistingObjectReplication.Validate()
    }
    
    // MetadataReplicate  returns true if object is not a replica or in the case of replicas,
    // replica modification sync is enabled.
    func (r Rule) MetadataReplicate(obj ObjectOpts) bool {
    	if !obj.Replica {
    		return true
    	}
    	return obj.Replica && r.SourceSelectionCriteria.ReplicaModifications.Status == Enabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    type ReadMultipleReq struct {
    	Bucket       string   // Bucket. Can be empty if multiple buckets.
    	Prefix       string   // Shared prefix of all files. Can be empty. Will be joined to filename without modification.
    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    	MetadataOnly bool     // Read as XL meta and truncate data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. internal/bucket/replication/sourceselectioncriteria.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"encoding/xml"
    )
    
    // ReplicaModifications specifies if replica modification sync is enabled
    type ReplicaModifications struct {
    	Status Status `xml:"Status" json:"Status"`
    }
    
    // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. cmd/update.go

    	}
    	if fields[0] != "RELEASE" {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	return time.Parse(MinioReleaseTagTimeLayout, fields[1])
    }
    
    // getModTime - get the file modification time of `path`
    func getModTime(path string) (t time.Time, err error) {
    	// Convert to absolute path
    	absPath, err := filepath.Abs(path)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// verify the status of the HTTP response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// retrieve the info of last modification time of the object from the response header.
    	lastModified := response.Header.Get("Last-Modified")
    	// Parse it into time.Time structure.
    	t, err := time.Parse(http.TimeFormat, lastModified)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. internal/bucket/replication/rule_test.go

    	"fmt"
    	"testing"
    )
    
    func TestMetadataReplicate(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.6K bytes
    - Viewed (0)
Back to top