Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 337 for _offsets (0.16 sec)

  1. tensorflow/c/c_api_macros.h

    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset. 
         */
        boolean verify(byte[] data, int offset, ServerMessageBlock response) {
            update(macSigningKey, 0, macSigningKey.length);
            int index = offset;
            update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            private int startPosition;
    
            private int pageSize;
    
            private int offset;
    
            TestSearchRequestParams(int startPosition, int pageSize, int offset) {
                this.startPosition = startPosition;
                this.pageSize = pageSize;
                this.offset = offset;
            }
    
            @Override
            public String getQuery() {
                return null;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  7. cmd/copy-part-range.go

    	}
    }
    
    // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior
    // is different from regular HTTP range header. It only supports the
    // form `bytes=first-last` where first and last are zero-based byte
    // offsets. See
    // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
    // for full details. This function treats an empty rangeString as
    // referring to the whole resource.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

      }
    
      public void testLongsOffset() {
        assertEquals(1, DiscreteDomain.longs().offset(0L, 1).longValue());
        assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue());
      }
    
      public void testLongsOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1));
        assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. clause/limit.go

    		}
    		builder.WriteString("OFFSET ")
    		builder.AddVar(builder, limit.Offset)
    	}
    }
    
    // MergeClause merge order by clauses
    func (limit Limit) MergeClause(clause *Clause) {
    	clause.Name = ""
    
    	if v, ok := clause.Expression.(Limit); ok {
    		if (limit.Limit == nil || *limit.Limit == 0) && v.Limit != nil {
    			limit.Limit = v.Limit
    		}
    
    		if limit.Offset == 0 && v.Offset > 0 {
    			limit.Offset = v.Offset
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 942 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        void setParam( int fid, long offset, int maxCount ) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
        int getBatchLimit( byte command ) {
            return command == SMB_COM_CLOSE ? BATCH_LIMIT : 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
Back to top