Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 445 for isarchive (0.14 sec)

  1. src/runtime/signal_unix.go

    //go:nosplit
    //go:nowritebarrierrec
    func initsig(preinit bool) {
    	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)
  2. src/runtime/os_freebsd.go

    	// 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()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. 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.
    		return _EXCEPTION_CONTINUE_SEARCH
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/symtab.go

    				println("\t", hex(datap.ftab[j].entryoff), funcname(funcInfo{(*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[j].funcoff])), datap}))
    			}
    			if GOOS == "aix" && isarchive {
    				println("-Wl,-bnoobjreorder is mandatory on aix/ppc64 with c-archive")
    			}
    			throw("invalid runtime symbol table")
    		}
    	}
    
    	min := datap.textAddr(datap.ftab[0].entryoff)
    	max := datap.textAddr(datap.ftab[nftab].entryoff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    //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/distpack/archive.go

    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"time"
    )
    
    // An Archive describes an archive to write: a collection of files.
    // Directories are implied by the files and not explicitly listed.
    type Archive struct {
    	Files []File
    }
    
    // A File describes a single file to write to an archive.
    type File struct {
    	Name string    // name in archive
    	Time time.Time // modification time
    	Mode fs.FileMode
    	Size int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/cmd/internal/archive/archive.go

    		r.offset += n
    	}
    }
    
    // New writes to f to make a new archive.
    func New(f *os.File) (*Archive, error) {
    	_, err := f.Write(archiveHeader)
    	if err != nil {
    		return nil, err
    	}
    	return &Archive{f: f}, nil
    }
    
    // Parse parses an object file or archive from f.
    func Parse(f *os.File, verbose bool) (*Archive, error) {
    	var r objReader
    	r.init(f)
    	t, err := r.peek(8)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    	}
    	return path
    }
    
    type machoUpdateFunc func(ctxt *Link, exef *os.File, exem *macho.File, outexe string) error
    
    // archive builds a .a archive from the hostobj object files.
    func (ctxt *Link) archive() {
    	if ctxt.BuildMode != BuildModeCArchive {
    		return
    	}
    
    	exitIfErrors()
    
    	if *flagExtar == "" {
    		*flagExtar = "ar"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/archivesWithBasePlugin/groovy/build.gradle

    // tag::create-archive-with-base-plugin-example[]
    plugins {
        id 'base'
    }
    
    version = "1.0.0"
    
    tasks.register('packageDistribution', Zip) {
        from(layout.buildDirectory.dir("toArchive")) {
            exclude "**/*.pdf"
        }
    
        from(layout.buildDirectory.dir("toArchive")) {
            include "**/*.pdf"
            into "docs"
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 382 bytes
    - Viewed (0)
Back to top