- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 140 for ss_flags (0.19 sec)
-
src/testing/iotest/logger_test.go
olf := log.Flags() olp := log.Prefix() // Revert the original log settings before we exit. defer func() { log.SetFlags(olf) log.SetPrefix(olp) log.SetOutput(olw) }() lOut := new(strings.Builder) log.SetPrefix("lw: ") log.SetOutput(lOut) log.SetFlags(0) lw := new(strings.Builder) wl := NewWriteLogger("write:", lw) if _, err := wl.Write([]byte("Hello, World!")); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 07:03:10 UTC 2022 - 3.4K bytes - Viewed (0) -
src/runtime/os_darwin.go
var osa usigactiont sigaction(i, nil, &osa) handler := *(*uintptr)(unsafe.Pointer(&osa.__sigaction_u)) if osa.sa_flags&_SA_ONSTACK != 0 { return } var sa usigactiont *(*uintptr)(unsafe.Pointer(&sa.__sigaction_u)) = handler sa.sa_mask = osa.sa_mask sa.sa_flags = osa.sa_flags | _SA_ONSTACK sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/os_freebsd2.go
//go:build freebsd && !amd64 package runtime import "internal/abi" //go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 603 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go
return nil } // DI_FLAGS is SP_DEVINSTALL_PARAMS.Flags values type DI_FLAGS uint32 const ( // Flags for choosing a device DI_SHOWOEM DI_FLAGS = 0x00000001 // support Other... button DI_SHOWCOMPAT DI_FLAGS = 0x00000002 // show compatibility list DI_SHOWCLASS DI_FLAGS = 0x00000004 // show class list DI_SHOWALL DI_FLAGS = 0x00000007 // both class & compat list shown
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 67.2K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
in string want string setFlags []string inFilePath string mesh func(m *meshapi.MeshConfig) skipWebhook bool skipInjection bool expectedError string expectedLog string setup func(t test.Failer) } cases := []testCase{ // verify cni { in: "hello.yaml", want: "hello.yaml.cni.injected", setFlags: []string{ "components.cni.enabled=true",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main3.c
static void init() { struct sigaction sa; memset(&sa, 0, sizeof sa); sa.sa_sigaction = pipeHandler; if (sigemptyset(&sa.sa_mask) < 0) { die("sigemptyset"); } sa.sa_flags = SA_SIGINFO; if (sigaction(SIGPIPE, &sa, NULL) < 0) { die("sigaction"); } } static void *provokeSIGPIPE(void *arg) { ProvokeSIGPIPE(); return NULL; } int main(int argc, char** argv) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/os_aix.go
sigaction(uintptr(i), &sa, nil) } //go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { var sa sigactiont sigaction(uintptr(i), nil, &sa) if sa.sa_flags&_SA_ONSTACK != 0 { return } sa.sa_flags |= _SA_ONSTACK sigaction(uintptr(i), &sa, nil) } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(uintptr(i), nil, &sa)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/vdso_elf64.go
p_align uint64 /* Segment alignment */ } type elfShdr struct { sh_name uint32 /* Section name (string tbl index) */ sh_type uint32 /* Section type */ sh_flags uint64 /* Section flags */ sh_addr uint64 /* Section virtual addr at execution */ sh_offset uint64 /* Section file offset */ sh_size uint64 /* Section size in bytes */ sh_link uint32 /* Link to another section */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 19:32:35 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go
#include <string.h> static void raise_usr2(int signo) { raise(SIGUSR2); } static void register_handler(int signo) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sigemptyset(&sa.sa_mask); sa.sa_flags = SA_ONSTACK; sa.sa_handler = raise_usr2; if (sigaction(SIGUSR1, &sa, NULL) != 0) { perror("failed to register SIGUSR1 handler"); exit(EXIT_FAILURE); } } */ import "C" func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.2K bytes - Viewed (0) -
src/log/slog/example_log_level_test.go
// of the internal default handler for slog package before calling slog.SetDefault. func ExampleSetLogLoggerLevel_log() { defer log.SetFlags(log.Flags()) // revert changes after the example log.SetFlags(0) defer log.SetOutput(log.Writer()) // revert changes after the example log.SetOutput(os.Stdout) // Default logging level is slog.LevelInfo. log.Print("log debug") // log debug
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 21:25:30 UTC 2023 - 1.9K bytes - Viewed (0)