- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 181 for xx$ (0.15 sec)
-
test/fixedbugs/issue48033.go
"strings" ) type app struct { Name string } func bug() func() { return func() { // the issue is this if true block if true { return } var xx = []app{} var gapp app for _, app := range xx { if strings.ToUpper("") == app.Name { fmt.Printf("%v\n", app) gapp = app } } fmt.Println(gapp) } } func main() { bug()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 02 12:49:05 UTC 2021 - 554 bytes - Viewed (0) -
test/reorder.go
if x[0] != x0 || x[1] != x1 || x[2] != x2 { fmt.Printf("%v, want %d,%d,%d\n", x, x0, x1, x2) panic("failed") } } func check3(x, y, z, xx, yy, zz int) { if x != xx || y != yy || z != zz { fmt.Printf("%d,%d,%d, want %d,%d,%d\n", x, y, z, xx, yy, zz) panic("failed") } } func p1() { x := []int{1, 2, 3} i := 0 i, x[i] = 1, 100 _ = i check(x, 100, 2, 3) } func p2() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jan 16 23:19:26 UTC 2021 - 2.3K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
// x = +√(u/v) xx, wasSquare := new(field.Element).SqrtRatio(u, vv) if wasSquare == 0 { return nil, errors.New("edwards25519: invalid point encoding") } // Select the negative square root if the sign bit is set. xxNeg := new(field.Element).Negate(xx) xx = xx.Select(xxNeg, xx, int(x[31]>>7)) v.x.Set(xx) v.y.Set(y) v.z.One() v.t.Multiply(xx, y) // xy = T / Z return v, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
var ii int ii = i _ = ii var xx float64 xx = x /* ERRORx `cannot use .* in assignment` */ _ = xx } var ii int var xx float32 for ii, xx = range a {} _, _ = ii, xx for range b {} for i := range b { var ii int ii = i _ = ii } for i, x := range b { var ii int ii = i _ = ii var xx string xx = x _ = xx } for range s {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
test/escape2n.go
func foo7(xx **int, yy *int) { // ERROR "xx does not escape$" "yy does not escape$" **xx = *yy } func foo8(xx, yy *int) int { // ERROR "xx does not escape$" "yy does not escape$" xx = yy return *xx } func foo9(xx, yy *int) *int { // ERROR "leaking param: xx to result ~r0 level=0$" "leaking param: yy to result ~r0 level=0$" xx = yy return xx } func foo10(xx, yy *int) { // ERROR "xx does not escape$" "yy does not escape$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
src/sync/atomic/value_test.go
} v.Store(42) x := v.Load() if xx, ok := x.(int); !ok || xx != 42 { t.Fatalf("wrong value: got %+v, want 42", x) } v.Store(84) x = v.Load() if xx, ok := x.(int); !ok || xx != 84 { t.Fatalf("wrong value: got %+v, want 84", x) } } func TestValueLarge(t *testing.T) { var v Value v.Store("foo") x := v.Load() if xx, ok := x.(string); !ok || xx != "foo" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/ClassLoaderLeakAvoidanceSoakTest.groovy
} """ expect: for(int i = 0; i < 35; i++) { myTask.text = myTask.text.replace("runAction$i", "runAction${i + 1}") executer.withBuildJvmOpts("-Xmx256m", "-XX:+HeapDumpOnOutOfMemoryError") assert succeeds("myTask") } } def "old build script classloaders are collected"() { given: buildFile << """ class Foo0 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.2K bytes - Viewed (0) -
src/math/cmplx/asin.go
return complex(math.Copysign(0, re), im) } case math.IsInf(re, 0): return complex(math.Copysign(math.Pi/2, re), math.Copysign(re, im)) } ct := complex(-imag(x), real(x)) // i * x xx := x * x x1 := complex(1-real(xx), -imag(xx)) // 1 - x*x x2 := Sqrt(x1) // x2 = sqrt(1 - x*x) w := Log(ct + x2) return complex(imag(w), -real(w)) // -i * w } // Asinh returns the inverse hyperbolic sine of x.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 5.9K bytes - Viewed (0) -
src/net/net_windows_test.go
//Network Adapter: Intel Gigabit Network Connection //Physical Address: XX-XX-XX-XX-XX-XX //Transport Name: \Device\Tcpip_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} // //Connection Name: Wireless Network Connection //Network Adapter: Wireles WLAN Card //Physical Address: XX-XX-XX-XX-XX-XX //Transport Name: Media disconnected // //Connection Name: Bluetooth Network Connection
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/crypto/ecdh/ecdh.go
// // This check is performed in constant time as long as the key types and their // curve match. func (k *PublicKey) Equal(x crypto.PublicKey) bool { xx, ok := x.(*PublicKey) if !ok { return false } return k.curve == xx.curve && subtle.ConstantTimeCompare(k.publicKey, xx.publicKey) == 1 } func (k *PublicKey) Curve() Curve { return k.curve } // PrivateKey is an ECDH private key, usually kept secret. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 6.4K bytes - Viewed (0)