Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for shminfo (0.21 sec)

  1. src/internal/sysinfo/cpuinfo_linux.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sysinfo
    
    import (
    	"bufio"
    	"bytes"
    	"io"
    	"os"
    	"strings"
    )
    
    func readLinuxProcCPUInfo(buf []byte) error {
    	f, err := os.Open("/proc/cpuinfo")
    	if err != nil {
    		return err
    	}
    	defer f.Close()
    
    	_, err = io.ReadFull(f, buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/runtime/signal_freebsd_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *mcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) eax() uint32 { return c.regs().mc_eax }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  3. src/runtime/signal_openbsd_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext {
    	return (*sigcontext)(c.ctxt)
    }
    
    func (c *sigctxt) eax() uint32 { return c.regs().sc_eax }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/defs_aix.go

    However, AIX structures don't provide such names and must be modified.
    
    TODO(aix): create a script to automatise defs_aix creation.
    
    Modifications made:
     - sigset replaced by a [4]uint64 array
     - add sigset_all variable
     - siginfo.si_addr uintptr instead of *byte
     - add (*timeval) set_usec
     - stackt.ss_sp uintptr instead of *byte
     - stackt.ss_size uintptr instead of uint64
     - sigcontext.sc_jmpbuf context64 instead of jumbuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    	zipInfoStr := string(zipInfo)
    	if opts.EncryptFn != nil {
    		at = archiveTypeEnc
    		zipInfoStr = string(opts.EncryptFn(archiveTypeEnc, zipInfo))
    	}
    	srcInfo.UserDefined[archiveTypeMetadataKey] = at
    	popts := ObjectOptions{
    		MTime:     srcInfo.ModTime,
    		VersionID: srcInfo.VersionID,
    		EvalMetadataFn: func(oi *ObjectInfo, gerr error) (dsc ReplicateDecision, err error) {
    			oi.UserDefined[archiveTypeMetadataKey] = at
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/runtime/signal_linux_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) eax() uint32 { return c.regs().eax }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/version/version.go

    	return func() (*istioVersion.MeshInfo, error) {
    		remInfo, err := getRemoteInfo(ctx, *opts)
    		if err != nil {
    			fmt.Fprintf((*pc).OutOrStderr(), "%v\n", err)
    			// Return nil so that the client version is printed
    			return nil, nil
    		}
    		if remInfo == nil {
    			fmt.Fprintf((*pc).OutOrStderr(), "Istio is not present in the cluster with namespace %q\n", ctx.IstioNamespace())
    		}
    		return remInfo, err
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/registry/key.go

    package registry
    
    import (
    	"runtime"
    	"syscall"
    )
    
    const (
    	// Registry key security and access rights.
    	// See https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry-key-security-and-access-rights
    	// for details.
    	ALL_ACCESS         = 0xf003f
    	CREATE_LINK        = 0x00020
    	CREATE_SUB_KEY     = 0x00004
    	ENUMERATE_SUB_KEYS = 0x00008
    	EXECUTE            = 0x20019
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. src/runtime/signal_darwin.go

    	/* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
    	/* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
    	/* 28 */ {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
    	/* 29 */ {_SigNotify + _SigIgn, "SIGINFO: status request from keyboard"},
    	/* 30 */ {_SigNotify, "SIGUSR1: user-defined signal 1"},
    	/* 31 */ {_SigNotify, "SIGUSR2: user-defined signal 2"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:40:19 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  10. src/runtime/signal_dragonfly.go

    	/* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"},
    	/* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
    	/* 28 */ {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
    	/* 29 */ {_SigNotify + _SigIgn, "SIGINFO: status request from keyboard"},
    	/* 30 */ {_SigNotify, "SIGUSR1: user-defined signal 1"},
    	/* 31 */ {_SigNotify, "SIGUSR2: user-defined signal 2"},
    	/* 32 */ {_SigNotify, "SIGTHR: reserved"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:40:19 UTC 2017
    - 2.2K bytes
    - Viewed (0)
Back to top