- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 213 for caught (0.22 sec)
-
src/runtime/testdata/testprogcgo/sigfwd.go
int *sigfwdP; static void sigsegv() { expectCSigsegv = 1; *sigfwdP = 1; fprintf(stderr, "ERROR: C SIGSEGV not thrown on caught?.\n"); exit(2); } static void segvhandler(int signum) { if (signum == SIGSEGV) { if (expectCSigsegv == 0) { fprintf(stderr, "SIGSEGV caught in C unexpectedly\n"); exit(1); } fprintf(stdout, "OK\n"); exit(0); // success } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 01 17:06:49 UTC 2022 - 1.6K bytes - Viewed (0) -
tests/test_ws_router.py
""" Verify that a validation in a dependency invokes the correct exception handler """ caught = [] @websocket_middleware async def catcher(websocket, call_next): try: return await call_next() except Exception as e: # pragma: no cover caught.append(e) raise myapp = make_app(middleware=[Middleware(catcher)])
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
okhttp-coroutines/README.md
Cancellation if implemented sensibly in both directions. Cancelling a coroutine scope, will cancel the call. Cancelling a call, will throw a CancellationException
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Nov 09 15:47:27 UTC 2023 - 609 bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set * @since 11.0 */ public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception { // This will be caught by getAll(), causing it to fall back to multiple calls to // LoadingCache.get throw new UnsupportedLoadingOperationException();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.5K bytes - Viewed (0) -
pilot/pkg/util/network/ip.go
func AllIPv6(ipAddrs []string) bool { for i := 0; i < len(ipAddrs); i++ { addr, err := netip.ParseAddr(ipAddrs[i]) if err != nil { // Should not happen, invalid IP in proxy's IPAddresses slice should have been caught earlier, // skip it to prevent a panic. continue } if addr.Is4() { return false } } return true } // AllIPv4 checks the addresses slice and returns true if all addresses
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 21:27:21 UTC 2023 - 6.3K bytes - Viewed (0) -
test/method1.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that method redeclarations are caught by the compiler. // Does not compile. package main type T struct{} func (t *T) M(int, string) // GCCGO_ERROR "previous" func (t *T) M(int, float64) {} // ERROR "already declared|redefinition"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:59:19 UTC 2022 - 739 bytes - Viewed (0) -
test/typecheckloop.go
// errorcheck // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that constant definition loops are caught during // typechecking and that the errors print correctly. package main const A = 1 + B // ERROR "constant definition loop\n.*A uses B\n.*B uses C\n.*C uses A|initialization cycle"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 528 bytes - Viewed (0) -
test/typeswitch2b.go
// errorcheck // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Verify that various erroneous type switches are caught by the compiler. // Does not compile. package main func notused(x interface{}) { // The first t is in a different scope than the 2nd t; it cannot // be accessed (=> declared and not used error); but it is legal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 598 bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set * @since 11.0 */ public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception { // This will be caught by getAll(), causing it to fall back to multiple calls to // LoadingCache.get throw new UnsupportedLoadingOperationException();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.6K bytes - Viewed (0) -
test/fixedbugs/issue15091.go
package sample type Html struct { headerIDs map[string]int } // We don't want to see: // internal error: (*Html).xyzzy autotmp_3 (type *int) recorded as live on entry, p.Pc=0 // or (now, with the error caught earlier) // Treating auto as if it were arg, func (*Html).xyzzy, node ... // caused by racewalker inserting instrumentation before an OAS where the Ninit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 989 bytes - Viewed (0)