- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 321 for lsoffset (0.07 sec)
-
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) -
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) -
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()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0) -
src/archive/tar/writer_test.go
Name: "gnu-sparse", Size: 6e10, SparseHoles: []sparseEntry{ {Offset: 0e10, Length: 1e10 - 100}, {Offset: 1e10, Length: 1e10 - 100}, {Offset: 2e10, Length: 1e10 - 100}, {Offset: 3e10, Length: 1e10 - 100}, {Offset: 4e10, Length: 1e10 - 100}, {Offset: 5e10, Length: 1e10 - 100}, }, }, nil}, testReadFrom{fileOps{
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
return new SubList(fromIndex, toIndex - fromIndex); } class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; } @Override public int size() { return length; } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py39.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.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)