- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,146 for heal (0.08 sec)
-
src/cmd/compile/internal/test/truncconst_test.go
const r53 = complex(1+1.0/(1<<53), 0) if got := real(r52 - 1); got != f52want { t.Errorf("real(r52-1) = %g, want %g", got, f52want) } if got := real(complex128(r52) - 1); got != f52want { t.Errorf("real(complex128(r52)-1) = %g, want %g", got, f52want) } if got := real(r53 - 1); got != f53want { t.Errorf("real(r53-1) = %g, want %g", got, f53want) } if got := real(complex128(r53) - 1); got != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 1.8K bytes - Viewed (0) -
src/regexp/syntax/compile.go
head := l.head for head != 0 { i := &p.Inst[head>>1] if head&1 == 0 { head = i.Out i.Out = val } else { head = i.Arg i.Arg = val } } } func (l1 patchList) append(p *Prog, l2 patchList) patchList { if l1.head == 0 { return l2 } if l2.head == 0 { return l1 } i := &p.Inst[l1.tail>>1] if l1.tail&1 == 0 { i.Out = l2.head } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 13 14:52:20 UTC 2021 - 6.8K bytes - Viewed (0) -
test/escape_map.go
i := 0 // ERROR "moved to heap: i" j := 0 // ERROR "moved to heap: j" m[&i] = &j return m } func map3() []*int { m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) does not escape" i := 0 // ERROR "moved to heap: i" // BAD: j should not escape j := 0 // ERROR "moved to heap: j" m[&i] = &j var r []*int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 2.8K bytes - Viewed (0) -
test/escape_field.go
x X } func field0() { i := 0 // ERROR "moved to heap: i$" var x X x.p1 = &i sink = x.p1 } func field1() { i := 0 // ERROR "moved to heap: i$" var x X // BAD: &i should not escape x.p1 = &i sink = x.p2 } func field3() { i := 0 // ERROR "moved to heap: i$" var x X x.p1 = &i sink = x // ERROR "x escapes to heap" } func field4() { i := 0 // ERROR "moved to heap: i$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue14999.go
package p func f(x int) func(int) int { return func(y int) int { return x + y } // ERROR "heap-allocated closure f\.func1, not allowed in runtime" } func g(x int) func(int) int { // ERROR "x escapes to heap, not allowed in runtime" return func(y int) int { // ERROR "heap-allocated closure g\.func1, not allowed in runtime" x += y return x + y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 04 17:00:19 UTC 2021 - 535 bytes - Viewed (0) -
test/fixedbugs/issue37837.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 06 20:49:11 UTC 2020 - 736 bytes - Viewed (0) -
src/math/cmplx/asin.go
} 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. func Asinh(x complex128) complex128 { switch re, im := real(x), imag(x); { case im == 0 && math.Abs(re) <= 1:
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/syscall/asm_unix_386.s
// Trap # in AX, args on stack above caller pc. TEXT ·Syscall(SB),NOSPLIT,$0-28 CALL runtime·entersyscall(SB) MOVL trap+0(FP), AX // syscall entry // slide args down on top of system call number LEAL a1+4(FP), SI LEAL trap+0(FP), DI CLD MOVSL MOVSL MOVSL INT $0x80 JAE ok MOVL $-1, r1+16(FP) // r1 MOVL $-1, r2+20(FP) // r2 MOVL AX, err+24(FP) // errno CALL runtime·exitsyscall(SB) RET ok:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 2.7K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/list/LinkedList.kt.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 1.7K bytes - Viewed (0) -
test/escape_sync_atomic.go
func StorePointer() { var x int // ERROR "moved to heap: x" atomic.StorePointer(&ptr, unsafe.Pointer(&x)) } func SwapPointer() { var x int // ERROR "moved to heap: x" atomic.SwapPointer(&ptr, unsafe.Pointer(&x)) } func CompareAndSwapPointer() { // BAD: x doesn't need to be heap allocated var x int // ERROR "moved to heap: x" var y int // ERROR "moved to heap: y"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 19:09:15 UTC 2019 - 943 bytes - Viewed (0)