Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for asia (0.17 sec)

  1. src/time/tzdata_test.go

    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"reflect"
    	"testing"
    	"time"
    	_ "time/tzdata"
    )
    
    var zones = []string{
    	"Asia/Jerusalem",
    	"America/Los_Angeles",
    }
    
    func TestEmbeddedTZData(t *testing.T) {
    	undo := time.DisablePlatformSources()
    	defer undo()
    
    	for _, zone := range zones {
    		ref, err := time.LoadLocation(zone)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. tests/tests_test.go

    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	postgresDSN  = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai"
    	sqlserverDSN = "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm"
    	tidbDSN      = "root:@tcp(localhost:9940)/test?charset=utf8&parseTime=True&loc=Local"
    )
    
    func init() {
    	var err error
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		{
    			bucketNames[0], "Asia", "europe-object", "", "", 0,
    			ListMultipartsInfo{KeyMarker: "europe-object", Prefix: "Asia", IsTruncated: false},
    			nil, true,
    		},
    		// Setting an invalid combination of uploadIDMarker and Marker (Test number 11-12).
    		{
    			bucketNames[0], "asia", "asia/europe/", "abc", "", 0,
    			ListMultipartsInfo{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  4. pkg/registry/batch/cronjob/strategy_test.go

    		},
    	}
    	validCronjobSpec = batch.CronJobSpec{
    		Schedule:          "5 5 * * ?",
    		ConcurrencyPolicy: batch.AllowConcurrent,
    		TimeZone:          ptr.To("Asia/Shanghai"),
    		JobTemplate: batch.JobTemplateSpec{
    			Spec: batch.JobSpec{
    				Template:       validPodTemplateSpec,
    				CompletionMode: completionModePtr(batch.IndexedCompletion),
    				Completions:    ptr.To[int32](10),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/time/time_test.go

    	undo := DisablePlatformSources()
    	defer undo()
    
    	loc, err := LoadLocation("Asia/Shanghai")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := [...]struct {
    		give Time
    		want Time
    	}{
    		// 14 Apr 1991 - Daylight Saving Time Started
    		// When time of "Asia/Shanghai" was about to reach
    		// Sunday, 14 April 1991, 02:00:00 clocks were turned forward 1 hour to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. pkg/test/loadbalancersim/lb_test.go

    	numClients := 1
    	clientRPS := 1500
    	clientRequests := 1500
    	activeRequestBias := 1.0
    	sameZone := locality.Parse("us-east/ny")
    	sameRegion := locality.Parse("us-east/boston")
    	otherRegion := locality.Parse("asia-east/hongkong")
    	priorityWeights := map[uint32]uint32{
    		0: 30,
    		1: 20,
    		2: 1,
    	}
    	networkLatencies := map[mesh.RouteKey]time.Duration{
    		{
    			Src:  sameZone,
    			Dest: sameZone,
    		}: 1 * time.Millisecond,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  8. cluster/images/etcd/Makefile

    IMAGE_SUFFIX.linux = $(OS)-$(ARCH)
    IMAGE_SUFFIX.windows = $(OS)-$(ARCH)-$(OSVERSION)
    IMAGE_SUFFIX := ${IMAGE_SUFFIX.${OS}}
    
    # Image should be pulled from registry.k8s.io, which will auto-detect
    # region (us, eu, asia, ...) and pull from the closest.
    REGISTRY?=registry.k8s.io
    # Images should be pushed to staging-k8s.gcr.io.
    PUSH_REGISTRY?=staging-k8s.gcr.io
    
    MANIFEST_IMAGE := $(PUSH_REGISTRY)/etcd
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    			shouldPass:         false,
    		},
    		// Test case - 5.
    		// Invalid upload id and marker combination.
    		{
    			bucket:             bucketName,
    			prefix:             "asia",
    			keyMarker:          "asia/europe/",
    			uploadIDMarker:     "abc",
    			delimiter:          "",
    			maxUploads:         "0",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. src/time/format_test.go

    // numeric time zones (for example, the Asia/Baghdad time zone
    // abbreviation got changed from AST to +03 in the 2017a tzdata
    // release); but we still want to make sure that the time package does
    // not get confused on systems with slightly older tzdata packages.
    func TestParseInLocation(t *testing.T) {
    
    	baghdad, err := LoadLocation("Asia/Baghdad")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top