Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 683 for putA (0.03 sec)

  1. internal/bpool/bpool_test.go

    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    	bp.Put(make([]byte, width))           // wrong capacity is rejected (very less)
    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    		t.Fatal("bytepool should have accepted short slice with sufficient capacity")
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            final Map<String, String> item = new HashMap<>();
            item.put("type", artifact.getType().getId());
            item.put("id", artifact.getName() + ":" + artifact.getVersion());
            item.put("name", artifact.getName());
            item.put("version", artifact.getVersion());
            item.put("url", artifact.getUrl());
            return item;
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tests/test_dependency_normal_exceptions.py

            state["except"] = True
            raise
        finally:
            state["finally"] = True
    
    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.get())
                    put("isSnapshot", snapshot.get().toString())
                    put("buildTimestamp", getBuildTimestampAsString())
                    put("buildTimestampIso", getBuildTimestampAsIsoString())
                },
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/DuplicateHostTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("duplicate_host_name", "duplicate_" + new Integer(id).toString());
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("duplicate_host_name", "new_duplicate_host");
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

            },
            "q": "bar",
        }
    
    
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py

        }
    
    
    @needs_py310
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    @needs_py310
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py

        }
    
    
    @needs_py310
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    @needs_py310
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    }).filter(o -> o != null && keySet.add(o.getFirst())).collect(HashMap<String, List<String>>::new,
                            (m, d) -> m.put(d.getFirst(), Arrays.asList(d.getSecond().split(","))), HashMap::putAll));
                }
                propMap.put(DEFAULT_LABEL_VALUES, map);
            }
            return map.entrySet().stream().flatMap(e -> {
                final String key = e.getKey();
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py

        }
    
    
    @needs_py39
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    @needs_py39
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top