Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,363 for would (0.03 sec)

  1. docs/zh/docs/index.md

    ### 创建
    
    * 创建一个 `main.py` 文件并写入以下内容:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_py310.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacTest.java

            baos.write(new byte[1]); // Make it > 8 bytes
            byte[] pacData = baos.toByteArray();
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
            // The error could be about version or missing buffers
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testUnalignedBuffer() throws IOException {
            // Create PAC with unaligned buffer offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

                    MavenExecutionException.class,
                    () -> sut.getRequiredProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors));
            assertTrue(exception.getMessage().contains("Could not find"));
            assertTrue(exception.getMessage().contains(":required"));
        }
    
        @Test
        void getRequiredProjectsBySelectorsReturnsProject() throws MavenExecutionException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. internal/grid/connection_test.go

    	errFatal(local.RegisterStreamingHandler(handlerTest2, h2))
    
    	// local to remote
    	remoteConn := local.Connection(remoteHost)
    	errFatal(remoteConn.WaitForConnect(t.Context()))
    	const testPayload = "Hello Grid World!"
    
    	gotResp := make(chan struct{})
    	go func() {
    		start := time.Now()
    		t.Log("Roundtrip: sending request")
    		resp, err := remoteConn.Request(t.Context(), handlerTest, []byte(testPayload))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. internal/s3select/jstream/README.md

    input size | lib | MB/s | Allocated
    --- | --- | --- | ---
    regular | standard | 97 | 3.6MB
    regular | jstream | 175 | 2.1MB
    large | standard | 92 | 305MB
    large | jstream | 404 | 69MB
    
    In a real world scenario, including initialization and reader overhead from varying blob sizes, performance can be expected as below:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    				return 0, err
    			}
    			// We use a single recursive 'adb push' of the module root instead of
    			// walking the tree and copying it piecewise. If the directory tree
    			// contains nested modules this could push a lot of unnecessary contents,
    			// but for the golang.org/x repos it seems to be significantly (~2x)
    			// faster than copying one file at a time (via filepath.WalkDir),
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                fail("Should throw CrawlingAccessException");
            } catch (CrawlingAccessException e) {
                // Expected
                assertTrue(e.getMessage().contains("Could not read a response body"));
                assertTrue(e.getMessage().contains("http://example.com/error"));
                assertNotNull(e.getCause());
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

                final Kryo kryo = new Kryo();
                // TODO use kryo.register for security
                // SECURITY WARNING: setRegistrationRequired(false) allows deserialization of arbitrary classes
                // which could potentially lead to remote code execution vulnerabilities.
                // This should be replaced with explicit class registration using kryo.register()
                // for all classes that need to be serialized/deserialized.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 6.5K bytes
    - Viewed (3)
Back to top