Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for InterfaceA (0.15 sec)

  1. cmd/server_test.go

    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/storage/v1/generated.pb.go

    		`Count:` + valueToStringGenerated(this.Count) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *CSIDriver) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storage/v1beta1/generated.pb.go

    		`Count:` + valueToStringGenerated(this.Count) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *CSIDriver) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                class CustomType {
                    String toString() { return "<custom>" }
                }
    
                abstract class Custom implements TransformAction<Parameters> {
                    interface Parameters extends TransformParameters {
                        @Input
                        CustomType getInput()
                        void setInput(CustomType input)
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *ContainerResourceMetricSource) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.pb.go

    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *ExemptPriorityLevelConfiguration) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.pb.go

    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *ExemptPriorityLevelConfiguration) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1/generated.pb.go

    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *ExemptPriorityLevelConfiguration) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.8K bytes
    - Viewed (0)
  9. pkg/registry/batch/job/strategy_test.go

    				t.Errorf("Job pod failure policy (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestJobStrategy_GarbageCollectionPolicy(t *testing.T) {
    	// Make sure we correctly implement the interface.
    	// Otherwise a typo could silently change the default.
    	var gcds rest.GarbageCollectionDeleteStrategy = Strategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.pb.go

    		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *ExemptPriorityLevelConfiguration) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
Back to top