Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 3,994 for getS (0.02 sec)

  1. internal/bpool/bpool_test.go

    	}
    
    	// Check with width cap
    	if bp.WidthCap() != capWidth {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bp.WidthCap(), capWidth)
    	}
    
    	// Check that retrieved buffer are of the expected width
    	b := bp.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    	if cap(b) != capWidth {
    		t.Fatalf("bytepool cap invalid: got %v want %v", cap(b), capWidth)
    	}
    
    	bp.Put(b)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs_src/path_operation_configuration/tutorial002_py310.py

        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 537 bytes
    - Viewed (0)
  3. docs/en/docs/index.md

    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests.
        * As the `q` parameter is declared with `= None`, it is optional.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                request.setBuilderId(context.options().builder().get());
            }
        }
    
        protected Path determinePom(MavenContext context, Lookup lookup) {
            Path current = context.cwd.get();
            if (context.options().alternatePomFile().isPresent()) {
                current = context.cwd.resolve(context.options().alternatePomFile().get());
            }
            ModelProcessor modelProcessor =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            assertArgumentNotEmpty("propertyName", propertyName);
    
            return propertyDescCache.get(propertyName) != null;
        }
    
        @Override
        public PropertyDesc getPropertyDesc(final String propertyName) {
            assertArgumentNotEmpty("propertyName", propertyName);
    
            final PropertyDesc pd = propertyDescCache.get(propertyName);
            if (pd == null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            configField.setAccessible(true);
            assertSame(mockConfig, configField.get(response));
    
            // Verify queryAddress is set
            Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");
            queryAddressField.setAccessible(true);
            assertSame(mockQueryAddress, queryAddressField.get(response));
    
            // Verify recordName is initialized
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial005.py

            client.cookies.set("last_query", cookie)
        else:
            client.cookies.clear()
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userProvider := mux.Vars(r)["userProvider"]
    
    	user := r.Form.Get("user")
    	tokenRevokeType := r.Form.Get("tokenRevokeType")
    	fullRevoke := r.Form.Get("fullRevoke") == "true"
    	isTokenSelfRevoke := user == ""
    	if !isTokenSelfRevoke {
    		var err error
    		user, err = getUserWithProvider(ctx, userProvider, user, false)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

        @Override
        protected int execute(LookupContext context) throws Exception {
            // set up JLine built-in commands
            ConfigurationPath configPath = new ConfigurationPath(context.cwd.get(), context.cwd.get());
            Builtins builtins = new Builtins(context.cwd, configPath, null);
            builtins.rename(Builtins.Command.TTOP, "top");
            builtins.alias("zle", "widget");
            builtins.alias("bindkey", "keymap");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            if (layout.containsKey(key)) {
                if (layout.get(key).getValueLines() != null) {
                    return new ArrayList<String>(layout.get(key).getValueLines());
                }
            }
            List<String> result = new ArrayList<String>();
            if (storage.containsKey(key)) {
                result.add(storage.get(key));
            }
            return result;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top