Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,310 for reflect1 (0.18 sec)

  1. staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go

    	}
    	if v1.Type() != v2.Type() {
    		return false
    	}
    	if fv, ok := e[v1.Type()]; ok {
    		return fv.Call([]reflect.Value{v1, v2})[0].Bool()
    	}
    
    	hard := func(k reflect.Kind) bool {
    		switch k {
    		case reflect.Array, reflect.Map, reflect.Slice, reflect.Struct:
    			return true
    		}
    		return false
    	}
    
    	if v1.CanAddr() && v2.CanAddr() && hard(v1.Kind()) {
    		addr1 := v1.UnsafeAddr()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 20 17:18:42 UTC 2022
    - 10.8K bytes
    - Viewed (0)
  2. test/escape_reflect.go

    	return r.String()
    }
    
    // Unfortunate: x (the interface storage) doesn't need to escape.
    func select2(ch chan string, x string) { // ERROR "leaking param: ch$" "leaking param: x$"
    	vc := reflect.ValueOf(ch)
    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	cas := reflect.SelectCase{Dir: reflect.SelectSend, Chan: vc, Send: vx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/runtime/mbarrier.go

    	bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ)
    }
    
    // reflect_typedmemmove is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/ugorji/go/codec
    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    		gp.stackguard0 = stackPreempt
    	}
    }
    
    // reflect_typelinks is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/vmware/govmomi
    //   - github.com/pinpoint-apm/pinpoint-go-agent
    //   - github.com/timandy/routine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// In most of the cases, leader is reelected within few cycles.
    	reflector.MaxInternalErrorRetryDuration = time.Second * 30
    	// since the watch-list is provided by the watch cache instruct
    	// the reflector to issue a regular LIST against the store
    	reflector.UseWatchList = ptr.To(false)
    
    	cacher.watchCache = watchCache
    	cacher.reflector = reflector
    
    	go cacher.dispatchEvents()
    	go progressRequester.Run(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. src/runtime/map.go

    		}
    		h.flags &^= sameSizeGrow
    	}
    }
    
    // Reflect stubs. Called from ../reflect/asm_*.s
    
    // reflect_makemap is for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/modern-go/reflect2
    //   - github.com/goccy/go-json
    //   - github.com/RomiChan/protobuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. src/unsafe/unsafe.go

    //
    // In general, [reflect.SliceHeader] and [reflect.StringHeader] should be used
    // only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual
    // slices or strings, never as plain structs.
    // A program should not declare or allocate variables of these struct types.
    //
    //	// INVALID: a directly-declared header will not hold Data as a reference.
    //	var hdr reflect.StringHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/versioning_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if e, a := []string{"v1beta1"}, crd.Status.StoredVersions; !reflect.DeepEqual(e, a) {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    
    	// Changing CRD storage version should be reflected immediately
    	crd.Spec.Versions = versionsV1Beta2Storage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 13:10:47 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    		gvkToType:                 map[schema.GroupVersionKind]reflect.Type{},
    		typeToGVK:                 map[reflect.Type][]schema.GroupVersionKind{},
    		unversionedTypes:          map[reflect.Type]schema.GroupVersionKind{},
    		unversionedKinds:          map[string]reflect.Type{},
    		fieldLabelConversionFuncs: map[schema.GroupVersionKind]FieldLabelConversionFunc{},
    		defaulterFuncs:            map[reflect.Type]func(interface{}){},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.AbstractList;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top