- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 963 for REAL (0.05 sec)
-
src/cmd/compile/internal/types2/builtins_test.go
{"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`}, {"real", `var c complex128; _ = real(c)`, `func(complex128) float64`}, {"real", `type C64 complex64; var c C64; _ = real(c)`, `func(p.C64) float32`}, {"real", `type C128 complex128; var c C128; _ = real(c)`, `func(p.C128) float64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/go/types/builtins_test.go
{"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`}, {"real", `var c complex128; _ = real(c)`, `func(complex128) float64`}, {"real", `type C64 complex64; var c C64; _ = real(c)`, `func(p.C64) float32`}, {"real", `type C128 complex128; var c C128; _ = real(c)`, `func(p.C128) float64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
src/crypto/cipher/example_test.go
"fmt" "io" "os" ) func ExampleNewGCM_encrypt() { // Load your secret key from a safe place and reuse it across multiple // Seal/Open calls. (Obviously don't use this example key for anything // real.) If you want to convert a passphrase to a key, use a suitable // package like bcrypt or scrypt. // When decoded the key should be 16 bytes (AES-128) or 32 (AES-256).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 30 16:23:44 UTC 2018 - 11.8K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
var c64 complex64 var c128 complex128 _ = real() // ERROR "not enough arguments" _ = real(1, 2) // ERROR "too many arguments" _ = real(10) _ = real(2.7182818) _ = real("foo" /* ERROR "expected complex" */) const _5 = real(1 + 2i) assert(_5 == 1) f32 = _5 f64 = _5 const _6 = real(0i) assert(_6 == 0) f32 = real(c64) f64 = real(c128) f32 = real /* ERRORx `cannot use .* in assignment` */ (c128)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/go/constant/example_test.go
b := constant.MakeUint64(11) c := constant.BinaryOp(a, token.MUL, b) // Convert c into a complex128. Ar, exact := constant.Float64Val(constant.Real(c)) if !exact { fmt.Printf("Could not represent real part %s exactly as float64\n", constant.Real(c)) } Ai, exact := constant.Float64Val(constant.Imag(c)) if !exact { fmt.Printf("Could not represent imaginary part %s as exactly as float64\n", constant.Imag(c)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.5K bytes - Viewed (0) -
tools/docker-builder/crane.go
// docker context is virtual, so we need to rewrite the "docker context source" to the real path of disk plan := a.PlanFor(arch).Find(args.Name) if plan == nil { continue } // Plan is a list of real file paths, but we don't have a strong mapping from "docker context source" // to "real path on disk". We do have a weak mapping though, by reproducing docker-copy.sh for dest, src := range args.Files {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 01:07:39 UTC 2023 - 6K bytes - Viewed (0) -
test/gcgort.go
for i := 0; i < mods; i++ { c = complex(real(c)*1.01, imag(c)*1.01) runtime.Gosched() } }, pointerT: func() { a := func() *complex64 { return new(complex64) }() *a = complex64(complex(float32(1.01), float32(1.01))) for i := 0; i < mods; i++ { *a *= complex(real(*a)*1.01, imag(*a)*1.01) runtime.Gosched() } }, arrayT: func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 21:15:48 UTC 2018 - 34.5K bytes - Viewed (0) -
.github/workflows/mint/nginx-8-node.conf
proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/proxy/ipvs/util/testing/fake.go
exist = true break } } // Not Found if !exist { return fmt.Errorf("failed to delete real server for service %v, real server not found", key.String()) } return nil } // UpdateRealServer is a fake implementation, it deletes the old real server then add new real server func (f *FakeIPVS) UpdateRealServer(serv *utilipvs.VirtualServer, dest *utilipvs.RealServer) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
#include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h" using namespace mlir; using namespace mlir::quantfork; /// Converts a possible primitive, real expressed value attribute to a /// corresponding storage attribute (typically FloatAttr -> IntegerAttr). /// quantizedElementType is the QuantizedType that describes the expressed /// origValue.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0)