Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 242 for doffsets (0.84 sec)

  1. src/internal/coverage/encodemeta/encode.go

    	}
    	if err := binary.Write(w, binary.LittleEndian, mh); err != nil {
    		return digest, fmt.Errorf("error writing meta-file header: %v", err)
    	}
    	off := int64(coverage.CovMetaHeaderSize)
    
    	// Write function offsets section
    	off = b.emitFuncOffsets(w, off)
    
    	// Check for any errors up to this point.
    	if b.werr != nil {
    		return digest, b.werr
    	}
    
    	// Write string table.
    	if err := b.stab.Write(w); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/httprange.go

    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    import java.net.MalformedURLException;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.InterruptedIOException;
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    
    public class SmbFileInputStream extends InputStream {
    
        private long fp;
        private int readSize, openFlags, access;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
    /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "MOVDaddr", argLength: 1, reg: addr, aux: "SymOff", rematerializeable: true, symEffect: "Addr"}, // arg0 + auxint + offset encoded in aux
    		{name: "MOVDaddridx", argLength: 2, reg: addridx, aux: "SymOff", symEffect: "Addr"},                    // arg0 + arg1 + auxint + aux
    
    		// auxint+aux == add auxint and the offset of the symbol in aux (if any) to the effective address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  5. cmd/erasure-decode_test.go

    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/internal/xcoff/file.go

    		return nil, err
    	}
    
    	offset := 0
    	// First import file ID is the default LIBPATH value
    	libpath := cstring(table[offset:])
    	f.LibraryPaths = strings.Split(libpath, ":")
    	offset += len(libpath) + 3 // 3 null bytes
    	all := make([]string, 0)
    	for i := 1; i < int(nimpid); i++ {
    		impidpath := cstring(table[offset:])
    		offset += len(impidpath) + 1
    		impidbase := cstring(table[offset:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        static final int A         = 0x0001;
        static final int NS        = 0x0002;
        static final int NULL      = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
        static final int QUESTION_OFFSET = 4;
        static final int ANSWER_OFFSET = 6;
        static final int AUTHORITY_OFFSET = 8;
        static final int ADDITIONAL_OFFSET = 10;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
        static final int QUESTION_OFFSET = 4;
        static final int ANSWER_OFFSET = 6;
        static final int AUTHORITY_OFFSET = 8;
        static final int ADDITIONAL_OFFSET = 10;
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  9. cmd/bitrot.go

    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    		if err != nil {
    			// Read's failed for object with right size, at different offsets.
    			return errFileCorrupt
    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/internal/coverage/decodemeta/decodefile.go

    	}
    
    	// Read package offsets for good measure
    	r.pkgOffsets = make([]uint64, r.hdr.Entries)
    	for i := uint64(0); i < r.hdr.Entries; i++ {
    		if r.pkgOffsets[i], err = r.rdUint64(); err != nil {
    			return err
    		}
    		if r.pkgOffsets[i] > r.hdr.TotalLength {
    			return fmt.Errorf("insane pkg offset %d: %d > totlen %d",
    				i, r.pkgOffsets[i], r.hdr.TotalLength)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 14 22:30:23 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top