Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for offsets (0.04 sec)

  1. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Or(query, args...)
    	})
    }
    
    func (c chainG[T]) Limit(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Limit(offset)
    	})
    }
    
    func (c chainG[T]) Offset(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Offset(offset)
    	})
    }
    
    type joinBuilder struct {
    	db *DB
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

     * information for authenticating with an SMB1 server.
     *
     * <p>
     * It provides methods to set and retrieve the server address, port, username,
     * password, and domain. Additionally, it offers a method to construct a path
     * prefix for SMB1 URLs based on the configured server and port.
     * </p>
     *
     * <p>
     * The path prefix is in the format "smb1://server:port/", where the port is
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    lable2:
    	BFPF	1(PC)				// 00040048
    	BFPF	lable2		// BFPF 6 	// 1ffcff4b
    	BFPF	FCC0, lable2	// BFPF FCC0, 6	// 1ff8ff4b
    	BFPF	FCC7, lable2	// BFPF FCC7, 6	// fff4ff4b
    
    	// relocation in play so the assembled offset should be 0
    	JMP	foo(SB)			// 00000050
    
    	JMP	(R4)			// 8000004c
    	JMP	1(PC)			// 00040050
    	MOVW	$65536, R4		// 04020014
    	MOVW	$4096, R4		// 24000014
    	MOVV	$65536, R4		// 04020014
    	MOVB	R4, R5			// 855c0000
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	if len(found) != 2 {
    		t.Errorf("expected %d from Raw Find, got %d", 2, len(found))
    	}
    
    	found, err = gorm.G[User](DB).Where("name like ?", "GenericsCreateInBatches%").Offset(2).Limit(2).Find(ctx)
    	if len(found) != 1 {
    		t.Errorf("expected %d from Raw Find, got %d", 1, len(found))
    	}
    }
    
    func TestGenericsExecAndUpdate(t *testing.T) {
    	ctx := context.Background()
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objectRSC := s3select.NewObjectReadSeekCloser(
    		func(offset int64) (io.ReadCloser, error) {
    			rs := &HTTPRangeSpec{
    				IsSuffixLength: false,
    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    		},
    		actualSize,
    	)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    	// Special care for CopyObjectPart
    	if partRangeErr := checkCopyPartRangeWithSize(rs, actualPartSize); partRangeErr != nil {
    		writeCopyPartErr(ctx, w, partRangeErr, r.URL)
    		return
    	}
    
    	// Get the object offset & length
    	startOffset, length, err := rs.GetOffsetLength(actualPartSize)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	if length < 0 {
    		length = fi.Size - startOffset
    	}
    
    	// Reply back invalid range if the input offset and length fall out of range.
    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top