- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 528 for now (0.01 seconds)
-
docs/en/docs/python-types.md
{* ../../docs_src/python_types/tutorial001_py39.py hl[2] *} ### Edit it { #edit-it } It's a very simple program. But now imagine that you were writing it from scratch. At some point you would have started the definition of the function, you had the parameters ready...Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/site-replication-metrics.go
} } func (sr *SRStats) updateMovingAvg() { sr.lock.Lock() defer sr.lock.Unlock() for _, s := range sr.M { s.XferRateLrg.measure.updateExponentialMovingAverage(time.Now()) s.XferRateSml.measure.updateExponentialMovingAverage(time.Now()) } } // SRMetric captures replication metrics for a deployment type SRMetric struct { DeploymentID string `json:"deploymentID"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
# OAuth2 with Password (and hashing), Bearer with JWT tokens { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens } Now that we have all the security flow, let's make the application actually secure, using <abbr title="JSON Web Tokens">JWT</abbr> tokens and secure password hashing. This code is something you can actually use in your application, save the password hashes in your database, etc.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
Notice that now we don't create a default instance `settings = Settings()`. ### The main app file { #the-main-app-file } Now we create a dependency that returns a new `config.Settings()`. {* ../../docs_src/settings/app02_an_py39/main.py hl[6,12:13] *} /// tip We'll discuss the `@lru_cache` in a bit. For now you can assume `get_settings()` is a normal function.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 11.2K bytes - Click Count (0) -
cmd/admin-handlers.go
// - freeze (freezes all incoming S3 API calls) // - unfreeze (unfreezes previously frozen S3 API calls) // // This newer API now returns back status per remote peer and local regarding // if a "restart/stop" was successful or not. Service signal now supports // a dry-run that helps skip the nodes that may have hung drives. By default // restart/stop will ignore the servers that are hung on drives. You can use
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
cmd/metrics-resource.go
func updateDriveIOStats(currentStats madmin.DiskIOStats, latestStats madmin.DiskIOStats, labels map[string]string) { sectorSize := uint64(512) kib := float64(1 << 10) diffInSeconds := time.Now().UTC().Sub(lastDriveStatsRefresh).Seconds() if diffInSeconds == 0 { // too soon to update the stats return } diffStats := getDiffStats(latestStats, currentStats)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
docs/multi-user/README.md
mc admin user add myminio newuser newuser123 ``` Once the user is successfully created you can now apply the `getonly` policy for this user. ``` mc admin policy attach myminio getonly --user=newuser ``` ### 3. Create a new group ``` mc admin group add myminio newgroup newuser ``` Once the group is successfully created you can now apply the `getonly` policy for this group. ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/en/docs/advanced/sub-applications.md
In this case, it will be mounted at the path `/subapi`: {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 19] *} ### Check the automatic API docs { #check-the-automatic-api-docs } Now, run the `fastapi` command with your file: <div class="termy"> ```console $ fastapi dev main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
// https://youtrack.jetbrains.com/issue/KT-49915 fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink") fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now fun Project.isExpectedAsciidoctorCacheMiss() = // Expected cache-miss for asciidoctor task: // 1. CompileAll is the seed build for docs:distDocs // 2. BuildDistributions is the seed build for other asciidoctor tasks
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 4.8K bytes - Click Count (0) -
tensorflow/c/eager/abstract_context.h
// Abstract interface to a context. // // This serves as a factory for creating `AbstractOperation`s and for // registering traced functions. // Operations creation within a context can only be executed in that context // (for now at least). // Implementations of the context may contain some state e.g. an execution // environment, a traced representation etc. class AbstractContext { protected:Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 3K bytes - Click Count (0)