Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for timestamp (0.27 sec)

  1. cmd/erasure-multipart.go

    	// Need a unique name for the part being written in minioMetaBucket to
    	// accommodate concurrent PutObjectPart requests
    
    	partSuffix := fmt.Sprintf("part.%d", partID)
    	// Random UUID and timestamp for temporary part file.
    	tmpPart := fmt.Sprintf("%sx%d", mustGetUUID(), time.Now().UnixNano())
    	tmpPartPath := pathJoin(tmpPart, partSuffix)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/notification.go

    		}
    	}
    
    	replicationStatsList := globalReplicationStats.GetAll()
    	bucketStatsMap := BucketStatsMap{
    		Stats:     make(map[string]BucketStats, len(replicationStatsList)),
    		Timestamp: UTCNow(),
    	}
    	for k, replicationStats := range replicationStatsList {
    		bucketStatsMap.Stats[k] = BucketStats{
    			ReplicationStats: replicationStats,
    			ProxyStats:       globalReplicationStats.getProxyStats(k),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/analyzer_test.go

    package authz
    
    import (
    	"bytes"
    	"reflect"
    	"testing"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	"google.golang.org/protobuf/types/known/anypb"
    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  5. internal/s3select/json/record.go

    	var v interface{}
    	if b, ok := value.ToBool(); ok {
    		v = b
    	} else if f, ok := value.ToFloat(); ok {
    		v = f
    	} else if i, ok := value.ToInt(); ok {
    		v = i
    	} else if t, ok := value.ToTimestamp(); ok {
    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    		ver := &x.versions[i]
    		_, err = ver.header.unmarshalV(headerV, hdr)
    		if err != nil {
    			return err
    		}
    		ver.meta = meta
    
    		// Fix inconsistent x-minio-internal-replication-timestamp by loading and reindexing.
    		if metaV < 2 && ver.header.Type == DeleteType {
    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    				// Only reindex if set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/admin-handlers-users.go

    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    // response is to return only the policy JSON. The newer response returns
    // timestamps along with the policy JSON. Both versions are supported for now,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              signatureMismatch,
    		},
    		// Test case - 10
    		// Different date (timestamps) used in seed signature calculation
    		// and chunks signature calculation.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. tests/serializer_test.go

    	JobInfo                Job                    `gorm:"type:bytes;serializer:gob"`
    	CreatedTime            int64                  `gorm:"serializer:unixtime;type:timestamptz"` // store time in db, use int as field type
    	UpdatedTime            *int64                 `gorm:"serializer:unixtime;type:timestamptz"` // store time in db, use int as field type
    	CustomSerializerString string                 `gorm:"serializer:custom"`
    	EncryptedString        EncryptedString
    }
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 21 14:09:38 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top