Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,499 for callGo (0.1 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go

    }
    
    // WithRequest adds the given value to the Request field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    // If called multiple times, values provided by each call will be appended to the Request field.
    func (b *CertificateSigningRequestSpecApplyConfiguration) WithRequest(values ...byte) *CertificateSigningRequestSpecApplyConfiguration {
    	for i := range values {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 03:38:16 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. src/net/splice_linux_test.go

    		}
    	}
    
    	// poll.Splice is expected to be called when the source is not
    	// a wrapper or the destination is TCPConn.
    	if tc.limitReadSize == 0 || tc.downNet == "tcp" {
    		// We should have called poll.Splice with the right file descriptor arguments.
    		if n > 0 && !hook.called {
    			t.Fatal("expected poll.Splice to be called")
    		}
    
    		verifySpliceFds(t, serverDown, hook, "dst")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/os/writeto_linux_test.go

    	// Now call WriteTo (through io.Copy), which will hopefully call poll.SendFile
    	n, err := io.Copy(dst, src)
    	if err != nil {
    		t.Fatalf("io.Copy error: %v", err)
    	}
    
    	// We should have called poll.Splice with the right file descriptor arguments.
    	if n > 0 && !hook.called {
    		t.Fatal("expected to called poll.SendFile")
    	}
    	if hook.called && hook.srcfd != int(src.Fd()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. test/fixedbugs/bug264.go

    	return 0, 0
    }
    
    func bar() (int, int) {
    	barCount++
    	return 0, 0
    }
    
    func bal() (int, int) {
    	balCount++
    	return 0, 0
    }
    
    var a, b = foo() // foo is called once
    var c, _ = bar() // bar is called twice
    var _, _ = bal() // bal is called twice
    
    func main() {
    	if fooCount != 1 {
    		panic("fooCount != 1")
    	}
    	if barCount != 1 {
    		panic("barCount != 1")
    	}
    	if balCount != 1 {
    		panic("balCount != 1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 717 bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go

    // If called multiple times, the Group field is set to the value of the last call.
    func (b *QuobyteVolumeSourceApplyConfiguration) WithGroup(value string) *QuobyteVolumeSourceApplyConfiguration {
    	b.Group = &value
    	return b
    }
    
    // WithTenant sets the Tenant field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go

    // WithResourceNames adds the given value to the ResourceNames field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    // If called multiple times, values provided by each call will be appended to the ResourceNames field.
    func (b *NamedRuleWithOperationsApplyConfiguration) WithResourceNames(values ...string) *NamedRuleWithOperationsApplyConfiguration {
    	for i := range values {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go

    // WithReplicas sets the Replicas field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Replicas field is set to the value of the last call.
    func (b *ReplicaSetStatusApplyConfiguration) WithReplicas(value int32) *ReplicaSetStatusApplyConfiguration {
    	b.Replicas = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go

    }
    
    // WithType sets the Type field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Type field is set to the value of the last call.
    func (b *DeploymentConditionApplyConfiguration) WithType(value v1.DeploymentConditionType) *DeploymentConditionApplyConfiguration {
    	b.Type = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go

    }
    
    // WithType sets the Type field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Type field is set to the value of the last call.
    func (b *MetricStatusApplyConfiguration) WithType(value v2beta2.MetricSourceType) *MetricStatusApplyConfiguration {
    	b.Type = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go

    }
    
    // WithType sets the Type field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Type field is set to the value of the last call.
    func (b *JobConditionApplyConfiguration) WithType(value v1.JobConditionType) *JobConditionApplyConfiguration {
    	b.Type = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4K bytes
    - Viewed (0)
Back to top