- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 844 for intializer (0.2 sec)
-
pkg/controlplane/apiserver/admission/initializer.go
} } // Initialize checks the initialization interfaces implemented by each plugin // and provide the appropriate initialization data func (i *PluginInitializer) Initialize(plugin admission.Interface) { if wants, ok := plugin.(initializer.WantsQuotaConfiguration); ok { wants.SetQuotaConfiguration(i.quotaConfiguration) } if wants, ok := plugin.(initializer.WantsExcludedAdmissionResources); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer.go
func NewPluginInitializer(cloudConfig []byte) *PluginInitializer { return &PluginInitializer{ cloudConfig: cloudConfig, } } // Initialize checks the initialization interfaces implemented by each plugin // and provide the appropriate initialization data func (i *PluginInitializer) Initialize(plugin admission.Interface) { if wants, ok := plugin.(WantsCloudConfig); ok { wants.SetCloudConfig(i.cloudConfig) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java
} } /** * Initializes the native services to use the given user home directory to store native libs and other resources. Does nothing if already initialized. * * Initializes all the services needed for the Gradle daemon. */ public static void initializeOnDaemon(File userHomeDir, NativeServicesMode mode) { INSTANCE.initialize(userHomeDir, EnumSet.allOf(NativeFeatures.class), mode);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:39 UTC 2024 - 23.9K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer_test.go
func TestCloudConfigAdmissionPlugin(t *testing.T) { cloudConfig := []byte("cloud-configuration") initializer := NewPluginInitializer(cloudConfig) wantsCloudConfigAdmission := &WantsCloudConfigAdmissionPlugin{} initializer.Initialize(wantsCloudConfigAdmission) if wantsCloudConfigAdmission.cloudConfig == nil { t.Errorf("Expected cloud config to be initialized but found nil") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/admission/initializer_test.go
config := doNothingQuotaConfiguration{} initializer := NewPluginInitializer(config, nil) wantsQuotaConfigurationAdmission := &WantsQuotaConfigurationAdmissionPlugin{} initializer.Initialize(wantsQuotaConfigurationAdmission) if wantsQuotaConfigurationAdmission.config == nil { t.Errorf("Expected quota configuration to be initialized but found nil") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
} emitted[info] = true infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment) if infoLhs == nil { infoLhs = []*Var{v} } init := &Initializer{infoLhs, info.init} check.Info.InitOrder = append(check.Info.InitOrder, init) } if debug { fmt.Println() fmt.Println("Initialization order:") for _, init := range check.Info.InitOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
} emitted[info] = true infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment) if infoLhs == nil { infoLhs = []*Var{v} } init := &Initializer{infoLhs, info.init} check.Info.InitOrder = append(check.Info.InitOrder, init) } if debug { fmt.Println() fmt.Println("Initialization order:") for _, init := range check.Info.InitOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
src/hash/crc32/crc32.go
// // // archAvailableIEEE reports whether an architecture-specific CRC32-IEEE // // algorithm is available. // archAvailableIEEE() bool // // // archInitIEEE initializes the architecture-specific CRC3-IEEE algorithm. // // It can only be called if archAvailableIEEE() returns true. // archInitIEEE() // // // archUpdateIEEE updates the given CRC32-IEEE. It can only be called if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 7.5K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java
static NativeServices nativeServices; static boolean initialized; public static synchronized void initialize() { if (!initialized) { System.setProperty("org.gradle.native", "true"); File nativeDir = getNativeServicesDir(); NativeServices.initializeOnDaemon(nativeDir, NativeServicesMode.fromSystemProperties()); initialized = true; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/cachevalue/cache.go
ttl time.Duration opts Opts // Once can be used to initialize values for lazy initialization. // Should be set before calling Get(). Once sync.Once // Managed values. val atomic.Pointer[T] lastUpdateMs atomic.Int64 updating sync.Mutex } // New allocates a new cached value instance. Tt must be initialized with // `.TnitOnce`. func New[T any]() *Cache[T] { return &Cache[T]{} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0)