- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,279 for g$ (0.03 sec)
-
src/runtime/softfloat64_test.go
case f == g: return 0, false } return 0, true // must be NaN } func testcmp(t *testing.T, f, g float64) { hcmp, hisnan := hwcmp(f, g) scmp, sisnan := Fcmp64(math.Float64bits(f), math.Float64bits(g)) if int32(hcmp) != scmp || hisnan != sisnan { err(t, "cmp(%g, %g) = sw %v, %v, hw %v, %v\n", f, g, scmp, sisnan, hcmp, hisnan) } } func same(f, g float64) bool { if math.IsNaN(f) && math.IsNaN(g) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4K bytes - Viewed (0) -
pkg/config/schema/collection/schemas_test.go
}.MustBuild() ) func TestSchemas_Basic(t *testing.T) { g := NewWithT(t) schemas := collection.SchemasFor(emptyResource) g.Expect(schemas.All()).To(HaveLen(1)) g.Expect(schemas.All()[0]).To(Equal(emptyResource)) } func TestSchemas_MustAdd(t *testing.T) { g := NewWithT(t) defer func() { r := recover() g.Expect(r).To(BeNil()) }() b := collection.NewSchemasBuilder()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.4K bytes - Viewed (0) -
src/math/all_test.go
t.Errorf("Gamma(%g) = %g, want %g", vf[i], f, gamma[i]) } } for _, g := range vfgamma { f := Gamma(g[0]) var ok bool if IsNaN(g[1]) || IsInf(g[1], 0) || g[1] == 0 || f == 0 { ok = alike(g[1], f) } else if g[0] > -50 && g[0] <= 171 { ok = veryclose(g[1], f) } else { ok = close(g[1], f) } if !ok { t.Errorf("Gamma(%g) = %g, want %g", g[0], f, g[1]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
test/fixedbugs/bug296.go
} type Uint16 uint16 func (x Uint16) m(a, b, c, d, e, f, g, h byte) { check("Uint16", int64(x), 0x0102, a, b, c, d, e, f, g, h) } type Int32 int32 func (x Int32) m(a, b, c, d, e, f, g, h byte) { check("Int32", int64(x), 0x01020304, a, b, c, d, e, f, g, h) } type Uint32 uint32 func (x Uint32) m(a, b, c, d, e, f, g, h byte) { check("Uint32", int64(x), 0x01020304, a, b, c, d, e, f, g, h) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.8K bytes - Viewed (0) -
src/internal/trace/mud_test.go
if mass < trackMass { if ok { t.Errorf("approx(%g) = [%g, %g), but mass = %g", trackMass, l, u, mass) } if ok2 { t.Errorf("exact(%g) = %g, but mass = %g", trackMass, inv, mass) } } else { if !ok { t.Errorf("approx(%g) failed, but mass = %g", trackMass, mass) } if !ok2 { t.Errorf("exact(%g) failed, but mass = %g", trackMass, mass) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/asm_mips64x.s
JMP (R4) // void mcall(fn func(*g)) // Switch to m->g0's stack, call fn(g). // Fn must never return. It should gogo(&g->sched) // to keep running g. TEXT runtime·mcall(SB), NOSPLIT|NOFRAME, $0-8 // Save caller state in g->sched MOVV R29, (g_sched+gobuf_sp)(g) MOVV R31, (g_sched+gobuf_pc)(g) MOVV R0, (g_sched+gobuf_lr)(g) // Switch to m->g0 & its stack, call fn. MOVV g, R1 MOVV g_m(g), R3 MOVV m_g0(R3), g
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0) -
tests/integration/pilot/analyze_test.go
} else { g.Expect(line).To(ContainSubstring(boilerplateLines[i-len(expected)])) } } } func expectNoMessages(t test.Failer, g *GomegaWithT, output []string) { t.Helper() g.Expect(output).To(HaveLen(1)) g.Expect(output[0]).To(ContainSubstring("No validation issues found when analyzing")) } func expectJSONMessages(t test.Failer, g *GomegaWithT, output string, expected ...*diag.MessageType) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 16.3K bytes - Viewed (0) -
src/crypto/elliptic/p256_test.go
two[31] = 2 // 0×G + 0×G = ∞ x, y := p256.CombinedMult(gx, gy, zero, zero) if x.Sign() != 0 || y.Sign() != 0 { t.Errorf("0×G + 0×G = (%d, %d), should be ∞", x, y) } // 1×G + 0×G = G x, y = p256.CombinedMult(gx, gy, one, zero) if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 { t.Errorf("1×G + 0×G = (%d, %d), should be (%d, %d)", x, y, gx, gy) } // 0×G + 1×G = G
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 16:58:48 UTC 2022 - 4.2K bytes - Viewed (0) -
src/image/color/color.go
} // NRGBA represents a non-alpha-premultiplied 32-bit color. type NRGBA struct { R, G, B, A uint8 } func (c NRGBA) RGBA() (r, g, b, a uint32) { r = uint32(c.R) r |= r << 8 r *= uint32(c.A) r /= 0xff g = uint32(c.G) g |= g << 8 g *= uint32(c.A) g /= 0xff b = uint32(c.B) b |= b << 8 b *= uint32(c.A) b /= 0xff a = uint32(c.A) a |= a << 8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.3K bytes - Viewed (0) -
src/runtime/asm_s390x.s
BR (R6) // void mcall(fn func(*g)) // Switch to m->g0's stack, call fn(g). // Fn must never return. It should gogo(&g->sched) // to keep running g. TEXT runtime·mcall(SB), NOSPLIT, $-8-8 // Save caller state in g->sched MOVD R15, (g_sched+gobuf_sp)(g) MOVD LR, (g_sched+gobuf_pc)(g) MOVD $0, (g_sched+gobuf_lr)(g) // Switch to m->g0 & its stack, call fn. MOVD g, R3 MOVD g_m(g), R8 MOVD m_g0(R8), g
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0)