- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,094 for Len (0.03 seconds)
-
tests/multi_primary_keys_test.go
DB.Model(&blog).Association("LocaleTags").Find(&tags) if !compareTags(tags, []string{"tag1", "tag2", "tag3"}) { t.Fatalf("Should find 3 tags") } DB.Model(&blog2).Association("LocaleTags").Find(&tags) if len(tags) != 0 { t.Fatalf("Should find 0 tags for EN Blog") } var blog1 Blog DB.Preload("LocaleTags").Find(&blog1, "locale = ? AND id = ?", "ZH", blog.ID)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
} cfg := globalServerConfig.Clone() vars := mux.Vars(r) key := vars["key"] var subSys, target string { ws := strings.SplitN(key, madmin.SubSystemSeparator, 2) subSys = ws[0] if len(ws) == 2 { if ws[1] == "" { target = madmin.Default } else { target = ws[1] } } } subSysConfigs, err := cfg.GetSubsysInfo(subSys, target, true) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
cmd/signature-v4-utils_test.go
} time.Sleep(4 * time.Second) policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey) if err != nil { t.Fatalf("unable to get policy to credential, %s", err) } if len(policies) == 0 { t.Fatal("no policies found") } if policies[0] != "consoleAdmin" { t.Fatalf("expected 'consoleAdmin', %s", policies[0]) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
if got := listObjectParities(test.metaArr, test.errs); !slices.Equal(got, test.parities) { t.Fatalf("Expected parities %v but got %v", test.parities, got) } if got := commonParity(test.parities, len(test.metaArr)/2); got != test.parity { t.Fatalf("Expected common parity %v but got %v", test.parity, got) } }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
fastapi/openapi/utils.py
(ParamTypes.query, query_params), (ParamTypes.header, header_params), (ParamTypes.cookie, cookie_params), ] default_convert_underscores = True if len(flat_dependant.header_params) == 1: first_field = flat_dependant.header_params[0] if lenient_issubclass(first_field.field_info.annotation, BaseModel): default_convert_underscores = getattr(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0) -
helm-releases/minio-4.0.12.tgz
available value for certain key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret"...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 14 05:50:43 GMT 2022 - 19.4K bytes - Click Count (0) -
helm-releases/minio-4.0.13.tgz
available value for certain key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret"...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 23 18:18:14 GMT 2022 - 19.5K bytes - Click Count (0) -
helm-releases/minio-4.0.8.tgz
available value for certain key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret"...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 29 23:39:54 GMT 2022 - 18.6K bytes - Click Count (0) -
fastapi/_compat/v2.py
return id(self) def _has_computed_fields(field: ModelField) -> bool: computed_fields = field._type_adapter.core_schema.get("schema", {}).get( "computed_fields", [] ) return len(computed_fields) > 0 def get_schema_from_model_field( *, field: ModelField, model_name_map: ModelNameMap, field_mapping: dict[
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 16.7K bytes - Click Count (0) -
helm-releases/minio-5.0.11.tgz
minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources }}, "Resource": [ "{{ $statement.resources | join "\",\n\"" }}" ]{{ end }} {{- if $statement.conditions }} {{- $condition_len := len $statement.conditions }} {{- $condition_len := sub $condition_len...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 21 19:29:09 GMT 2023 - 20.3K bytes - Click Count (0)