- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,358 for Some (0.04 sec)
-
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
#### Utility: compare with alternatives There is always *some* alternative to adding a new feature to Guava, even if it's just forking Guava yourself. We want to see that new features have some significant advantage over the alternatives. These advantages can take
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
tests/main_test.go
t.Errorf("Should got error with invalid SQL") } var count1, count2 int64 DB.Model(&User{}).Count(&count1) if count1 <= 0 { t.Errorf("Should find some users") } if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } DB.Model(&User{}).Count(&count2) if count1 != count2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* execute. If execution has already begun, the listener is executed immediately. * * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See * the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener} * documentation. */ public void add(Runnable runnable, Executor executor) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 22 21:17:24 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; import java.util.logging.Level; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A helper which does some thread-safe operations for aggregate futures, which must be implemented * differently in GWT. Namely: * * <ul> * <li>Lazily initializes a set of seen exceptions * <li>Decrements a counter atomically * </ul>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
/** * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations * are available from the {@link Interners} class. * * <p>Note that {@code String.intern()} has some well-known performance limitations, and should * generally be avoided. Prefer {@link Interners#newWeakInterner} or another {@code Interner} * implementation even for {@code String} interning. * * @author Kevin Bourrillion
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 2K bytes - Viewed (0) -
cmd/object-api-options_test.go
headers: http.Header{ xhttp.AmzObjectAttributes: []string{"test1,test2"}, }, wantObjectAttrs: map[string]struct{}{ "test1": {}, "test2": {}, }, }, { name: "multiple header lines with some duplicates", headers: http.Header{ xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"}, }, wantObjectAttrs: map[string]struct{}{ "test1": {}, "test2": {}, "test3": {}, "test4": {},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
# ============================================================================== """Converts MSYS Linux-like paths stored in env variables to Windows paths. This is necessary on Windows, because some applications do not understand/handle Linux-like paths MSYS uses, for example, Docker. """ import argparse import os def should_convert(var_name: str, blacklist: list[str] | None,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
description: | Only the package owners can request to have their packages removed from pkg.go.dev. If the package path doesn't include your github username, please provide some other form of proof of ownership. validations: required: true - type: textarea id: retraction-reason attributes: label: "What is the reason that you could not retract this package instead?"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
# JSON Compatible Encoder There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc). For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 23:31:16 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
# Response - Change Status Code You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0)