Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for mmap64 (0.14 sec)

  1. src/cmd/link/link_test.go

    		t.Fatalf("%v: %v:\n%s", link.Args, err, out)
    	}
    }
    
    var testXFlagSrc = `
    package main
    var X = "hello"
    var Z = [99999]int{99998:12345} // make it large enough to be mmaped
    func main() { println(X) }
    `
    
    func TestXFlag(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	src := filepath.Join(tmpdir, "main.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    // current status of the push.
    func (ps *PushContext) UpdateMetrics() {
    	ps.proxyStatusMutex.RLock()
    	defer ps.proxyStatusMutex.RUnlock()
    
    	for _, pm := range metrics {
    		mmap := ps.ProxyStatus[pm.Name()]
    		pm.Record(float64(len(mmap)))
    	}
    }
    
    // It is called after virtual service short host name is resolved to FQDN
    func virtualServiceDestinations(v *networking.VirtualService) map[string]sets.Set[int] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    //go:nosplit
    func findObject(p, refBase, refOff uintptr) (base uintptr, s *mspan, objIndex uintptr) {
    	s = spanOf(p)
    	// If s is nil, the virtual address has never been part of the heap.
    	// This pointer may be to some mmap'd region, so we allow it.
    	if s == nil {
    		if (GOARCH == "amd64" || GOARCH == "arm64") && p == clobberdeadPtr && debug.invalidptr != 0 {
    			// Crash if clobberdeadPtr is seen. Only on AMD64 and ARM64 for now,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	runtime.ExitSyscall()
    	n = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    				writeBlock(ctxt, o, ldr, syms, addr, size, pad)
    				wg.Done()
    				<-sem
    			}(o, ldr, syms, addr, length, pad)
    		} else { // output not mmaped, don't parallelize.
    			writeBlock(ctxt, out, ldr, syms, addr, length, pad)
    		}
    
    		// Prepare for the next loop.
    		if idx != -1 {
    			syms = syms[idx+1:]
    		}
    		written += length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/lib.go

    	f, err := elf.Open(libpath)
    	if err != nil {
    		Errorf(nil, "cannot open shared library: %s", libpath)
    		return
    	}
    	// Keep the file open as decodetypeGcprog needs to read from it.
    	// TODO: fix. Maybe mmap the file.
    	//defer f.Close()
    
    	hash, err := readnote(f, ELF_NOTE_GO_NAME, ELF_NOTE_GOABIHASH_TAG)
    	if err != nil {
    		Errorf(nil, "cannot read ABI hash from shared library %s: %v", libpath, err)
    		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)
  7. src/cmd/link/internal/loader/loader.go

    }
    
    func (l *Loader) AttrCgoExport(i Sym) bool {
    	return l.AttrCgoExportDynamic(i) || l.AttrCgoExportStatic(i)
    }
    
    // AttrReadOnly returns true for a symbol whose underlying data
    // is stored via a read-only mmap.
    func (l *Loader) AttrReadOnly(i Sym) bool {
    	if v, ok := l.attrReadOnly[i]; ok {
    		return v
    	}
    	if l.IsExternal(i) {
    		pp := l.getPayload(i)
    		if pp.objidx != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    			case ir.OMIN:
    				name = "fmin32"
    			case ir.OMAX:
    				name = "fmax32"
    			}
    		case types.TFLOAT64:
    			switch n.Op() {
    			case ir.OMIN:
    				name = "fmin64"
    			case ir.OMAX:
    				name = "fmax64"
    			}
    		case types.TSTRING:
    			switch n.Op() {
    			case ir.OMIN:
    				name = "strmin"
    			case ir.OMAX:
    				name = "strmax"
    			}
    		}
    		fn := typecheck.LookupRuntimeFunc(name)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top