Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for osinit (0.43 sec)

  1. src/runtime/signal_unix.go

    }
    
    // sigsetAllExiting is used by sigblock(true) when a thread is
    // exiting.
    var sigsetAllExiting = func() sigset {
    	res := sigset_all
    
    	// Apply GOOS-specific overrides here, rather than in osinit,
    	// because osinit may be called before sigsetAllExiting is
    	// initialized (#51913).
    	if GOOS == "linux" && iscgo {
    		// #42494 glibc and musl reserve some signals for
    		// internal use and require they not be blocked by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    // Called on the new thread, cannot allocate memory.
    func minit() {
    	minitSignals()
    
    	// Cgo-created threads and the bootstrap m are missing a
    	// procid. We need this for asynchronous preemption and it's
    	// useful in debuggers.
    	getg().m.procid = uint64(gettid())
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    // physPageSize.
    //
    // This must be set by the OS init code (typically in osinit) before
    // mallocinit.
    var physPageSize uintptr
    
    // physHugePageSize is the size in bytes of the OS's default physical huge
    // page size whose allocation is opaque to the application. It is assumed
    // and verified to be a power of two.
    //
    // If set, this must be set by the OS init code (typically in osinit) before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/runtime/os_windows.go

    // Called on the new thread, cannot allocate Go memory.
    func minit() {
    	var thandle uintptr
    	if stdcall7(_DuplicateHandle, currentProcess, currentThread, currentProcess, uintptr(unsafe.Pointer(&thandle)), 0, 0, _DUPLICATE_SAME_ACCESS) == 0 {
    		print("runtime.minit: duplicatehandle failed; errno=", getlasterror(), "\n")
    		throw("runtime.minit: duplicatehandle failed")
    	}
    
    	mp := getg().m
    	lock(&mp.threadLock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            return processRequest(uri, true);
        }
    
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (!isInit.get()) {
                synchronized (isInit) {
                    if (!isInit.get()) {
                        init();
                        isInit.set(true);
                    }
                }
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. test/noinit.go

    func gopherize(s string) string { return "gopher gopher gopher " + s }
    
    var animals = gopherize("badger")
    
    // These init funcs should optimize away.
    
    func init() {
    }
    
    func init() {
    	if false {
    	}
    }
    
    func init() {
    	for false {
    	}
    }
    
    // Actual test: check for init funcs in runtime data structures.
    
    type initTask struct {
    	state uint32
    	nfns  uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            }
        }
    
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (!isInit.get()) {
                synchronized (isInit) {
                    if (!isInit.get()) {
                        init();
                        isInit.set(true);
                    }
                }
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. pkg/kubelet/winstats/version.go

    package winstats
    
    import (
    	"fmt"
    	"golang.org/x/sys/windows/registry"
    )
    
    // OSInfo is a convenience class for retrieving Windows OS information
    type OSInfo struct {
    	BuildNumber, ProductName        string
    	MajorVersion, MinorVersion, UBR uint64
    }
    
    // GetOSInfo reads Windows version information from the registry
    func GetOSInfo() (*OSInfo, error) {
    	// for log detail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. src/plugin/plugin_dlopen.go

    )
    
    // lastmoduleinit is defined in package runtime.
    func lastmoduleinit() (pluginpath string, syms map[string]any, inittasks []*initTask, errstr string)
    
    // doInit is defined in package runtime.
    //
    //go:linkname doInit runtime.doInit
    func doInit(t []*initTask)
    
    type initTask struct {
    	// fields defined in runtime.initTask. We only handle pointers to an initTask
    	// in this package, so the contents are irrelevant.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/complit.go

    					// are ordered correctly here. See issue #52673.
    					orderBlock(&sinit, map[string][]*ir.Name{})
    					typecheck.Stmts(sinit)
    					walkStmtList(sinit)
    				}
    				init.Append(sinit...)
    				continue
    			}
    
    		case ir.OARRAYLIT, ir.OSTRUCTLIT:
    			value := value.(*ir.CompLitExpr)
    			fixedlit(ctxt, kind, value, a, init)
    			continue
    		}
    
    		islit := ir.IsConstNode(value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top