Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,202 for islibrary (0.3 sec)

  1. src/runtime/fds_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    func checkfds() {
    	if islibrary || isarchive {
    		// If the program is actually a library, presumably being consumed by
    		// another program, we don't want to mess around with the file
    		// descriptors.
    		return
    	}
    
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:20:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/runtime/signal_unix.go

    	if !preinit {
    		// It's now OK for signal handlers to run.
    		signalsOK = true
    	}
    
    	// For c-archive/c-shared this is called by libpreinit with
    	// preinit == true.
    	if (isarchive || islibrary) && !preinit {
    		return
    	}
    
    	for i := uint32(0); i < _NSIG; i++ {
    		t := &sigtable[i]
    		if t.flags == 0 || t.flags&_SigDefault != 0 {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    	// present. To avoid this confusion, explicitly disable the
    	// signal stack on the main thread when not running in a
    	// library. This can be removed when we are confident that all
    	// FreeBSD users are running a patched kernel. See issue #15658.
    	if gp := getg(); !isarchive && !islibrary && gp.m == &m0 && gp == gp.m.g0 {
    		st := stackt{ss_flags: _SS_DISABLE}
    		sigaltstack(&st, nil)
    	}
    
    	minitSignals()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    //
    // It is nosplit for the same reason as exceptionhandler.
    //
    //go:nosplit
    func lastcontinuehandler(info *exceptionrecord, r *context, gp *g) int32 {
    	if islibrary || isarchive {
    		// Go DLL/archive has been loaded in a non-go program.
    		// If the exception does not originate from go, the go runtime
    		// should not take responsibility of crashing the process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/runtime/runtime1.go

    			t |= uint32(n) << tracebackShift
    		}
    	}
    	// when C owns the process, simply exit'ing the process on fatal errors
    	// and panics is surprising. Be louder and abort instead.
    	if islibrary || isarchive {
    		t |= tracebackCrash
    	}
    
    	t |= traceback_env
    
    	atomic.Store(&traceback_cache, t)
    }
    
    // Poor mans 64-bit division.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    // See go.dev/issue/67401.
    //
    //go:linkname goarm
    var (
    	goarm       uint8
    	goarmsoftfp uint8
    )
    
    // Set by the linker so the runtime can determine the buildmode.
    var (
    	islibrary bool // -buildmode=c-shared
    	isarchive bool // -buildmode=c-archive
    )
    
    // Must agree with internal/buildcfg.FramePointerEnabled.
    const framepointer_enabled = GOARCH == "amd64" || GOARCH == "arm64"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	visiting
    	visited
    )
    
    func postorder(libs []*sym.Library) []*sym.Library {
    	order := make([]*sym.Library, 0, len(libs)) // hold the result
    	mark := make(map[*sym.Library]markKind, len(libs))
    	for _, lib := range libs {
    		dfs(lib, mark, &order)
    	}
    	return order
    }
    
    func dfs(lib *sym.Library, mark map[*sym.Library]markKind, order *[]*sym.Library) {
    	if mark[lib] == visited {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Library.java

    /**
     * A classpath entry representing a library.
     */
    public class Library extends AbstractLibrary {
        public Library(Node node, FileReferenceFactory fileReferenceFactory) {
            super(node, fileReferenceFactory);
            setSourcePath(fileReferenceFactory.fromPath((String) node.attribute("sourcepath")));
        }
    
        public Library(FileReference library) {
            super(library);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/main/java/org/gradle/platform/base/Library.java

     */
    
    package org.gradle.platform.base;
    
    import org.gradle.api.Incubating;
    import org.gradle.api.component.Component;
    
    /**
     * A library that can be linked into or depended on by another software element.
     */
    @Incubating
    public interface Library extends Component {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 878 bytes
    - Viewed (0)
  10. src/cmd/link/internal/sym/library.go

    package sym
    
    import "cmd/internal/goobj"
    
    type Library struct {
    	Objref      string
    	Srcref      string
    	File        string
    	Pkg         string
    	Shlib       string
    	Fingerprint goobj.FingerprintType
    	Autolib     []goobj.ImportedPkg
    	Imports     []*Library
    	Main        bool
    	Units       []*CompilationUnit
    
    	Textp       []LoaderSym // text syms defined in this library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 11 18:32:23 UTC 2020
    - 651 bytes
    - Viewed (0)
Back to top