Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 342 for _offset (0.04 sec)

  1. src/bytes/reader.go

    	return nil
    }
    
    // Seek implements the [io.Seeker] interface.
    func (r *Reader) Seek(offset int64, whence int) (int64, error) {
    	r.prevRune = -1
    	var abs int64
    	switch whence {
    	case io.SeekStart:
    		abs = offset
    	case io.SeekCurrent:
    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    		return 0, errors.New("bytes.Reader.Seek: invalid whence")
    	}
    	if abs < 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

      /** Private constructor for built-in DiscreteDomains supporting fast offset. */
      private DiscreteDomain(boolean supportsFastOffset) {
        this.supportsFastOffset = supportsFastOffset;
      }
    
      /**
       * Returns, conceptually, "origin + distance", or equivalently, the result of calling {@link
       * #next} on {@code origin} {@code distance} times.
       */
      C offset(C origin, long distance) {
        C current = origin;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    			p.get(',')
    		}
    	}
    	a.Type = obj.TYPE_REGLIST
    	switch p.arch.Family {
    	case sys.ARM:
    		a.Offset = int64(bits)
    	case sys.ARM64:
    		offset, err := arch.ARM64RegisterListOffset(firstReg, regCnt, arrangement)
    		if err != nil {
    			p.errorf("%v", err)
    		}
    		a.Offset = offset
    	default:
    		p.errorf("register list not supported on this architecture")
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
            return offset;
        }
    
        @Override
        public int getPageSize() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
            return offset;
        }
    
        @Override
        public int getPageSize() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        public synchronized PagingList<SynonymItem> selectList(final int offset, final int size) {
            if (synonymItemList == null) {
                reload(null);
            }
    
            if (offset >= synonymItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<SynonymItem> emptyList(), offset, size, synonymItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > synonymItemList.size()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        private final transient @Nullable Object[] alternatingKeysAndValues;
        private final transient int offset;
        private final transient int size;
    
        KeysOrValuesAsList(@Nullable Object[] alternatingKeysAndValues, int offset, int size) {
          this.alternatingKeysAndValues = alternatingKeysAndValues;
          this.offset = offset;
          this.size = size;
        }
    
        @Override
        public Object get(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    	if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr {
    		p.errorf("overlapping DATA entry for %s", name)
    		return
    	}
    	p.dataAddr[name] = nameAddr.Offset + int64(sz)
    
    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial002_an.py

        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=List[HeroPublic])
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ):
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}", response_model=HeroPublic)
    def read_hero(hero_id: int, session: SessionDep):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top