Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for seenLibs (0.13 sec)

  1. src/cmd/link/internal/ld/lib.go

    	}
    
    	if ctxt.linkShared {
    		seenDirs := make(map[string]bool)
    		seenLibs := make(map[string]bool)
    		addshlib := func(path string) {
    			dir, base := filepath.Split(path)
    			if !seenDirs[dir] {
    				argv = append(argv, "-L"+dir)
    				if !rpath.set {
    					argv = append(argv, "-Wl,-rpath="+dir)
    				}
    				seenDirs[dir] = true
    			}
    			base = strings.TrimSuffix(base, ".so")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. pkg/kubelet/certificate/kubelet.go

    	seenDNSNames := map[string]bool{}
    	seenIPs := map[string]bool{}
    	for _, address := range addresses {
    		if len(address.Address) == 0 {
    			continue
    		}
    
    		switch address.Type {
    		case v1.NodeHostName:
    			if ip := netutils.ParseIPSloppy(address.Address); ip != nil {
    				seenIPs[address.Address] = true
    			} else {
    				seenDNSNames[address.Address] = true
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/go.go

    	if ctxt.Target.IsOpenbsd() {
    		return dedupLibrariesOpenBSD(ctxt, libs)
    	}
    	return libs
    }
    
    var seenlib = make(map[string]bool)
    
    func adddynlib(ctxt *Link, lib string) {
    	if seenlib[lib] || ctxt.LinkMode == LinkExternal {
    		return
    	}
    	seenlib[lib] = true
    
    	if ctxt.IsELF {
    		dsu := ctxt.loader.MakeSymbolUpdater(ctxt.DynStr)
    		if dsu.Size() == 0 {
    			dsu.Addstring("")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho.go

    			if s != 0 {
    				ctxt.loader.SetAttrCgoExportDynamic(s, false)
    			}
    		}
    	}
    }
    
    func machoadddynlib(lib string, linkmode LinkMode) {
    	if seenlib[lib] || linkmode == LinkExternal {
    		return
    	}
    	seenlib[lib] = true
    
    	// Will need to store the library name rounded up
    	// and 24 bytes of header metadata. If not enough
    	// space, grab another page of initial space at the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf.go

    		d.AddUint64(target.Arch, uint64(len(ldr.Data(s))))
    
    		dil := ldr.SymDynimplib(s)
    
    		if !cgoeDynamic && dil != "" && !seenlib[dil] {
    			du := ldr.MakeSymbolUpdater(syms.Dynamic)
    			Elfwritedynent(target.Arch, du, elf.DT_NEEDED, uint64(dstru.Addstring(dil)))
    			seenlib[dil] = true
    		}
    	} else {
    
    		/* value */
    		if st == sym.SDYNIMPORT {
    			d.AddUint32(target.Arch, 0)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top