Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 459 for gooses (0.14 sec)

  1. src/internal/goos/gengoos.go

    			inGOOS = true
    		} else if inGOOS && strings.HasPrefix(line, "}") {
    			break
    		} else if inGOOS {
    			goos := strings.Fields(line)[0]
    			goos = strings.TrimPrefix(goos, `"`)
    			goos = strings.TrimSuffix(goos, `":`)
    			gooses = append(gooses, goos)
    		}
    	}
    
    	for _, target := range gooses {
    		if target == "nacl" {
    			continue
    		}
    		var tags []string
    		if target == "linux" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 21:31:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/goos/goos.go

    // license that can be found in the LICENSE file.
    
    // package goos contains GOOS-specific constants.
    package goos
    
    // The next line makes 'go generate' write the zgoos*.go files with
    // per-OS information, including constants named Is$GOOS for every
    // known GOOS. The constant is 1 on the current system, 0 otherwise;
    // multiplying by them is useful for defining GOOS-specific constants.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 534 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue31412a.go

    type Name string
    
    type EFunc func(int) int
    
    func Register(f EFunc, names ...Name) int {
    	return f(len(names))
    }
    
    const (
    	B Name = "B"
    )
    
    func RegisterIt() {
    	n := B + "Duck"
    	d := B + "Goose"
    	f := func(x int) int { return x + 9 }
    	Register(f, n, d)
    }
    
    func main() {
    	RegisterIt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:17:26 UTC 2019
    - 531 bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top