- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 450 for prefixo (0.11 sec)
-
tests/test_ws_router.py
with client.websocket_connect("/prefix/") as websocket: data = websocket.receive_text() assert data == "Hello, router with prefix!" def test_native_prefix_router(): client = TestClient(app) with client.websocket_connect("/native/") as websocket: data = websocket.receive_text() assert data == "Hello, router with native prefix!" def test_router2():
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/metacache-stream.go
} // pastPrefix returns true if the given prefix is before start of the block. func (b metacacheBlock) pastPrefix(prefix string) bool { if prefix == "" || strings.HasPrefix(b.First, prefix) { return false } // We have checked if prefix matches, so we can do direct compare. return b.First > prefix } // endedPrefix returns true if the given prefix ends within the block.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
tests/test_empty_router.py
@router.get("") def get_empty(): return ["OK"] app.include_router(router, prefix="/prefix") client = TestClient(app) def test_use_empty(): with client: response = client.get("/prefix") assert response.status_code == 200, response.text assert response.json() == ["OK"] response = client.get("/prefix/") assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 22:37:34 UTC 2023 - 805 bytes - Viewed (0) -
internal/event/rules.go
package event import ( "strings" "github.com/minio/pkg/v3/wildcard" ) // NewPattern - create new pattern for prefix/suffix. func NewPattern(prefix, suffix string) (pattern string) { if prefix != "" { if !strings.HasSuffix(prefix, "*") { prefix += "*" } pattern = prefix } if suffix != "" { if !strings.HasPrefix(suffix, "*") { suffix = "*" + suffix } pattern += suffix
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key") flag.StringVar(&bucket, "bucket", "", "Select a specific bucket") flag.StringVar(&prefix, "prefix", "", "Select a prefix") flag.BoolVar(&debug, "debug", false, "Prints HTTP network calls to S3 endpoint") flag.BoolVar(&versions, "versions", false, "Verify all versions")
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/object-api-input-checks.go
func checkListObjsArgs(ctx context.Context, bucket, prefix, marker string) error { // Verify if bucket is valid. if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil { return BucketNameInvalid{Bucket: bucket} } // Validates object prefix validity after bucket exists. if !IsValidObjectPrefix(prefix) { return ObjectNameInvalid{ Bucket: bucket, Object: prefix, } } return nil }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/serializer_test.go
return "hello" + string(es), nil } type CustomSerializer struct { prefix []byte } func NewCustomSerializer(prefix string) *CustomSerializer { return &CustomSerializer{prefix: []byte(prefix)} } func (c *CustomSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0) -
cmd/sftp-server-driver.go
}) } return listerAt(files), nil } prefix = retainSlash(prefix) for object := range clnt.ListObjects(r.Context(), bucket, minio.ListObjectsOptions{ Prefix: prefix, Recursive: false, }) { if object.Err != nil { return nil, object.Err } if object.Key == prefix { continue } isDir := strings.HasSuffix(object.Key, SlashSeparator)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
"""Check the variable name against white/black lists.""" if blacklist and var_name in blacklist: return False if not whitelist_prefix: return True for prefix in whitelist_prefix: if var_name.startswith(prefix): return True return False def main(parsed_args: argparse.Namespace): converted_vars = {} for var, value in os.environ.items():
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0)