- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 300 for setUse (0.25 sec)
-
platforms/documentation/docs/src/snippets/testing/jacoco-quickstart/groovy/src/test/java/org/gradle/PersonTest.java
import static org.junit.Assert.assertEquals; public class PersonTest{ Person person; @Before public void setup(){ person = new Person(); } @Test public void testAge() { person.setAge(30); assertEquals(30, person.getAge()); } @Test public void testSurname() { person.setSurname("Duke"); assertEquals("Duke", person.getSurname()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 476 bytes - Viewed (0) -
src/runtime/defs_windows_arm64.go
func (c *context) sp() uintptr { return uintptr(c.xsp) } func (c *context) lr() uintptr { return uintptr(c.x[30]) } func (c *context) set_ip(x uintptr) { c.pc = uint64(x) } func (c *context) set_sp(x uintptr) { c.xsp = uint64(x) } func (c *context) set_lr(x uintptr) { c.x[30] = uint64(x) } func (c *context) set_fp(x uintptr) { c.x[29] = uint64(x) } func prepareContextForSigResume(c *context) { c.x[0] = c.xsp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/signal_freebsd_arm64.go
func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) } func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr } func (c *sigctxt) set_pc(x uint64) { c.regs().mc_gpregs.gp_elr = x } func (c *sigctxt) set_sp(x uint64) { c.regs().mc_gpregs.gp_sp = x } func (c *sigctxt) set_lr(x uint64) { c.regs().mc_gpregs.gp_lr = x } func (c *sigctxt) set_r28(x uint64) { c.regs().mc_gpregs.gp_x[28] = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/signal_openbsd_arm64.go
} //go:nosplit //go:nowritebarrierrec func (c *sigctxt) pc() uint64 { return uint64(c.regs().sc_elr) } func (c *sigctxt) set_pc(x uint64) { c.regs().sc_elr = uintptr(x) } func (c *sigctxt) set_sp(x uint64) { c.regs().sc_sp = uintptr(x) } func (c *sigctxt) set_lr(x uint64) { c.regs().sc_lr = uintptr(x) } func (c *sigctxt) set_r28(x uint64) { c.regs().sc_x[28] = uintptr(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.4K bytes - Viewed (0) -
src/runtime/defs_freebsd_amd64.go
uc_stack stackt uc_flags int32 __spare__ [4]int32 pad_cgo_0 [12]byte } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.9K bytes - Viewed (1) -
src/runtime/signal_linux_mipsx.go
func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr } func (c *sigctxt) set_r30(x uint32) { c.regs().sc_regs[30] = uint64(x) } func (c *sigctxt) set_pc(x uint32) { c.regs().sc_pc = uint64(x) } func (c *sigctxt) set_sp(x uint32) { c.regs().sc_regs[29] = uint64(x) } func (c *sigctxt) set_link(x uint32) { c.regs().sc_regs[31] = uint64(x) } func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.7K bytes - Viewed (0) -
src/runtime/signal_arm.go
// functions are correctly handled. This smashes // the stack frame but we're not going back there // anyway. sp := c.sp() - 4 c.set_sp(sp) *(*uint32)(unsafe.Pointer(uintptr(sp))) = c.lr() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.lr())) { // Make it look the like faulting PC called sigpanic. c.set_lr(uint32(pc)) } // In case we are panicking from external C code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.5K bytes - Viewed (0) -
src/runtime/defs_linux_amd64.go
_SIGEV_THREAD_ID = 0x4 _AF_UNIX = 0x1 _SOCK_DGRAM = 0x2 ) type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 4.7K bytes - Viewed (0) -
src/runtime/signal_riscv64.go
// functions are correctly handled. This smashes // the stack frame but we're not going back there // anyway. sp := c.sp() - goarch.PtrSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.ra())) { // Make it look the like faulting PC called sigpanic. c.set_ra(uint64(pc)) } // In case we are panicking from external C code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/signal_mipsx.go
// functions are correctly handled. This smashes // the stack frame but we're not going back there // anyway. sp := c.sp() - sys.MinFrameSize c.set_sp(sp) *(*uint32)(unsafe.Pointer(uintptr(sp))) = c.link() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.link())) { // Make it look the like faulting PC called sigpanic. c.set_link(uint32(pc)) } // In case we are panicking from external C code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.1K bytes - Viewed (0)