Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 855 for REAL (0.05 sec)

  1. 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)
  2. 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)
  3. .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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/strconv/ctoa.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strconv
    
    // FormatComplex converts the complex number c to a string of the
    // form (a+bi) where a and b are the real and imaginary parts,
    // formatted according to the format fmt and precision prec.
    //
    // The format fmt and precision prec have the same meaning as in [FormatFloat].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/graceful_termination_test.go

    					{
    						IP:       "1.1.1.1",
    						Port:     80,
    						Protocol: "udp",
    					}: {}, // udp real server deleted immediately
    				},
    			},
    			err: nil,
    		},
    		{
    			name: "graceful delete, real server mismatch should be no-op",
    			vs: &utilipvs.VirtualServer{
    				Address:  netutils.ParseIPSloppy("1.1.1.1"),
    				Protocol: "tcp",
    				Port:     uint16(80),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. src/internal/trace/parser.go

    	EvUserLog           = 48 // trace.Log [timestamp, internal id, key string id, stack, value string]
    	EvCPUSample         = 49 // CPU profiling sample [timestamp, real timestamp, real P id (-1 when absent), goroutine id, stack]
    	EvCount             = 50
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top