Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 683 for Off (0.02 sec)

  1. src/runtime/cgocheck.go

    // pointer value. The src pointer is off bytes into the gcbits.
    //
    //go:nosplit
    //go:nowritebarrier
    func cgoCheckBits(src unsafe.Pointer, gcbits *byte, off, size uintptr) {
    	skipMask := off / goarch.PtrSize / 8
    	skipBytes := skipMask * goarch.PtrSize * 8
    	ptrmask := addb(gcbits, skipMask)
    	src = add(src, skipBytes)
    	off -= skipBytes
    	size += off
    	var bits uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/internal/zstd/window.go

    	if len(buf) >= w.size {
    		from := len(buf) - w.size
    		w.data = append(w.data[:0], buf[from:]...)
    		w.off = 0
    		return
    	}
    
    	// Update off to point to the oldest remaining byte.
    	free := w.size - len(w.data)
    	if free == 0 {
    		n := copy(w.data[w.off:], buf)
    		if n == len(buf) {
    			w.off += n
    		} else {
    			w.off = copy(w.data, buf[n:])
    		}
    	} else {
    		if free >= len(buf) {
    			w.data = append(w.data, buf...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/debug/dwarf/unit.go

    				b.uint32()
    			}
    		}
    
    		u.off = b.off
    		u.data = b.bytes(int(n - (b.off - dataOff)))
    	}
    	if b.err != nil {
    		return nil, b.err
    	}
    	return units, nil
    }
    
    // offsetToUnit returns the index of the unit containing offset off.
    // It returns -1 if no unit contains this offset.
    func (d *Data) offsetToUnit(off Offset) int {
    	// Find the unit after off
    	next := sort.Search(len(d.unit), func(i int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/s390x/ggen.go

    	if off < 0 || off > 4096-clearLoopCutoff || cnt > clearLoopCutoff {
    		p = pp.Append(p, s390x.AADD, obj.TYPE_CONST, 0, off, obj.TYPE_REG, s390x.REGRT1, 0)
    		p.Reg = int16(s390x.REGSP)
    		reg = s390x.REGRT1
    		off = 0
    	}
    
    	// Generate a loop of large clears.
    	if cnt > clearLoopCutoff {
    		ireg := int16(s390x.REGRT2) // register holds number of remaining loop iterations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. src/testing/iotest/reader.go

    				return fmt.Errorf("Seek(-1, 1) from EOF = %d, %v, want %d, nil", -off, err, len(content)-1)
    			}
    			if off, err := r.Seek(int64(-len(content)/3), 1); off != int64(middle-1) || err != nil {
    				return fmt.Errorf("Seek(%d, 1) from %d = %d, %v, want %d, nil", -len(content)/3, len(content)-1, off, err, middle-1)
    			}
    			if off, err := r.Seek(+1, 1); off != int64(middle) || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. src/cmd/internal/cov/mreader.go

    		r.off++
    		return rv, nil
    	}
    	return r.rdr.ReadByte()
    }
    
    func (r *MReader) Seek(offset int64, whence int) (int64, error) {
    	if r.fileView == nil {
    		return r.rdr.MustSeek(offset, whence), nil
    	}
    	switch whence {
    	case io.SeekStart:
    		r.off = offset
    		return offset, nil
    	case io.SeekCurrent:
    		return r.off, nil
    	case io.SeekEnd:
    		r.off = int64(len(r.fileView)) + offset
    		return r.off, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:12:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx-1-node.conf

            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 31 21:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/debug/dwarf/typeunit.go

    }
    
    // Seek to a new position in the type unit.
    func (tur *typeUnitReader) Seek(off Offset) {
    	tur.err = nil
    	doff := off - tur.tu.off
    	if doff < 0 || doff >= Offset(len(tur.tu.data)) {
    		tur.err = fmt.Errorf("%s: offset %d out of range; max %d", tur.tu.name, doff, len(tur.tu.data))
    		return
    	}
    	tur.b = makeBuf(tur.d, tur.tu, tur.tu.name, off, tur.tu.data[doff:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. .github/workflows/mint/nginx.conf

            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-4-node.conf

            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top