Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 892 for createFn (0.41 sec)

  1. pkg/kubelet/certificate/kubelet_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			createFn := createCertAndKeyFiles
    			if tt.useRename {
    				createFn = createCertAndKeyFilesUsingRename
    			}
    
    			certDir := t.TempDir()
    			certPath, keyPath, err := createFn(certDir)
    			if err != nil {
    				t.Fatalf("Unable to setup cert files: %v", err)
    			}
    
    			m, err := NewKubeletServerCertificateDynamicFileManager(certPath, keyPath)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. callbacks/create.go

    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // license that can be found in the LICENSE file.
    
    // Tests a G being created from within a syscall.
    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). The system is free
    // to reuse thread IDs, so first a thread ID is used to
    // call into Go, and then is used for a Go-created thread.
    //
    // This is a regression test. The trace parser didn't correctly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      );
    
      let assemblyFormat = "$operand attr-dict `:` `(` type($operand) `)` `->` `(` type($results) `)`";
    }
    
    def CreateOp: FallbackAsync_Op<"createop", [CoreRT_TypedAttributeTrait]> {
      let summary = "The Fallback CreateOp";
    
      let description = [{
        The CreateOp creates the tensorflow::OpKernel in the fallback context.
    
        op_key: The unique key to identify this op.
        num_args: The number of inputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_pod_control.go

    func (spc *StatefulPodControl) CreateStatefulPod(ctx context.Context, set *apps.StatefulSet, pod *v1.Pod) error {
    	// Create the Pod's PVCs prior to creating the Pod
    	if err := spc.createPersistentVolumeClaims(set, pod); err != nil {
    		spc.recordPodEvent("create", set, pod, err)
    		return err
    	}
    	// If we created the PVCs attempt to create the Pod
    	err := spc.objectMgr.CreatePod(ctx, pod)
    	// sink already exists errors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go

    	// (see x/telemetry/start_windows.go) The console creation behavior when
    	// a parent is a console process without console is not clearly documented
    	// but empirically we observed the new console is created and attached to the
    	// subprocess in the default setup.
    	//
    	// Ensure no new console is attached to the subprocess by setting CREATE_NO_WINDOW.
    	//   https://learn.microsoft.com/en-us/windows/console/creation-of-a-console
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java

        /**
         * Creates a {@link NamedDomainObjectContainer} for managing named objects of the specified type. The given closure is used to create object instances. The name of the instance to be created is passed as a parameter to the closure.
         */
        <T> NamedDomainObjectContainer<T> newNamedDomainObjectContainer(Class<T> type, Closure factoryClosure);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	EncryptionAlgorithm kubeadmapi.EncryptionAlgorithmType
    }
    
    // CreateJoinControlPlaneKubeConfigFiles will create and write to disk the kubeconfig files required by kubeadm
    // join --control-plane workflow, plus the admin kubeconfig file used by the administrator and kubeadm itself; the
    // kubelet.conf file must not be created because it will be created and signed by the kubelet TLS bootstrap process.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests a G being created from within a syscall.
    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). Because the actual
    // m can be reused, it's possible for that m to have never
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            then:
            fails "foo"
    
            and:
            failure.assertHasCause("Cannot create 'tasks.foo' using creation rule 'MyPlugin#addTask(ModelMap<Task>) > create(foo)' as the rule 'Project.<init>.tasks.foo()' is already registered to create this model element.")
        }
    
        def "registering creation rules to create a task using legacy container DSL that is already defined using container DSL"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top