Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for lsoffset (0.09 sec)

  1. guava/src/com/google/common/hash/LittleEndianByteArray.java

          @Override
          public long getLongLittleEndian(byte[] source, int offset) {
            return Longs.fromBytes(
                source[offset + 7],
                source[offset + 6],
                source[offset + 5],
                source[offset + 4],
                source[offset + 3],
                source[offset + 2],
                source[offset + 1],
                source[offset]);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial002.py

        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    	if offset < 0 || length < 0 {
    		return -1, errInvalidArgument
    	}
    	if offset+length > totalLength {
    		return -1, errInvalidArgument
    	}
    
    	if length == 0 {
    		return 0, nil
    	}
    
    	reader := newParallelReader(readers, e, offset, totalLength)
    	if len(prefer) == len(readers) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            if (mappingItemList == null) {
                reload(null);
            }
    
            if (offset >= mappingItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > mappingItemList.size()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	closed      bool
    	compressors map[uint16]Compressor
    	comment     string
    
    	// testHookCloseSizeOffset if non-nil is called with the size
    	// of offset of the central directory at Close.
    	testHookCloseSizeOffset func(size, offset uint64)
    }
    
    type header struct {
    	*FileHeader
    	offset uint64
    	raw    bool
    }
    
    // NewWriter returns a new [Writer] writing a zip file to w.
    func NewWriter(w io.Writer) *Writer {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

       * @param offset the first argument to {@link ByteSource#slice}
       * @param length the second argument to {@link ByteSource#slice}
       * @param expectRead the number of bytes we expect to read
       */
      private static void assertCorrectSlice(int input, int offset, long length, int expectRead)
          throws IOException {
        checkArgument(expectRead == (int) max(0, min(input, offset + length) - offset));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. docs_src/sql_databases/tutorial001_an_py310.py

        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 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: SessionDep) -> 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)
  8. android/guava/src/com/google/common/io/ByteSource.java

      private final class SlicedByteSource extends ByteSource {
    
        final long offset;
        final long length;
    
        SlicedByteSource(long offset, long length) {
          checkArgument(offset >= 0, "offset (%s) may not be negative", offset);
          checkArgument(length >= 0, "length (%s) may not be negative", length);
          this.offset = offset;
          this.length = length;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. internal/s3select/jstream/decoder_test.go

    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    		t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value)
    	}
    
    	if err := decoder.Err(); err != nil {
    		t.Fatalf("decoder error: %s", err)
    	}
    }
    
    func TestDecoderNested(t *testing.T) {
    	var (
    		counter int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_query_param_models/test_tutorial001.py

        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top