- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 2,250 for Mirror (0.09 sec)
-
guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error(); TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(c1Exception)); TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/InterruptibleTask.java
waitForInterrupt(currentThread); } if (run) { if (error == null) { // The cast is safe because of the `run` and `error` checks. afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result)); } else { afterRanInterruptiblyFailure(error); } } } } @SuppressWarnings({
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
istioctl/cmd/root.go
for _, command := range curCmd.Commands() { if !seenCommands[command] { commandStack = append(commandStack, command) } } curCmd.SetFlagErrorFunc(func(_ *cobra.Command, e error) error { return util.CommandParseError{Err: e} }) } return rootCmd } func hideInheritedFlags(orig *cobra.Command, hidden ...string) { orig.SetHelpFunc(func(cmd *cobra.Command, args []string) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
docs_src/handling_errors/tutorial002.py
@app.get("/items-header/{item_id}") async def read_item_header(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "There goes my error"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 404 bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
debug, err := extractZtunnelConfigDump(kubeClient, podName, podNamespace) if err != nil { return nil, err } return setupConfigdumpZtunnelConfigWriter(debug, out) } func readFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
internal/http/dial_linux.go
"time" "github.com/minio/minio/internal/deadlineconn" "golang.org/x/sys/unix" ) func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error { return func(network, address string, c syscall.RawConn) error { c.Control(func(fdPtr uintptr) { // got socket file descriptor to set parameters. fd := int(fdPtr) _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0) -
internal/config/policy/opa/config.go
Transport http.RoundTripper `json:"-"` CloseRespFn func(r io.ReadCloser) `json:"-"` } // Validate - validate opa configuration params. func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err } req.Header.Set("Content-Type", "application/json") if a.AuthToken != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
noIstiod: true, expectedOutput: "Error: no running Istio pods in \"istio-system\"\n", wantException: true, }, { // case 1, with Istiod instance args: []string{}, expectedString: "NAME CLUSTER CDS LDS EDS RDS ECDS ISTIOD", }, { // case 2: supplying nonexistent pod name should result in error with flag
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
} }, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
} catch (InterruptedException ignore) {} deferred.reject(new Exception()); }); th.start(); final CountDownLatch latch = new CountDownLatch(1); deferred.promise().error(error -> latch.countDown()); assertTrue(latch.await(10, TimeUnit.SECONDS)); } @Test public void test_doneAfterReject() throws Exception {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.8K bytes - Viewed (0)