Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for Oancea (0.1 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

    ### Import `HTTPException`
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### Lance o `HTTPException` no seu código.
    
    `HTTPException`, ao fundo, nada mais é do que a conjunção entre uma exceção comum do Python e informações adicionais relevantes para APIs.
    
    E porque é uma exceção do Python, você não **retorna** (return) o `HTTPException`, você lança o (raise) no seu código.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // https://www.iana.org/domains/root/db/cyou.html
    cyou
    
    // dad : Charleston Road Registry Inc.
    // https://www.iana.org/domains/root/db/dad.html
    dad
    
    // dance : Dog Beach, LLC
    // https://www.iana.org/domains/root/db/dance.html
    dance
    
    // data : Dish DBS Corporation
    // https://www.iana.org/domains/root/db/data.html
    data
    
    // date : dot Date Limited
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(config, testMid);
    
                // Then
                assertNotNull(cancel);
                assertEquals(testMid, cancel.getMid());
                assertTrue(cancel.isCancel());
            }
        }
    
        @Nested
        @DisplayName("Method Behavior Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. cmd/etcd.go

    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    
    	_, err := client.Delete(timeoutCtx, key)
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    func readKeyEtcd(ctx context.Context, client *etcd.Client, key string) ([]byte, error) {
    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	resp, err := client.Get(timeoutCtx, key)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @Test
        @DisplayName("Test isResponseAsync returns false")
        void testIsResponseAsync() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            boolean isAsync = request.isResponseAsync();
    
            // Then
            assertFalse(isAsync, "Cancel requests should not expect async responses");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        async.setFuture(inner);
        async.cancel(false);
        assertTrue(inner.isCancelled());
        assertFalse(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_beforeSet() throws Exception {
        SettableFuture<Object> async = SettableFuture.create();
        async.cancel(true);
        assertFalse(async.set(42));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/server-startup-msg_test.go

    		t.Fatalf("Expected %#v, got %#v", apiEndpoints, newAPIEndpoints)
    	}
    }
    
    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. cmd/healthcheck-handler.go

    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := checkHealth(w)
    	if objLayer == nil {
    		return
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, globalAPIConfig.getClusterDeadline())
    	defer cancel()
    
    	opts := HealthOptions{
    		Maintenance:    r.Form.Get("maintenance") == "true",
    		DeploymentType: r.Form.Get("deployment-type"),
    	}
    	result := objLayer.Health(ctx, opts)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	if !deleteOpts.Immediate {
    		// add deadlines for all non-immediate purges
    		var cancel context.CancelFunc
    		ctx, cancel = context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    		defer cancel()
    	}
    
    	_, err := storageDeleteFileRPC.Call(ctx, client.gridConn, &DeleteFileHandlerParams{
    		DiskID:   *client.diskID.Load(),
    		Volume:   volume,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        inputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top