Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 704 for Off (0.02 sec)

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

    func elfshname(name string) *ElfShdr {
    	for i := 0; i < nelfstr; i++ {
    		if name != elfstr[i].s {
    			continue
    		}
    		off := elfstr[i].off
    		for i = 0; i < int(ehdr.Shnum); i++ {
    			sh := shdr[i]
    			if sh.Name == uint32(off) {
    				return sh
    			}
    		}
    		return newElfShdr(int64(off))
    	}
    	Exitf("cannot find elf name %s", name)
    	return nil
    }
    
    // Create an ElfShdr for the section with name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/op.go

    }
    
    func (x ValAndOff) canAdd32(off int32) bool {
    	newoff := x.Off64() + int64(off)
    	return newoff == int64(int32(newoff))
    }
    func (x ValAndOff) canAdd64(off int64) bool {
    	newoff := x.Off64() + off
    	return newoff == int64(int32(newoff))
    }
    
    func (x ValAndOff) addOffset32(off int32) ValAndOff {
    	if !x.canAdd32(off) {
    		panic("invalid ValAndOff.addOffset32")
    	}
    	return makeValAndOff(x.Val(), x.Off()+off)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. src/net/parse_test.go

    		in  string
    		out int
    		off int
    		ok  bool
    	}{
    		{"", 0, 0, false},
    		{"0", 0, 1, true},
    		{"65536", 65536, 5, true},
    		{"123456789", big, 8, false},
    		{"-0", 0, 0, false},
    		{"-1234", 0, 0, false},
    	} {
    		n, i, ok := dtoi(tt.in)
    		if n != tt.out || i != tt.off || ok != tt.ok {
    			t.Errorf("got %d, %d, %v; want %d, %d, %v", n, i, ok, tt.out, tt.off, tt.ok)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 00:04:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/encoding/json/decode.go

    	s, data, i := &d.scan, d.data, d.off
    	depth := len(s.parseState)
    	for {
    		op := s.step(s, data[i])
    		i++
    		if len(s.parseState) < depth {
    			d.off = i
    			d.opcode = op
    			return
    		}
    	}
    }
    
    // scanNext processes the byte at d.data[d.off].
    func (d *decodeState) scanNext() {
    	if d.off < len(d.data) {
    		d.opcode = d.scan.step(&d.scan, d.data[d.off])
    		d.off++
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/runtime/traceregion.go

    	if block != nil {
    		r := block.off.Add(n)
    		if r <= uintptr(len(block.data)) {
    			return (*notInHeap)(unsafe.Pointer(&block.data[r-n]))
    		}
    	}
    
    	// Try to install a new block.
    	lock(&a.lock)
    
    	// Check block again under the lock. Someone may
    	// have gotten here first.
    	block = (*traceRegionAllocBlock)(a.current.Load())
    	if block != nil {
    		r := block.off.Add(n)
    		if r <= uintptr(len(block.data)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    		errorf("varint failed")
    	}
    	spos := off + uint64(n)
    	s := string(p.stringData[spos : spos+slen])
    	p.stringCache[off] = s
    	return s
    }
    
    func (p *iimporter) pkgAt(off uint64) *types.Package {
    	if pkg, ok := p.pkgCache[off]; ok {
    		return pkg
    	}
    	path := p.stringAt(off)
    	errorf("missing package %q in %q", path, p.ipath)
    	return nil
    }
    
    func (p *iimporter) typAt(off uint64, base *types.Named) types.Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/os/dir_unix.go

    }
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if goarch.BigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

                "spanNulls": false,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/LanguageSpecificAdaptor.java

            for (BuildScriptBuilder buildScriptBuilder : allBuildScriptBuilder(settings, buildContentGenerationContext)) {
                buildScriptBuilder.withComments(settings.isWithComments() ? BuildInitComments.EXTERNAL : BuildInitComments.OFF)
                    .create(settings.getTarget())
                    .generate();
    
                if (settings.isWithComments()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 06:07:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// the executable segment is located (loadSegment.Off), and the base virtual
    		// address where the first byte of the segment is loaded
    		// (loadSegment.Vaddr). A file offset fx maps to a virtual (symbol) address
    		// sx = fx - loadSegment.Off + loadSegment.Vaddr.
    		//
    		// Thus, a runtime virtual address x maps to a symbol address
    		// sx = x - start + offset - loadSegment.Off + loadSegment.Vaddr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top