- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,167 for once (0.05 sec)
-
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
internal/cachevalue/cache.go
// If an error is returned the cached value is not set. // Only one caller will call this function at any time, others will be blocking. // The returned value can no longer be modified once returned. // Should be set before calling Get(). updateFn func(ctx context.Context) (T, error) // ttl for a cached value. ttl time.Duration opts Opts // Once can be used to initialize values for lazy initialization.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/prepare-storage.go
} // Once is set and we are here means error was already // printed once. if once { return } // once not set, check if same error occurred 3 times in // a row, then make sure we print it to call attention. if m[err.Error()] > 2 { peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err)) // Reduce the count to introduce further delay in printing
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
architecture/build-state-model.md
### Build session state A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`. A session runs the build one or more times. For example, when continuous build is enabled, the session may run the build many times, but when it is disabled, the session will run the build once only.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/tr/docs/history-design-future.md
# Geçmişi, Tasarımı ve Geleceği Bir süre önce, <a href="https://github.com/fastapi/fastapi/issues/3#issuecomment-454956920" class="external-link" target="_blank">bir **FastAPI** kullanıcısı sordu</a>: > Bu projenin geçmişi nedir? Birkaç hafta içinde hiçbir yerden harika bir şeye dönüşmüş gibi görünüyor [...] İşte o geçmişin bir kısmı. ## Alternatifler
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
| `minio_cluster_replication_last_hour_failed_count` | (_Site Replication Only_) Total number of objects which failed replication in the last full hour. | | `minio_cluster_replication_last_minute_failed_bytes` | Total number of bytes failed at least once to replicate in the last full minute. |
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:48:51 UTC 2024 - 43.3K bytes - Viewed (0) -
CONTRIBUTING.md
your response for more than 2 weeks. **4. Approved** - Once the PR is approved, it gets `kokoro:force-run` label applied and it initiates CI/CD tests. - We can't move forward if these tests fail. - In such situations, we may request you to make further changes to your PR for the tests to pass. - Once the tests pass, we now bring all the code into the internal code base,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 23 06:20:12 UTC 2024 - 15.9K bytes - Viewed (0) -
.github/workflows/sigbuild-docker.yml
# limitations under the License. # ============================================================================== name: Upload SIG Build docker containers regularly on: workflow_dispatch: schedule: # Run once a week on Sunday at midnight. See http://crontab.guru - cron: '0 0 * * 0' push: paths: - '.github/workflows/sigbuild-docker.yml' - 'tensorflow/tools/tf_sig_build_dockerfiles/**'
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 4.3K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
@if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO% @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%"=="" goto skipRc if exist "%PROGRAMDATA%\mavenrc.cmd" call "%PROGRAMDATA%\mavenrc.cmd" %* @REM check for pre script, once with legacy .bat ending and once with .cmd ending
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 12:01:35 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java
import org.apache.maven.project.ProjectBuilder; /** * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively * made the metadata source available with its original role hint ("maven") as well as the default hint. * */ @Named @Singleton @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)