Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,536 for Time (0.13 sec)

  1. cmd/site-replication.go

    		return nil
    	}
    	numSites := len(c.state.Peers)
    	mostRecent := func(d1, d2 time.Time) time.Time {
    		if d1.IsZero() {
    			return d2
    		}
    		if d2.IsZero() {
    			return d1
    		}
    		if d1.After(d2) {
    			return d1
    		}
    		return d2
    	}
    
    	var (
    		latestID   string
    		lastUpdate time.Time
    		withB      []string
    		missingB   []string
    		deletedCnt int
    	)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. internal/amztime/parse.go

    // extension for http.TimeFormat - return time might be zero
    // if the timeStr is invalid.
    func ParseHeader(timeStr string) (time.Time, error) {
    	for _, dateFormat := range httpTimeFormats {
    		t, err := time.Parse(dateFormat, timeStr)
    		if err == nil {
    			return t, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    // ParseReplicationTS parse http.TimeFormat first
    // will try time.RFC3339Nano when parse http.TimeFormat failed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. schema/model_test.go

    	Active    *bool
    }
    
    type (
    	mytime time.Time
    	myint  int
    	mybool = bool
    )
    
    type AdvancedDataTypeUser struct {
    	ID           sql.NullInt64
    	Name         *sql.NullString
    	Birthday     sql.NullTime
    	RegisteredAt mytime
    	DeletedAt    *mytime
    	Active       mybool
    	Admin        *mybool
    }
    
    type BaseModel struct {
    	ID        uint
    	CreatedAt time.Time
    	CreatedBy *int
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  4. cmd/metacache.go

    	// space - if you do so please run https://github.com/orijtech/structslop
    	// and verify if your changes are optimal.
    	ended        time.Time  `msg:"end"`
    	started      time.Time  `msg:"st"`
    	lastHandout  time.Time  `msg:"lh"`
    	lastUpdate   time.Time  `msg:"u"`
    	bucket       string     `msg:"b"`
    	filter       string     `msg:"flt"`
    	id           string     `msg:"id"`
    	error        string     `msg:"err"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java

        public static final TimeZone DEFAULT_BUILD_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
        private String formattedTimestamp;
    
        public MavenBuildTimestamp() {
            this(Instant.now());
        }
    
        public MavenBuildTimestamp(Instant time) {
            this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT);
        }
    
        public MavenBuildTimestamp(Instant time, Map<String, String> properties) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. internal/s3select/parquet/reader.go

    				var duration time.Duration
    				// Only support UTC normalized timestamps.
    				if ts.IsAdjustedToUTC {
    					switch {
    					case ts.Unit.IsSetNANOS():
    						duration = time.Duration(val) * time.Nanosecond
    					case ts.Unit.IsSetMILLIS():
    						duration = time.Duration(val) * time.Millisecond
    					case ts.Unit.IsSetMICROS():
    						duration = time.Duration(val) * time.Microsecond
    					default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. cmd/http-tracer.go

    			RequestRecorder:  reqRecorder,
    			ResponseRecorder: respRecorder,
    		}
    
    		r = r.WithContext(context.WithValue(r.Context(), mcontext.ContextTraceKey, &tc))
    
    		reqStartTime := time.Now().UTC()
    		h.ServeHTTP(respRecorder, r)
    		reqEndTime := time.Now().UTC()
    
    		if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 {
    			// no subscribers nothing to trace.
    			return
    		}
    
    		tt := madmin.TraceInternal
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics_test.go

    	return nil, nil
    }
    
    func (client mockPromAPI) LabelNames(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]string, promv1.Warnings, error) {
    	return nil, nil, nil
    }
    
    func (client mockPromAPI) LabelValues(context.Context, string, []string, time.Time, time.Time) (prometheus_model.LabelValues, promv1.Warnings, error) {
    	return nil, nil, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. schema/field.go

    		switch fieldValue.Elem().Interface().(type) {
    		case time.Time:
    			field.Set = func(ctx context.Context, value reflect.Value, v interface{}) error {
    				switch data := v.(type) {
    				case **time.Time:
    					if data != nil && *data != nil {
    						field.Set(ctx, value, *data)
    					}
    				case time.Time:
    					field.ReflectValueOf(ctx, value).Set(reflect.ValueOf(v))
    				case *time.Time:
    					if data != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  10. src/main/java/jcifs/SmbResource.java

    
        /**
         * Set the last access time of the file. The time is specified as milliseconds
         * from Jan 1, 1970 which is the same as that which is returned by the
         * <tt>lastAccess()</tt> method.
         * <br>
         * This method does not apply to workgroups, servers, or shares.
         *
         * @param time
         *            the last access time as milliseconds since Jan 1, 1970
         * @throws CIFSException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
Back to top