- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 403 for prefix (0.28 sec)
-
internal/bucket/lifecycle/prefix.go
package lifecycle import ( "encoding/xml" ) // Prefix holds the prefix xml tag in <Rule> and <Filter> type Prefix struct { string set bool Unused struct{} // Needed for GOB compatibility } // UnmarshalXML - decodes XML data. func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) { var s string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 15 14:45:25 GMT 2023 - 1.5K bytes - Viewed (0) -
tests/test_deprecated_openapi_prefix.py
from fastapi import FastAPI, Request from fastapi.testclient import TestClient app = FastAPI(openapi_prefix="/api/v1") @app.get("/app") def read_main(request: Request): return {"message": "Hello World", "root_path": request.scope.get("root_path")} client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.2K bytes - Viewed (0) -
tests/test_router_prefix_with_template.py
app = FastAPI() router = APIRouter() @router.get("/users/{id}") def read_user(segment: str, id: str): return {"segment": segment, "id": id} app.include_router(router, prefix="/{segment}") client = TestClient(app) def test_get(): response = client.get("/seg/users/foo") assert response.status_code == 200, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 484 bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
for i, prefix := range testPrefixes { if v.PrefixEnabled(prefix) || !v.PrefixSuspended(prefix) { t.Fatalf("Test %d: Expected versioning to be excluded for %s", i+1, prefix) } } // Test applicability for regular objects if prefix := "prefix-1/obj-1"; !v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix) { t.Fatalf("Expected versioning to be enabled for %s", prefix) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 08 05:06:44 GMT 2022 - 8.8K bytes - Viewed (0) -
cmd/metacache_test.go
prefix: "prefix/obj.ext", want: "prefix/", }, { name: "folderfolderobj", prefix: "prefix/prefix2/obj.ext", want: "prefix/prefix2/", }, { name: "folderfolder", prefix: "prefix/prefix2/", want: "prefix/prefix2/", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := baseDirFromPrefix(tt.prefix); got != tt.want {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Viewed (0) -
internal/bucket/versioning/versioning.go
if prefix == "" { return true } if v.ExcludeFolders && strings.HasSuffix(prefix, "/") { return false } for _, sprefix := range v.ExcludedPrefixes { // Note: all excluded prefix patterns end with `/` (See Validate) sprefix.Prefix += "*" if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched { return false } } return true }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
private static final String CIPHER_PREFIX = "{cipher}"; protected static final String XPATH_PREFIX = "field.xpath."; protected static final String META_PREFIX = "field.meta."; protected static final String VALUE_PREFIX = "field.value."; protected static final String SCRIPT_PREFIX = "field.script."; protected static final String CLIENT_PREFIX = "client.";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java
} public String getPrefix() { return prefix; } public DefaultPluginPrefixRequest setPrefix(String prefix) { this.prefix = prefix; return this; } public List<String> getPluginGroups() { return pluginGroups; } public DefaultPluginPrefixRequest setPluginGroups(List<String> pluginGroups) { if (pluginGroups != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.8K bytes - Viewed (0) -
tests/test_ws_dependencies.py
def test_routerprefixindex(): client = TestClient(app) with client.websocket_connect("/prefix/") as websocket: data = json.loads(websocket.receive_text())
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jun 11 20:35:39 GMT 2023 - 2.1K bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
exit 1 fi tmp_png_prefix=/tmp/thumbnail.png.$$ pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix} tmp_png_file="${tmp_png_prefix}.png" rm -f ${tmp_pdf_file} if [[ ! -f ${tmp_png_file} ]] ; then echo "pdftoppm does not work." exit 1 fi convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}" rm -f ${tmp_png_prefix}*png elif [[ x"${cmd_type}" = "xpdf" ]] ; then
Shell Script - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Jun 12 13:13:28 GMT 2023 - 2.5K bytes - Viewed (0)