- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 246 for destroyFn (0.27 sec)
-
src/os/file_mutex_plan9.go
// remaining reference, and the file has been marked to be closed, // then actually close it. func (file *file) decref() error { if file.fdmu.Decref() { return file.destroy() } return nil } // readLock adds a reference to the file and locks it for reading. // It returns an error if the file is already closed. func (file *file) readLock() error { if !file.fdmu.ReadLock() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/registry/core/node/rest/proxy.go
// New returns an empty nodeProxyOptions object. func (r *ProxyREST) New() runtime.Object { return &api.NodeProxyOptions{} } // Destroy cleans up resources on shutdown. func (r *ProxyREST) Destroy() { // Given that underlying store is shared with REST, // we don't destroy it here explicitly. } // ConnectMethods returns the list of HTTP methods that can be proxied func (r *ProxyREST) ConnectMethods() []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 19 13:59:13 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/registry/core/namespace/storage/storage.go
func (r *REST) GetSingularName() string { return r.store.GetSingularName() } func (r *REST) New() runtime.Object { return r.store.New() } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { r.store.Destroy() } func (r *REST) NewList() runtime.Object { return r.store.NewList() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 13.4K bytes - Viewed (0) -
pkg/registry/authorization/selfsubjectrulesreview/rest.go
} // New creates a new selfsubjectrulesreview object. func (r *REST) New() runtime.Object { return &authorizationapi.SelfSubjectRulesReview{} } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { // Given no underlying store, we don't destroy anything // here explicitly. } // Create attempts to get self subject rules in specific namespace.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 3.7K bytes - Viewed (0) -
pkg/controlplane/reconcilers/reconcilers.go
// StopReconciling turns any later ReconcileEndpoints call into a noop. StopReconciling() // Destroy shuts down all internal structures. // Destroy needs to be implemented in thread-safe way and be prepared for being // called more than once. Destroy() } // Type the reconciler type type Type string const ( // MasterCountReconcilerType will select the original reconciler
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 13:49:31 UTC 2022 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
operator.write(80, buffer, buffer.size) assertThat(snapshot()).isEqualTo( ( "" + "god creates dinosaurs. " + "god destroys dinosaurs. " + "god creates man. " + "man destroys god. " + "man creates dinosaurs. " ).encodeUtf8(), ) } @Test fun multipleOperatorsShareOneFile() { val operatorA =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/registry/authorization/selfsubjectaccessreview/rest.go
func (r *REST) NamespaceScoped() bool { return false } func (r *REST) New() runtime.Object { return &authorizationapi.SelfSubjectAccessReview{} } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { // Given no underlying store, we don't destroy anything // here explicitly. } var _ rest.SingularNameProvider = &REST{} func (r *REST) GetSingularName() string { return "selfsubjectaccessreview" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/registry/core/service/proxy.go
// New returns an empty service resource func (r *ProxyREST) New() runtime.Object { return &api.ServiceProxyOptions{} } // Destroy cleans up resources on shutdown. func (r *ProxyREST) Destroy() { // Given no underlying store, we don't destroy anything // here explicitly. } // ConnectMethods returns the list of HTTP methods that can be proxied func (r *ProxyREST) ConnectMethods() []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 19 13:59:13 UTC 2022 - 2.9K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/storage/storage.go
} // New creates a new PodDisruptionBudget object. func (r *StatusREST) New() runtime.Object { return &policyapi.PodDisruptionBudget{} } // Destroy cleans up resources on shutdown. func (r *StatusREST) Destroy() { // Given that underlying store is shared with REST, // we don't destroy it here explicitly. } // Get retrieves the object from the storage. It is required to support Patch.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/registry/authentication/selfsubjectreview/rest.go
return false } // New creates a new selfsubjectreview object. func (r *REST) New() runtime.Object { return &authenticationapi.SelfSubjectReview{} } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { // Given no underlying store, we don't destroy anything // here explicitly. } // Create returns attributes of the subject making the request.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 2.8K bytes - Viewed (0)