- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for setEvent (0.17 sec)
-
src/runtime/testdata/testwinlibsignal/main.c
#include <windows.h> #include <stdio.h> HANDLE waitForCtrlBreakEvent; BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) { switch (fdwCtrlType) { case CTRL_BREAK_EVENT: SetEvent(waitForCtrlBreakEvent); return TRUE; default: return FALSE; } } int main(void) { waitForCtrlBreakEvent = CreateEvent(NULL, TRUE, FALSE, NULL); if (!waitForCtrlBreakEvent) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 13:21:00 UTC 2021 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit_windows.c
void x_cgo_notify_runtime_init_done(void* dummy) { _cgo_maybe_run_preinit(); EnterCriticalSection(&runtime_init_cs); runtime_init_done = 1; LeaveCriticalSection(&runtime_init_cs); if (!SetEvent(runtime_init_wait)) { fprintf(stderr, "runtime: failed to signal runtime initialization complete.\n"); abort(); } } // The context function, used when tracing back C calls into Go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 4.2K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
procCreateEvent = modkernel32.NewProc("CreateEventW") procSetEvent = modkernel32.NewProc("SetEvent") ) func createEvent() (syscall.Handle, error) { r0, _, e0 := syscall.Syscall6(procCreateEvent.Addr(), 4, 0, 0, 0, 0, 0, 0) if r0 == 0 { return 0, syscall.Errno(e0) } return syscall.Handle(r0), nil } func setEvent(h syscall.Handle) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/runtime/os_windows.go
//go:cgo_import_dynamic runtime._SetConsoleCtrlHandler SetConsoleCtrlHandler%2 "kernel32.dll" //go:cgo_import_dynamic runtime._SetErrorMode SetErrorMode%1 "kernel32.dll" //go:cgo_import_dynamic runtime._SetEvent SetEvent%1 "kernel32.dll" //go:cgo_import_dynamic runtime._SetProcessPriorityBoost SetProcessPriorityBoost%2 "kernel32.dll" //go:cgo_import_dynamic runtime._SetThreadPriority SetThreadPriority%2 "kernel32.dll"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
//sys OpenEvent(desiredAccess uint32, inheritHandle bool, name *uint16) (handle Handle, err error) = kernel32.OpenEventW //sys SetEvent(event Handle) (err error) = kernel32.SetEvent //sys ResetEvent(event Handle) (err error) = kernel32.ResetEvent //sys PulseEvent(event Handle) (err error) = kernel32.PulseEvent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
func GetServByName(name string, proto string) (s *Servent, err error) { var _p0 *byte _p0, err = syscall.BytePtrFromString(name) if err != nil { return } var _p1 *byte _p1, err = syscall.BytePtrFromString(proto) if err != nil { return } return _GetServByName(_p0, _p1) } func _GetServByName(name *byte, proto *byte) (s *Servent, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainer.java
return getDefaultTestLogging().getEvents(); } @Override public void setEvents(Set<TestLogEvent> events) { getDefaultTestLogging().setEvents(events); } @Override public void setEvents(Iterable<?> events) { getDefaultTestLogging().setEvents(events); } @Override public void events(Object... events) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc
TF_ASSERT_OK(stream->BlockHostUntilDone()); TF_ASSERT_OK_AND_ASSIGN(auto se_event, executor->CreateEvent()); tsl::AsyncValueRef<std::unique_ptr<se::Event>> done_event = tsl::MakeConstructedAsyncValueRef<std::unique_ptr<se::Event>>( std::move(se_event)); XlaHostRecvDeviceContext* device_context = new XlaHostRecvDeviceContext(stream.get(), gpu_dst, shape, done_event);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java
TestLogEvent event = getEvent(result); if (shouldLogEvent(descriptor, event)) { String details = shouldLogExceptions(result) ? exceptionFormatter.format(descriptor, result.getExceptions()) : null; logEvent(descriptor, event, details); } } private TestLogEvent getEvent(TestResult result) { switch (result.getResultType()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
package unix func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: int32(usec)} } func SetKevent(k *Kevent_t, fd, mode, flags int) { k.Ident = uint64(fd) k.Filter = uint32(mode) k.Flags = uint32(flags) } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 814 bytes - Viewed (0)