- Sort Score
- Result 10 results
- Languages All
Results 1721 - 1730 of 2,172 for error_1 (0.05 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008d.py
client = TestClient(app, raise_server_exceptions=False) response = client.get("/items/portal-gun") assert response.status_code == 500, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
fastapi/security/oauth2.py
""" By default, if no HTTP Authorization header is provided, required for OAuth2 authentication, it will automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
# Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
} // Unlock unlocks the write lock. // // It is a run-time error if lm is not locked on entry to Unlock. func (lm *LRWMutex) Unlock() { isWriteLock := true success := lm.unlock(isWriteLock) if !success { panic("Trying to Unlock() while no Lock() is active") } } // RUnlock releases a read lock held on lm. // // It is a run-time error if lm is not locked on entry to RUnlock. func (lm *LRWMutex) RUnlock() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/lock-rest-server.go
globalLockServer = lockServer.ll go lockMaintenance(GlobalContext) } func (l *lockRESTServer) makeResp(dst *dsync.LockResp, err error) (*dsync.LockResp, *grid.RemoteErr) { *dst = dsync.LockResp{Code: dsync.RespOK} switch err { case nil: case errLockNotInitialized: dst.Code = dsync.RespLockNotInitialized case errLockConflict:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
* under the License. */ package org.apache.maven.plugin; /** * An exception occurring during the execution of a plugin.<br> * Throwing this exception causes a "BUILD ERROR" message to be displayed. * */ public class MojoExecutionException extends AbstractMojoExecutionException { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
gradlew
fi if [ ! -x "$JAVACMD" ] ; then die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi else JAVACMD=java if ! command -v java >/dev/null 2>&1 then die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:00:26 UTC 2023 - 8.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation); } catch (Exception e) { throw new IllegalArgumentException("Error extracting features from tester annotation.", e); } Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures)); Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 12.2K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
if sent == nil { panic("expected snapshot sent") } sendAck(ztunClient) // now remove the pod ztunnelServer := fixture.ztunServer errChan := make(chan error) go func() { errChan <- ztunnelServer.PodDeleted(ctx, uid) }() // read the msg to delete from ztunnel m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(0, stats.loadSuccessCount()); assertEquals(1, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); } public void testLoadError() throws ExecutionException { Error e = new Error(); CacheLoader<Object, Object> loader = errorLoader(e); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); CacheStats stats = cache.stats();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0)