Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for asia (0.11 sec)

  1. src/time/zoneinfo_unix_test.go

    	}{
    		// no $TZ means use the system default /etc/localtime.
    		{true, "", localZoneName},
    		// $TZ="" means use UTC.
    		{false, "", "UTC"},
    		{false, ":", "UTC"},
    		{false, "Asia/Shanghai", "Asia/Shanghai"},
    		{false, ":Asia/Shanghai", "Asia/Shanghai"},
    		{false, "/etc/localtime", localZoneName},
    		{false, ":/etc/localtime", localZoneName},
    	}
    
    	for _, c := range cases {
    		time.ResetLocalOnceForTest()
    		if c.nilFlag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    		{"test-getobjectinfo", "Asia/myfile", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Asia/myfile"}, false},
    		// Valid case with existing object (Test number 12).
    		{"test-getobjectinfo", "Asia/asiapics.jpg", resultCases[0], nil, true},
    		{"test-getobjectinfo", "Asia/empty-dir/", resultCases[1], nil, true},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. tests/docker-compose.yml

      postgres:
        image: 'postgres:latest'
        ports:
          - "9920:5432"
        environment:
          - TZ=Asia/Shanghai
          - POSTGRES_DB=gorm
          - POSTGRES_USER=gorm
          - POSTGRES_PASSWORD=gorm
      mssql:
        image: '${MSSQL_IMAGE:-mcmoe/mssqldocker}:latest'
        ports:
          - "9930:1433"
        environment:
          - TZ=Asia/Shanghai
          - ACCEPT_EULA=Y
          - SA_PASSWORD=LoremIpsum86
          - MSSQL_DB=gorm
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 08:28:46 UTC 2024
    - 862 bytes
    - Viewed (0)
  4. .github/workflows/tests.yml

        services:
          postgres:
            image: ${{ matrix.dbversion }}
            env:
              POSTGRES_PASSWORD: gorm
              POSTGRES_USER: gorm
              POSTGRES_DB: gorm
              TZ: Asia/Shanghai
            ports:
              - 9920:5432
            # Set health checks to wait until postgres has started
            options: >-
              --health-cmd pg_isready
              --health-interval 10s
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/math/asin.go

    	They are implemented by computing the arctangent
    	after appropriate range reduction.
    */
    
    // Asin returns the arcsine, in radians, of x.
    //
    // Special cases are:
    //
    //	Asin(±0) = ±0
    //	Asin(x) = NaN if x < -1 or x > 1
    func Asin(x float64) float64 {
    	if haveArchAsin {
    		return archAsin(x)
    	}
    	return asin(x)
    }
    
    func asin(x float64) float64 {
    	if x == 0 {
    		return x // special case
    	}
    	sign := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/fess/ro/stopwords.txt

    acei
    aceia
    acel
    acela
    acele
    acelea
    acest
    acesta
    aceste
    acestea
    aceşti
    aceştia
    acolo
    acum
    ai
    aia
    aibă
    aici
    al
    ăla
    ale
    alea
    ălea
    altceva
    altcineva
    am
    ar
    are
    aş
    aşadar
    asemenea
    asta
    ăsta
    astăzi
    astea
    ăstea
    ăştia
    asupra
    aţi
    au
    avea
    avem
    aveţi
    azi
    bine
    bucur
    bună
    ca
    că
    căci
    când
    care
    cărei
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  10. src/math/cmplx/asin.go

    // Larger relative error can be observed for z near zero.
    // Also tested by csin(casin(z)) = z.
    
    // Asin returns the inverse sine of x.
    func Asin(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    	case im == 0 && math.Abs(re) <= 1:
    		return complex(math.Asin(re), im)
    	case re == 0 && math.Abs(im) <= 1:
    		return complex(re, math.Asinh(im))
    	case math.IsNaN(im):
    		switch {
    		case re == 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 5.9K bytes
    - Viewed (0)
Back to top