- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 1,053 for struct_ (0.05 seconds)
-
cmd/xl-storage.go
if err != nil { return err } foundDirs := make(map[string]struct{}, len(xl.versions)) err = readDirFn(baseDir, func(name string, typ os.FileMode) error { if !typ.IsDir() { return nil } // See if directory has a UUID name. base := filepath.Base(name) _, err := uuid.Parse(base) if err == nil { foundDirs[base] = struct{}{} } return nil }) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
alreadyEncoded = true, strict = true, plusIsSpace = true, ) } } encodedFragment = encodedFragment?.canonicalize( encodeSet = FRAGMENT_ENCODE_SET_URI, alreadyEncoded = true, strict = true, unicodeAllowed = true, ) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java
this.revision = revision; this.qualifier = qualifier == null ? null : Qualifier.of(qualifier); } /** * Parses the supplied string into an object. * @param s a version string in strict semver * @return a new instance */ public static QualifiedVersion of(final String s) { Objects.requireNonNull(s); Matcher matcher = pattern.matcher(s);Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5.9K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } // Rebalance routine is run on the first node of any pool participating in rebalance. pools.StartRebalance() b, err := json.Marshal(struct { ID string `json:"id"` }{ID: id}) if err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } writeSuccessResponseJSON(w, b)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
cmd/metrics-v2.go
// MetricDescription describes the metric type MetricDescription struct { Namespace MetricNamespace `json:"MetricNamespace"` Subsystem MetricSubsystem `json:"Subsystem"` Name MetricName `json:"MetricName"` Help string `json:"Help"` Type MetricTypeV2 `json:"Type"` } // MetricV2 captures the details for a metric type MetricV2 struct { Description MetricDescription `json:"Description"`Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0) -
fastapi/security/oauth2.py
know that it is application specific, it's not part of the specification. grant_type: the OAuth2 spec says it is required and MUST be the fixed string "password". This dependency is strict about it. If you want to be permissive, use instead the OAuth2PasswordRequestForm dependency class. username: username string. The OAuth2 spec requires the exact field name "username".
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
cmd/notification.go
// external systems, see event-notification.go // NotificationSys - notification system. type NotificationSys struct { peerClients []*peerRESTClient // Excludes self allPeerClients []*peerRESTClient // Includes nil client for self } // NotificationPeerErr returns error associated for a remote peer. type NotificationPeerErr struct { Host xnet.Host // Remote host on which the rpc call was initiatedCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
return "lang"; } }; ComponentUtil.setFessConfig(mockConfig); // Setup mock request manager with mixed case // LocaleUtils.toLocale is strict about case - it will throw exception for invalid format RequestManager mockRequestManager = createMockRequestManager("En_Us"); // Execute
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
## Official Guide { #official-guide } Pydantic has an official [Migration Guide](https://docs.pydantic.dev/latest/migration/) from v1 to v2. It also includes what has changed, how validations are now more correct and strict, possible caveats, etc. You can read it to understand better what has changed. ## Tests { #tests } Make sure you have [tests](../tutorial/testing.md) for your app and you run them on continuous integration (CI).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
tests/delete_test.go
t.Errorf("should returns record not found error, but got %v", err) } } func TestDeleteWithTable(t *testing.T) { type UserWithDelete struct { gorm.Model Name string } DB.Table("deleted_users").Migrator().DropTable(UserWithDelete{}) DB.Table("deleted_users").AutoMigrate(UserWithDelete{}) user := UserWithDelete{Name: "delete1"}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0)