Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for timestamp (0.21 sec)

  1. internal/s3select/sql/funceval.go

    	tval1, err := d.Timestamp1.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	if err = inferTypeAsTimestamp(tval1); err != nil {
    		return nil, err
    	}
    	ts1, ok := tval1.ToTimestamp()
    	if !ok {
    		return nil, fmt.Errorf("%s() expects two timestamp arguments", sqlFnDateDiff)
    	}
    
    	tval2, err := d.Timestamp2.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    		`|(?P<Ident>[a-zA-Z_][a-zA-Z0-9_]*)` +
    		`|(?P<QuotIdent>"([^"]*("")?)*")` +
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    	// If Modified is set, this takes precedence over MS-DOS timestamp fields.
    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    			return 0, false
    		}
    		sort.Slice(exp, byResourceUID{exp}.Less)
    		sort.Slice(got, byResourceUID{got}.Less)
    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    	got := string(v.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp])
    	if wantTimeStamp != got {
    		t.Errorf("Wrong timestamp, want %v, got %v", wantTimeStamp, got)
    	}
    	got = string(v.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp])
    	if wantTimeStamp != got {
    		t.Errorf("Wrong timestamp, want %v, got %v", wantTimeStamp, got)
    	}
    }
    
    func Test_mergeXLV2Versions(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    	Writer          bool      // Bool whether write or read lock.
    	UID             string    // UID to uniquely identify request of client.
    	Timestamp       time.Time // Timestamp set at the time of initialization.
    	TimeLastRefresh time.Time // Timestamp for last lock refresh.
    	Source          string    // Contains line, function and filename requesting the lock.
    	Group           bool      // indicates if it was a group lock.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/event/target/redis.go

    	User       string    `json:"user"`
    	Key        string    `json:"key"`
    	QueueDir   string    `json:"queueDir"`
    	QueueLimit uint64    `json:"queueLimit"`
    }
    
    // RedisAccessEvent holds event log data and timestamp
    type RedisAccessEvent struct {
    	Event     []event.Event
    	EventTime string
    }
    
    // Validate RedisArgs fields
    func (r RedisArgs) Validate() error {
    	if !r.Enable {
    		return nil
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/lock-rest-server-common_test.go

    		Owner:           "owner",
    		Writer:          true,
    		UID:             "0123-4567",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    	lockRequesterInfo2 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "89ab-cdef",
    		Timestamp:       UTCNow(),
    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. gorm.go

    	NamingStrategy schema.Namer
    	// FullSaveAssociations full save associations
    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// DisableAutomaticPing
    	DisableAutomaticPing bool
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. cmd/local-locker_gen.go

    				return
    			}
    		case "UID":
    			z.UID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "UID")
    				return
    			}
    		case "Timestamp":
    			z.Timestamp, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Timestamp")
    				return
    			}
    		case "TimeLastRefresh":
    			z.TimeLastRefresh, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "TimeLastRefresh")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top