Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for setOffset (0.09 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    if ( th.isSMB2() ) {
                        Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fh.getFileId(), b, off);
                        request.setOffset(this.fp);
                        request.setReadLength(r);
                        request.setRemainingBytes(len - off);
                        try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    clearAttributes();
                    termAttr.append(nextToken.word);
                    finalOffset = correctOffset(blkStart + nextToken.endOffset);
                    offsetAttr.setOffset(correctOffset(blkStart + nextToken.startOffset), finalOffset);
                    posIncAttr.setPositionIncrement(nextToken.posInc);
                    return true;
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public void setReadLength ( int readLength ) {
            this.readLength = readLength;
        }
    
    
        /**
         * @param offset
         *            the offset to set
         */
        public void setOffset ( long offset ) {
            this.offset = offset;
        }
    
    
        /**
         * @param minimumCount
         *            the minimumCount to set
         */
        public void setMinimumCount ( int minimumCount ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         */
        public final void setMode ( int mode ) {
            this.mode = mode;
        }
    
    
        /**
         * @param offset
         *            the offset to set
         */
        public final void setOffset ( long offset ) {
            this.offset = offset;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#writeParameterWordsWireFormat(byte[], int)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}}
    }
    
    // SetOffset sets the offset of the beginning of the zip data within the
    // underlying writer. It should be used when the zip data is appended to an
    // existing file, such as a binary executable.
    // It must be called before any data is written.
    func (w *Writer) SetOffset(n int64) {
    	if w.cw.count != 0 {
    		panic("zip: SetOffset called after data was written")
    	}
    	w.cw.count = n
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         */
        public void setWriteFlags ( int writeFlags ) {
            this.writeFlags = writeFlags;
        }
    
    
        /**
         * @param offset
         *            the offset to set
         */
        public void setOffset ( long offset ) {
            this.offset = offset;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. src/archive/zip/writer_test.go

    		writeTests[1].Data = nil
    	}()
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	existingData := []byte{1, 2, 3, 1, 2, 3, 1, 2, 3}
    	n, _ := buf.Write(existingData)
    	w := NewWriter(buf)
    	w.SetOffset(int64(n))
    
    	for _, wt := range writeTests {
    		testCreate(t, w, &wt)
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read it back
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
                        Smb2WriteRequest wr = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
                        wr.setOffset(this.fp);
                        wr.setData(b, off, w);
    
                        Smb2WriteResponse resp = th.send(wr, RequestParam.NO_RETRY);
                        long cnt = resp.getCount();
                        this.fp += cnt;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

                    try {
    
                        if ( th.isSMB2() ) {
                            Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fd.getFileId(), b, off);
                            request.setOffset(type == SmbConstants.TYPE_NAMED_PIPE ? 0 : this.fp);
                            request.setReadLength(r);
                            request.setRemainingBytes(len - r);
    
                            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg archive/zip, method (*Writer) SetOffset(int64)
    pkg bufio, method (*Reader) Discard(int) (int, error)
    pkg bufio, method (ReadWriter) Discard(int) (int, error)
    pkg bytes, func LastIndexByte([]uint8, uint8) int
    pkg bytes, method (*Buffer) Cap() int
    pkg bytes, method (*Reader) Size() int64
    pkg crypto, const SHA512_224 = 14
    pkg crypto, const SHA512_224 Hash
    pkg crypto, const SHA512_256 = 15
    pkg crypto, const SHA512_256 Hash
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top