- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 393 for raises (0.13 sec)
-
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
this.suppressThrows = suppressThrows; } @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) { stackCopy = Lists.newArrayList(stack);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/cachevalue/cache.go
t.Once.Do(func() { t.ttl = ttl t.updateFn = update t.opts = opts }) } // GetWithCtx will return a cached value or fetch a new one. // passes a caller context, if caller context cancels nothing // is cached. // If the Update function returns an error the value is forwarded as is and not cached. func (t *Cache[T]) GetWithCtx(ctx context.Context) (T, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/crypto/sse-c.go
// SSE-C. func (ssec) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeySSEC]; ok { return true } return false } // ParseHTTP parses the SSE-C headers and returns the SSE-C client key // on success. SSE-C copy headers are ignored. func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
fastapi/utils.py
"alias": alias, } ) try: return ModelField(**kwargs) # type: ignore[arg-type] except (RuntimeError, PydanticSchemaGenerationError): raise fastapi.exceptions.FastAPIError( "Invalid args for response field! Hint: " f"check that {type_} is a valid Pydantic field type. "
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 31 23:46:03 UTC 2024 - 7.8K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
2. If this fails, get a third party (e.g. a mutual friend, and/or someone with background on the issue, but not involved in the conflict) to intercede. 3. If you are still unable to resolve the conflict, and you believe it rises to harassment or another code of conduct violation, report it. ## Reporting Violations
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Feb 05 18:43:16 UTC 2021 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder(); assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue))); List<Throwable> causes = getCausalChain(ex); assertThrows(UnsupportedOperationException.class, () -> causes.add(new RuntimeException())); } public void testGetCasualChainNull() { assertThrows(NullPointerException.class, () -> getCausalChain(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* @param count the number of misses to record * @since 11.0 */ void recordMisses(int count); /** * Records the successful load of a new entry. This should be called when a cache request causes * an entry to be loaded, and the loading completes successfully. In contrast to {@link * #recordMisses}, this method should only be called by the loading thread. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Parses and evaluates version ranges encountered in dependency declarations. * * @since 4.0.0 */ @Experimental @Consumer public interface VersionRangeResolver extends Service { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
+ " Your JAR contains rogue Maven Plugin metadata." + " Possible causes may be: shaded into this JAR some Maven Plugin or some rogue resource.", artifact.getGroupId(), artifact.getArtifactId(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
shouldPass bool }{ // Test cases with invalid bucket names ( Test number 1-4 ). {".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false}, {"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false}, {"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false}, // Test cases with valid but non-existing bucket names (Test number 5-6).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0)