Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,451 for whence (0.33 sec)

  1. src/bytes/reader.go

    // 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/dummy-data-generator_test.go

    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    	return len(b), nil
    }
    
    func (f *testFile) Seek(pos int64, whence int) (int64, error) {
    	if pos == 0 && whence == io.SeekCurrent {
    		return f.pos, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, errors.New("unexpected Seek operation")
    	}
    	s, ok := f.ops[0].(int64)
    	if !ok {
    		return 0, errors.New("unexpected Seek operation")
    	}
    
    	if s != pos || whence != io.SeekCurrent {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. clause/where.go

    	OrWithSpace  = " OR "
    )
    
    // Where where clause
    type Where struct {
    	Exprs []Expression
    }
    
    // Name where clause name
    func (where Where) Name() string {
    	return "WHERE"
    }
    
    // Build build where clause
    func (where Where) Build(builder Builder) {
    	if len(where.Exprs) == 1 {
    		if andCondition, ok := where.Exprs[0].(AndConditions); ok {
    			where.Exprs = andCondition.Exprs
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. api/go1.14.txt

    pkg syscall (freebsd-arm64), type Flock_t struct, Sysid int32
    pkg syscall (freebsd-arm64), type Flock_t struct, Type int16
    pkg syscall (freebsd-arm64), type Flock_t struct, Whence int16
    pkg syscall (freebsd-arm64), type Fsid struct
    pkg syscall (freebsd-arm64), type Fsid struct, Val [2]int32
    pkg syscall (freebsd-arm64), type ICMPv6Filter struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), type Flock_t struct, Pid int32
    pkg syscall (darwin-arm64), type Flock_t struct, Start int64
    pkg syscall (darwin-arm64), type Flock_t struct, Type int16
    pkg syscall (darwin-arm64), type Flock_t struct, Whence int16
    pkg syscall (darwin-arm64), type Fsid struct
    pkg syscall (darwin-arm64), type Fsid struct, Val [2]int32
    pkg syscall (darwin-arm64), type Fstore_t struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type Flock_t struct, Sysid int32 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Type int16 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Whence int16 #53466
    pkg syscall (freebsd-riscv64), type Fsid struct #53466
    pkg syscall (freebsd-riscv64), type Fsid struct, Val [2]int32 #53466
    pkg syscall (freebsd-riscv64), type ICMPv6Filter struct #53466
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

             * Breaking AtomicReferenceFieldUpdater not only forces AggregateFutureState to fall back to
             * another implementation but also forces AbstractFutureState to be able to do the
             * same—hence the try-catch here.
             *
             * (Really, we're fortunate that breaking AtomicReferenceFieldUpdater doesn't break _even
             * more_ things.)
             */
            helper = new SynchronizedHelper();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. docs/pt/docs/help-fastapi.md

    do FastAPI.
    
    /// tip | Dica
    
    Para perguntas, pergunte nas <a href="https://github.com/fastapi/fastapi/issues/new/choose" class="external-link" target="_blank">questões do GitHub</a>, lá tem um chance maior de você ser ajudado sobre o FastAPI [FastAPI Experts](fastapi-people.md#especialistas){.internal-link target=_blank}.
    
    Use o chat apenas para outro tipo de assunto.
    
    ///
    
    ### Não faça perguntas no chat
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/da/stopwords.txt

    skal
    selv
    her
    alle
    vil
    blev
    kunne
    ind
    når
    være
    dog
    noget
    ville
    jo
    deres
    efter
    ned
    skulle
    denne
    end
    dette
    mit
    også
    under
    have
    dig
    anden
    hende
    mine
    alt
    meget
    sit
    sine
    vor
    mod
    disse
    hvis
    din
    nogle
    hos
    blive
    mange
    ad
    bliver
    hendes
    været
    thi
    jer
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 564 bytes
    - Viewed (0)
Back to top