Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for asin (6.32 sec)

  1. src/math/cmplx/sin.go

    //
    // then
    //
    //     w = sin x  cosh y  +  i cos x sinh y.
    //
    // csin(z) = -i csinh(iz).
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    DEC       -10,+10      8400       5.3e-17     1.3e-17
    //    IEEE      -10,+10     30000       3.8e-16     1.0e-16
    // Also tested by csin(casin(z)) = z.
    
    // Sin returns the sine of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt

    [msan] ! go install -msan triv.go
    [msan] stderr '-msan requires cgo'
    [msan] ! stderr '-race'
    
    [asan] ! go install -asan triv.go
    [asan] stderr '(-asan: the version of $(go env CC) could not be parsed)|(-asan: C compiler is not gcc or clang)|(-asan is not supported with [A-Za-z]+ compiler (\d+)\.(\d+))|(-asan requires cgo)'
    [asan] ! stderr '-msan'
    
    -- triv.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 626 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	// The asan tests require support for the -asan option.
    	if !platform.ASanSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; -asan option is not supported.", goos, goarch)
    	}
    	// The current implementation is only compatible with the ASan library from version
    	// v7 to v9 (See the description in src/runtime/asan/asan.go). Therefore, using the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/math/sincos.go

    	}
    
    	zz := z * z
    	cos = 1.0 - 0.5*zz + zz*zz*((((((_cos[0]*zz)+_cos[1])*zz+_cos[2])*zz+_cos[3])*zz+_cos[4])*zz+_cos[5])
    	sin = z + z*zz*((((((_sin[0]*zz)+_sin[1])*zz+_sin[2])*zz+_sin[3])*zz+_sin[4])*zz+_sin[5])
    	if j == 1 || j == 2 {
    		sin, cos = cos, sin
    	}
    	if cosSign {
    		cos = -cos
    	}
    	if sinSign {
    		sin = -sin
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/internal/asan/doc.go

    // license that can be found in the LICENSE file.
    
    // Package asan contains helper functions for manually instrumenting
    // code for the address sanitizer.
    // The runtime package intentionally exports these functions only in the
    // asan build; this package exports them unconditionally but without the
    // "asan" build tag they are no-ops.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 460 bytes
    - Viewed (0)
  6. src/runtime/asan0.go

    // license that can be found in the LICENSE file.
    
    //go:build !asan
    
    // Dummy ASan support API, used when not built with -asan.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    const asanenabled = false
    
    // Because asanenabled is false, none of these functions should be called.
    
    func asanread(addr unsafe.Pointer, sz uintptr)            { throw("asan") }
    func asanwrite(addr unsafe.Pointer, sz uintptr)           { throw("asan") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 760 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/internal/asan/noasan.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !asan
    
    package asan
    
    import (
    	"unsafe"
    )
    
    const Enabled = false
    
    func Read(addr unsafe.Pointer, len uintptr) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 333 bytes
    - Viewed (0)
  10. 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)
Back to top