Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,297 for REFLECT (0.11 sec)

  1. pkg/kubelet/apis/podresources/testing/provider_mock.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	v10 "k8s.io/kubelet/pkg/apis/podresources/v1"
    )
    
    // MockDevicesProvider is a mock of DevicesProvider interface.
    type MockDevicesProvider struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/testing/cadvisor_mock.go

    // Generated by this command:
    //
    //	mockgen -source=types.go -destination=testing/cadvisor_mock.go -package=testing Interface
    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	v1 "github.com/google/cadvisor/info/v1"
    	v2 "github.com/google/cadvisor/info/v2"
    	gomock "go.uber.org/mock/gomock"
    )
    
    // MockInterface is a mock of Interface interface.
    type MockInterface struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/RuntimePropertyResolver.kt

    import org.gradle.internal.declarativedsl.mappingToJvm.RuntimePropertyResolver.WriteResolution.UnresolvedWrite
    import java.lang.reflect.Modifier
    import kotlin.reflect.KClass
    import kotlin.reflect.KMutableProperty
    import kotlin.reflect.KProperty
    import kotlin.reflect.KVisibility
    import kotlin.reflect.full.memberFunctions
    import kotlin.reflect.full.memberProperties
    
    
    interface RuntimePropertyResolver {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 17:34:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. pkg/proxy/util/localdetector_test.go

    		}
    
    		ifLocal := localDetector.IfLocal()
    		ifNotLocal := localDetector.IfNotLocal()
    
    		if !reflect.DeepEqual(ifLocal, c.expectedIfLocalOutput) {
    			t.Errorf("IfLocal, expected: '%v', but got: '%v'", c.expectedIfLocalOutput, ifLocal)
    		}
    
    		if !reflect.DeepEqual(ifNotLocal, c.expectedIfNotLocalOutput) {
    			t.Errorf("IfNotLocal, expected: '%v', but got: '%v'", c.expectedIfNotLocalOutput, ifNotLocal)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    	// https://golang.org/pkg/unsafe/#Pointer.
    
    	switch x := astutil.Unparen(x).(type) {
    	case *ast.SelectorExpr:
    		// "(6) Conversion of a reflect.SliceHeader or
    		// reflect.StringHeader Data field to or from Pointer."
    		if x.Sel.Name != "Data" {
    			break
    		}
    		// reflect.SliceHeader and reflect.StringHeader are okay,
    		// but only if they are pointing at a real slice or string.
    		// It's not okay to do:
    		//	var x SliceHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/runtime/stkframe.go

    	f := frame.fn
    	if f.args != abi.ArgsSizeUnknown {
    		argMap.n = f.args / goarch.PtrSize
    		return
    	}
    	// Extract argument bitmaps for reflect stubs from the calls they made to reflect.
    	switch funcname(f) {
    	case "reflect.makeFuncStub", "reflect.methodValueCall":
    		// These take a *reflect.methodValue as their
    		// context register and immediately save it to 0(SP).
    		// Get the methodValue from 0(SP).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. test/fixedbugs/issue65957.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"./a"
    	"reflect"
    )
    
    var s = []rune{0, 1, 2, 3}
    
    func main() {
    	m := map[any]int{}
    	k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface()
    	m[k] = 1
    	a.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 05:32:14 UTC 2024
    - 368 bytes
    - Viewed (0)
  8. pkg/kubelet/pod/testing/mock_manager.go

    //
    //	mockgen -source=pod_manager.go -destination=testing/mock_manager.go -package=testing Manager
    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	types0 "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    // MockManager is a mock of Manager interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy

                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('some.Class', 'withoutSource', null, -1),
                new StackTraceElement('some.Class', 'withNativeMethod', null, -2),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crd/config_test.go

    	obj.Status = status
    	if got := obj.GetStatus(); !reflect.DeepEqual(status, got) {
    		t.Errorf("GetStatus() => got %v, want %v", got, status)
    	}
    
    	meta := metav1.ObjectMeta{Name: "test"}
    	obj.ObjectMeta = meta
    	if got := obj.GetObjectMeta(); !reflect.DeepEqual(meta, got) {
    		t.Errorf("GetObjectMeta() => got %v, want %v", got, meta)
    	}
    
    	if got := obj.DeepCopy(); !reflect.DeepEqual(*got, obj) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top