Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for createFn (0.27 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt

    /**
     * [KotlinCompositeProviderFactory] is used by various [KotlinCompositeProvider]s to share code related to provider creation and flattening.
     */
    public class KotlinCompositeProviderFactory<P : KotlinComposableProvider>(
        private val emptyProvider: P,
        private val composeProviders: (List<P>) -> P,
    ) {
        public fun create(providers: List<P>): P = when (providers.size) {
            0 -> emptyProvider
            1 -> providers.single()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-go-create-without-running-g.go

    // the time of writing, one such example is goroutines created by expiring
    // timers.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g1 := t.Generation(1)
    
    	// A goroutine gets created on a running P, then starts running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 996 bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-go-create-without-running-g.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 446 bytes
    - Viewed (0)
Back to top