Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 627 for mtime (0.09 sec)

  1. cmd/ftp-server-driver.go

    	return m.info.Size
    }
    
    func (m *minioFileInfo) Mode() os.FileMode {
    	if m.isDir {
    		return os.ModeDir
    	}
    	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
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-utils_test.go

    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	xl := xlMetaV2{}
    	var versions []FileInfo
    	var allVersionIDs, 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        }
    
    
        /**
         * @param time
         * @return
         */
        private long convertTime ( long time ) {
            return time + this.serverTimeZoneOffset;
        }
    
    
        @Override
        public long getLastWriteTime () {
            return convertTime(this.lastWriteTime);
        }
    
    
        @Override
        public long getLastAccessTime () {
            // Fake access time
            return convertTime(this.lastWriteTime);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. cmd/signals.go

    	"context"
    	"errors"
    	"net/http"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/coreos/go-systemd/v22/daemon"
    	"github.com/minio/minio/internal/logger"
    )
    
    func shutdownHealMRFWithTimeout() {
    	const shutdownTimeout = time.Minute
    
    	finished := make(chan struct{})
    	go func() {
    		globalMRFState.shutdown()
    		close(finished)
    	}()
    	select {
    	case <-time.After(shutdownTimeout):
    	case <-finished:
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                    }
                }
                return -1;
            }
        }
    
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    func (role Role) IsAdmin() bool {
    	return role.Name == "admin"
    }
    
    type EmptyTime struct {
    	time.Time
    }
    
    func (t *EmptyTime) Scan(v interface{}) error {
    	nullTime := sql.NullTime{}
    	err := nullTime.Scan(v)
    	t.Time = nullTime.Time
    	return err
    }
    
    func (t EmptyTime) Value() (driver.Value, error) {
    	return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    func getScope(t time.Time, region string) string {
    	scope := strings.Join([]string{
    		t.Format(yyyymmdd),
    		region,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    	return scope
    }
    
    // getStringToSign a string based on selected query values.
    func getStringToSign(canonicalRequest string, t time.Time, scope string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. internal/store/batch_test.go

    		Store:         store,
    		CommitTimeout: 5 * time.Minute,
    		Log: func(ctx context.Context, err error, id string, errKind ...interface{}) {
    			t.Log([]any{err, id, errKind}...)
    		},
    	})
    
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(testItem); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    	}
    
    	batch.Close()
    	time.Sleep(1 * time.Second)
    
    	batchLen := batch.Len()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                        i_in_24 = selected.hour() >= 12 ? (i == 12 ? 12 : i + 12) : (i == 12 ? 0 : i);
    
                    var time = selected.clone().hour(i_in_24);
                    var disabled = false;
                    if (minDate && time.minute(59).isBefore(minDate))
                        disabled = true;
                    if (maxDate && time.minute(0).isAfter(maxDate))
                        disabled = true;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. cmd/iam-object-store.go

    			}
    			retries--
    			if retries <= 0 {
    				return err
    			}
    			time.Sleep(500 * time.Millisecond)
    			goto retry
    		}
    
    		var p PolicyDoc
    		err = p.parseJSON(data)
    		if err != nil {
    			return err
    		}
    
    		if p.Version == 0 {
    			// This means that policy was in the old version (without any
    			// timestamp info). We fetch the mod time of the file and save
    			// that as create and update date.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top