- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,077 for whence (0.05 sec)
-
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) -
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) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
/* * In principle, a Multimap implementation could add e3 first before failing on the null. But * that seems unlikely enough to be worth complicating the test over, especially if there's any * chance that a permissive test could mask a bug. */ expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
CONTRIBUTING.md
code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. Some of the ideas are documented in the [Maven Wiki][maven-wiki] which might be interesting to read and for further discussion. Getting Started ---------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jun 07 09:55:33 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
Then you declare your data model as a class that inherits from `BaseModel`. Use standard Python types for all the attributes: {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *} The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional. For example, this model above declares a JSON "`object`" (or Python `dict`) like: ```JSON
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
```Python q: str | None = Query(default=None, max_length=50) ``` This will validate the data, show a clear error when the data is not valid, and document the parameter in the OpenAPI schema *path operation*. ### `Query` as the default value or in `Annotated` { #query-as-the-default-value-or-in-annotated } Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
tests/query_test.go
var result User if DB.Where("").Where("").First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty strings") } result = User{} if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty struct") } result = User{}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0)