- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,417 for whence (0.03 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
@Deprecated public class DefaultWagonManager extends org.apache.maven.repository.legacy.DefaultWagonManager implements WagonManager { // NOTE: This must use a different field name than in the super class or IoC has no chance to inject the loggers @Inject private Logger log; @Inject private LegacySupport legacySupport; @Inject private SettingsDecrypter settingsDecrypter; @Inject
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
entry != null; entry = entry.getNextInKeyBucket()) { Object candidateKey = entry.getKey(); /* * Assume that equals uses the == optimization when appropriate, and that * it would check hash codes as an optimization when appropriate. If we * did these things, it would just make things worse for the most * performance-conscious users. */ if (key.equals(candidateKey)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
cmd/signature-v4-utils.go
case "content-length": // Signature-V4 spec excludes Content-Length from signed headers list for signature calculation. // But some clients deviate from this rule. Hence we consider Content-Length for signature // calculation to be compatible with such clients. extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10)) default: return nil, ErrUnsignedHeaders }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 25 17:10:22 UTC 2024 - 9.1K bytes - Viewed (0)