Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,048 for Initialize (0.17 sec)

  1. test/initialize.go

    func main() {
    	ok := true
    	for i, s := range same {
    		if !reflect.DeepEqual(s.a, s.b) {
    			ok = false
    			fmt.Printf("#%d not same: %v and %v\n", i+1, s.a, s.b)
    		}
    	}
    	if !ok {
    		fmt.Println("BUG: test/initialize")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 04:04:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/initializer/initializer.go

    		authenticationInfoResolverWrapper: authenticationInfoResolverWrapper,
    		serviceResolver:                   serviceResolver,
    	}
    }
    
    // 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.(WantsServiceResolver); ok {
    		wants.SetServiceResolver(i.serviceResolver)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 08 07:19:52 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. 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.
         *
         * @param requestedFeatures Whether to initialize additional native libraries like jansi and file-events.
         */
        private void initialize(File userHomeDir, EnumSet<NativeFeatures> requestedFeatures, NativeServicesMode 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer.go

    		authorizer:        authz,
    		featureGates:      featureGates,
    		stopCh:            stopCh,
    		restMapper:        restMapper,
    	}
    }
    
    // Initialize checks the initialization interfaces implemented by a plugin
    // and provide the appropriate initialization data
    func (i pluginInitializer) Initialize(plugin admission.Interface) {
    	// First tell the plugin about drained notification, so it can pass it to further initializations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	// Initialize config system.
    	if err := globalConfigSys.Init(newObject); err != nil {
    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    		}
    
    		// Any other config errors we simply print a message and proceed forward.
    		configLogIf(ctx, fmt.Errorf("Unable to initialize config, some features may be missing: %w", err))
    	}
    
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    }
    
    func TestRESTMapperAdmissionPlugin(t *testing.T) {
    	initializer := initializer.New(nil, nil, nil, &TestAuthorizer{}, nil, nil, &doNothingRESTMapper{})
    	wantsRESTMapperAdmission := &WantsRESTMapperAdmissionPlugin{}
    	initializer.Initialize(wantsRESTMapperAdmission)
    
    	if wantsRESTMapperAdmission.mapper == nil {
    		t.Errorf("Expected REST mapper to be initialized but found nil")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.h

      //  create_resource - Non owning pointer to the create_resource function
      //                    associated with this object. Must be NON-NULL.
      //  initialize - Non owning pointer to the initialize function associated with
      //               this object. Must be NON-NULL.
      //  destroy_resource - Non owning pointer to the destroy_resource function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

          }
        }
    
        TFConcreteFunction* initialize = nullptr;
        if (resource_revival_state.initialize != nullptr) {
          initialize = revived->concrete_functions.Find(
              resource_revival_state.initialize->node_id);
          if (initialize == nullptr) {
            return absl::FailedPreconditionError(absl::StrCat(
                "'initialize' function with node id ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top