Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for million (0.18 sec)

  1. schema/field.go

    		if field.DataType == Time {
    			field.AutoCreateTime = UnixTime
    		} else if strings.ToUpper(v) == "NANO" {
    			field.AutoCreateTime = UnixNanosecond
    		} else if strings.ToUpper(v) == "MILLI" {
    			field.AutoCreateTime = UnixMillisecond
    		} else {
    			field.AutoCreateTime = UnixSecond
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/site-replication/gen-oidc-sts-cred.go

    		ProviderURL:  "http://127.0.0.1:5556/dex",
    		RedirectURL:  "http://127.0.0.1:10000/oauth_callback",
    	}
    
    	oidcToken, err := cmd.MockOpenIDTestUserInteraction(ctx, appParams, "dillon@example.io", "dillon")
    	if err != nil {
    		log.Fatalf("Failed to generate OIDC token: %v", err)
    	}
    
    	roleARN := os.Getenv("ROLE_ARN")
    	webID := cr.STSWebIdentity{
    		Client:      &http.Client{},
    		STSEndpoint: endpoint,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    	assumeRole := cr.STSAssumeRole{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. tests/customize_field_test.go

    		AutoUnixCreateTime      int32  `gorm:"autocreatetime"`
    		AutoUnixMilliCreateTime int    `gorm:"autocreatetime:milli"`
    		AutoUnixNanoCreateTime  int64  `gorm:"autocreatetime:nano"`
    		AutoUnixUpdateTime      uint32 `gorm:"autoupdatetime"`
    		AutoUnixMilliUpdateTime int    `gorm:"autoupdatetime:milli"`
    		AutoUnixNanoUpdateTime  uint64 `gorm:"autoupdatetime:nano"`
    	}
    
    	DB.Migrator().DropTable(&CustomizeFieldStruct{})
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  6. internal/s3select/parquet/reader.go

    						return nil, errors.New("Invalid LogicalType annotation found")
    					}
    					value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    				}
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MILLIS {
    				duration := time.Duration(val) * time.Millisecond
    				value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MICROS {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    		metrics = []MetricV2{
    			{
    				Description: MetricDescription{
    					Namespace: nodeMetricNamespace,
    					Subsystem: iamSubsystem,
    					Name:      "last_sync_duration_millis",
    					Help:      "Last successful IAM data sync duration in milliseconds",
    					Type:      gaugeMetric,
    				},
    				Value: float64(atomic.LoadUint64(&globalIAMSys.LastRefreshDurationMilliseconds)),
    			},
    			{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top