Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 323 for offcut (0.26 sec)

  1. src/bytes/compare_test.go

    		buffer := make([]byte, len(tt.b)+numShifts)
    		// vary the input alignment of tt.b
    		for offset := 0; offset <= numShifts; offset++ {
    			shiftedB := buffer[offset : len(tt.b)+offset]
    			copy(shiftedB, tt.b)
    			cmp := Compare(tt.a, shiftedB)
    			if cmp != tt.i {
    				t.Errorf(`Compare(%q, %q), offset %d = %v; want %v`, tt.a, tt.b, offset, cmp, tt.i)
    			}
    		}
    	}
    }
    
    func TestCompareIdenticalSlice(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

     *
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
    
        /**
         * @param config
         */
        public SmbComSeekResponse ( Configuration config ) {
            super(config);
        }
    
    
        /**
         * @return the offset
         */
        public long getOffset () {
            return this.offset;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  3. cmd/bitrot-streaming.go

    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    		streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    				new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
    				offset += bytes.length;
    				if (offset % 8 !== 0) {
    					offset += 8 - (offset % 8);
    				}
    				return ptr;
    			};
    
    			const argc = this.argv.length;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            if (protwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= protwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<ProtwordsItem> emptyList(), offset, size, protwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > protwordsItemList.size()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

            }
            else {
                resp = negotitate(inputBuf, offset, len);
            }
    
            if ( resp == null ) {
                return null;
            }
            return resp.toByteArray();
        }
    
    
        private SpnegoToken negotitate ( byte[] inputBuf, int offset, int len ) throws CIFSException {
            SpnegoToken spToken = getToken(inputBuf, offset, len);
            byte[] inputToken = null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    (serverLength > 0 ? serverLength + 4 : 0) + 4];
            int offset = 0;
            if (domainLength > 0) {
                writeUShort(targetInfo, offset, 2);
                offset += 2;
                writeUShort(targetInfo, offset, domainLength);
                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if (serverLength > 0) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        public synchronized PagingList<KuromojiItem> selectList(final int offset, final int size) {
            if (kuromojiItemList == null) {
                reload(null);
            }
    
            if (offset >= kuromojiItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<KuromojiItem> emptyList(), offset, size, kuromojiItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > kuromojiItemList.size()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            if (stopwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= stopwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<StopwordsItem> emptyList(), offset, size, stopwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > stopwordsItemList.size()) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top