Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for gooses (0.18 sec)

  1. src/os/exec.go

    	// (or during closeHandle), not directly! handle is immutable.
    	//
    	// On Windows, it is a handle from OpenProcess.
    	// On Linux, it is a pidfd.
    	// It is unused on other GOOSes.
    	handle uintptr
    }
    
    func newPIDProcess(pid int) *Process {
    	p := &Process{
    		Pid:  pid,
    		mode: modePID,
    	}
    	runtime.SetFinalizer(p, (*Process).Release)
    	return p
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		wantFailures field.ErrorList
    	}{
    		"good-claim": {
    			template: testClaimTemplate(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_podschedulingcontext_test.go

    	}{
    		"good-schedulingCtx": {
    			schedulingCtx: testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec),
    		},
    		"missing-name": {
    			wantFailures:  field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			schedulingCtx: testPodSchedulingContexts("", goodNS, goodPodSchedulingSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclaim_test.go

    		claim        *resource.ResourceClaim
    		wantFailures field.ErrorList
    	}{
    		"good-claim": {
    			claim: testClaim(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			claim:        testClaim("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    		RequestInfo: &request.RequestInfo{
    			IsResourceRequest: true,
    			Path:              "/apis/goodapig/v1/namespaces/goodns/goodrscs",
    			Verb:              "goodverb",
    			APIPrefix:         "apis",
    			APIGroup:          "goodapig",
    			APIVersion:        "v1",
    			Namespace:         "goodns",
    			Resource:          "goodrscs",
    			Name:              "eman",
    			Parts:             []string{"goodrscs", "eman"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

        def cachePolicy = new DefaultCachePolicy()
    
        def chooser = new DefaultVersionedComponentChooser(versionComparator, versionParser, componentSelectionRules, attributesSchema)
    
        def "chooses latest version for component meta data"() {
            def one = Stub(ModuleComponentGraphResolveMetadata) {
                getModuleVersionId() >> DefaultModuleVersionIdentifier.newId("group", "name", "1.0")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

                    )
                )
            )
        }
    
        @Test
        fun `Project target - script-plugin - empty`() {
    
            assertThat(
                "reduces to static program that closes target scope then applies base plugins",
                partialEvaluationOf(
                    Program.Empty,
                    ProgramKind.ScriptPlugin,
                    ProgramTarget.Project
                ),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
  8. src/net/http/fcgi/fcgi_test.go

    var cleanUpTests = []struct {
    	input []byte
    	err   error
    }{
    	// confirm that child.handleRecord closes req.pw after aborting req
    	{
    		bytes.Join([][]byte{
    			streamBeginTypeStdin,
    			makeRecord(typeAbortRequest, 1, nil),
    		},
    			nil),
    		ErrRequestAborted,
    	},
    	// confirm that child.serve closes all pipes after error reading record
    	{
    		bytes.Join([][]byte{
    			streamBeginTypeStdin,
    			nil,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    	t.Helper()
    
    	wantSet := sets.NewString(want...)
    	gotSet := sets.NewString()
    
    	for _, h := range healthChecks {
    		gotSet.Insert(h.Name())
    	}
    
    	gotSet.Delete("log", "ping") // not relevant for our tests
    
    	if !wantSet.Equal(gotSet) {
    		t.Errorf("%s checks are not equal, missing=%q, extra=%q", checkerType, wantSet.Difference(gotSet).List(), gotSet.Difference(wantSet).List())
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/AccessorBackedExternalResourceTest.groovy

            result.bytesRead == 2
            1 * action.execute(_, metaData) >> { InputStream input, ExternalResourceMetaData m -> input.read(); input.read(); "result 2" }
            0 * _
        }
    
        def "closes response when Action fails"() {
            def name = new ExternalResourceName("resource")
            def action = Mock(Action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top