Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 343 for op_set (0.12 sec)

  1. docs_src/sql_databases/tutorial001_py310.py

        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    		rsc.offset = rsc.size + offset
    	}
    	if rsc.offset < 0 {
    		return rsc.offset, errors.New("seek to invalid negative offset")
    	}
    	if rsc.offset >= rsc.size {
    		return rsc.offset, errors.New("seek past end of object")
    	}
    	if rsc.reader != nil {
    		_ = rsc.reader.Close()
    		rsc.reader = nil
    	}
    	return rsc.offset, nil
    }
    
    // Read call to implement io.Reader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        /**
         * Update digest with data
         * 
         * @param input
         * @param offset
         * @param len
         */
        public void update ( byte[] input, int offset, int len ) {
            if ( log.isTraceEnabled() ) {
                log.trace("update: " + this.updates + " " + offset + ":" + len);
                log.trace(Hexdump.toHexString(input, offset, Math.min(len, 256)));
            }
            if ( len == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashCode.java

        writeBytesToImpl(dest, offset, maxLength);
        return maxLength;
      }
    
      abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength);
    
      /**
       * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a
       * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. 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}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        protected long queryTime;
    
        // for testing
        protected QueryResponseList(final List<Map<String, Object>> documentList, final int start, final int pageSize, final int offset) {
            parent = documentList;
            this.offset = offset;
            this.start = start;
            this.pageSize = pageSize;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/IoTestCase.java

        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
                    offset = 0;
                } else if (offset > windowSize / 2) {
                    offset = windowSize / 2;
                }
                int start = startPosition - offset;
                if (start < 0) {
                    start = 0;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    }
    
    // ARM64RegisterListOffset generates offset encoding according to AArch64 specification.
    func ARM64RegisterListOffset(firstReg, regCnt int, arrangement int64) (int64, error) {
    	offset := int64(firstReg)
    	switch regCnt {
    	case 1:
    		offset |= 0x7 << 12
    	case 2:
    		offset |= 0xa << 12
    	case 3:
    		offset |= 0x6 << 12
    	case 4:
    		offset |= 0x2 << 12
    	default:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top