Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 193 for mktime (0.21 sec)

  1. src/archive/zip/testdata/time-7zip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 150 bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    }
    
    // StatInfo - carries stat information of the object.
    type StatInfo struct {
    	Size    int64     `json:"size"`    // Size of the object `xl.meta`.
    	ModTime time.Time `json:"modTime"` // ModTime of the object `xl.meta`.
    	Name    string    `json:"name"`
    	Dir     bool      `json:"dir"`
    	Mode    uint32    `json:"mode"`
    }
    
    // ErasureInfo holds erasure coding and bitrot related information.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. api/except.txt

    pkg os, method (FileMode) IsRegular() bool
    pkg os, method (FileMode) Perm() FileMode
    pkg os, method (FileMode) String() string
    pkg os, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg os, type FileInfo interface, IsDir() bool
    pkg os, type FileInfo interface, ModTime() time.Time
    pkg os, type FileInfo interface, Mode() FileMode
    pkg os, type FileInfo interface, Name() string
    pkg os, type FileInfo interface, Size() int64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    			}
    			fieldBuf.uint32()              // AcTime (ignored)
    			ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch
    			modified = time.Unix(ts, 0)
    		case extTimeExtraID:
    			if len(fieldBuf) < 5 || fieldBuf.uint8()&1 == 0 {
    				continue parseExtras
    			}
    			ts := int64(fieldBuf.uint32()) // ModTime since Unix epoch
    			modified = time.Unix(ts, 0)
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    	if err != nil {
    		return FileInfoVersions{}, err
    	}
    
    	return FileInfoVersions{
    		Volume:        volume,
    		Name:          path,
    		Versions:      versions,
    		LatestModTime: versions[0].ModTime,
    	}, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    }
    
    // SetPredictionHeaders sets time to expiry and transition headers on w for a
    // given obj.
    func (lc Lifecycle) SetPredictionHeaders(w http.ResponseWriter, obj ObjectOpts) {
    	event := lc.eval(obj, time.Time{})
    	switch event.Action {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. internal/store/queuestore.go

    	sort.Slice(files, func(i, j int) bool {
    		ii, err := files[i].Info()
    		if err != nil {
    			return false
    		}
    		ji, err := files[j].Info()
    		if err != nil {
    			return true
    		}
    		return ii.ModTime().Before(ji.ModTime())
    	})
    
    	return files, nil
    }
    
    // Extension will return the file extension used
    // for the items stored in the queue.
    func (store *QueueStore[_]) Extension() string {
    	return store.fileExt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. docs/debugging/pprofgoparser/main.go

    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1_gen.go

    			}
    		case "ActualSize":
    			z.ActualSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ActualSize")
    				return
    			}
    		case "ModTime":
    			z.ModTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "index":
    			z.Index, err = dc.ReadBytes(z.Index)
    			if err != nil {
    				err = msgp.WrapError(err, "Index")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-utils_test.go

    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	xl := xlMetaV2{}
    	var versions []FileInfo
    	var freeVersionIDs []string
    	for i := 0; i < 5; i++ {
    		fi := basefi
    		fi.VersionID = mustGetUUID()
    		fi.DataDir = mustGetUUID()
    		fi.ModTime = basefi.ModTime.Add(time.Duration(i) * time.Second)
    		if err := xl.AddVersion(fi); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top