Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for reflect1 (0.17 sec)

  1. 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)
  2. 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)
  3. docs/bucket/notifications/README.md

    index*       (string)             Elasticsearch index to store/update events, index is auto-created
    format*      (namespace*|access)  'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'
    queue_dir    (path)               staging dir for undelivered messages e.g. '/home/events'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. src/reflect/type.go

    		panic("reflect: NumIn of non-func type " + t.String())
    	}
    	tt := (*abi.FuncType)(unsafe.Pointer(t))
    	return tt.NumIn()
    }
    
    func (t *rtype) NumOut() int {
    	if t.Kind() != Func {
    		panic("reflect: NumOut of non-func type " + t.String())
    	}
    	tt := (*abi.FuncType)(unsafe.Pointer(t))
    	return tt.NumOut()
    }
    
    func (t *rtype) Out(i int) Type {
    	if t.Kind() != Func {
    		panic("reflect: Out of non-func type " + t.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/encoding/json/decode_test.go

    				}
    			}
    			if tt.ptr == nil {
    				return
    			}
    
    			typ := reflect.TypeOf(tt.ptr)
    			if typ.Kind() != reflect.Pointer {
    				t.Fatalf("%s: unmarshalTest.ptr %T is not a pointer type", tt.Where, tt.ptr)
    			}
    			typ = typ.Elem()
    
    			// v = new(right-type)
    			v := reflect.New(typ)
    
    			if !reflect.DeepEqual(tt.ptr, v.Interface()) {
    				// There's no reason for ptr to point to non-zero data,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    	}
    	if e, a :=
    		[]syncPodRecord{{name: "pod1", updateType: kubetypes.SyncPodUpdate}},
    		processed[types.UID("2-static")]; !reflect.DeepEqual(e, a) {
    		t.Fatalf("unexpected sync pod calls: %s", cmp.Diff(e, a))
    	}
    	if e, a := map[string]types.UID{"pod1_test1": "2-static"}, podWorkers.startedStaticPodsByFullname; !reflect.DeepEqual(e, a) {
    		t.Fatalf("unexpected started static pods: %s", cmp.Diff(e, a))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults_test.go

    				if strings.HasPrefix(visit.path, ".ObjectMeta.ManagedFields[") {
    					break
    				}
    				// if we don't already have a value, and contain structs, add an empty item so we can recurse
    				item := reflect.New(visit.value.Type().Elem()).Elem()
    				visit.value.Set(reflect.Append(visit.value, item))
    				toVisit = append(toVisit, testPath{path: visit.path + "[0]", value: visit.value.Index(0)})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    // another slice or undefined, returns an error.
    func sliceElementType(slices ...[]interface{}) (reflect.Type, error) {
    	var prevType reflect.Type
    	for _, s := range slices {
    		// Go through elements of all given slices and make sure they are all the same type.
    		for _, v := range s {
    			currentType := reflect.TypeOf(v)
    			if prevType == nil {
    				prevType = currentType
    				// We don't support lists of lists yet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

    import org.gradle.internal.logging.text.TreeFormatter;
    import org.gradle.internal.reflect.ClassDetails;
    import org.gradle.internal.reflect.ClassInspector;
    import org.gradle.internal.reflect.JavaPropertyReflectionUtil;
    import org.gradle.internal.reflect.MethodSet;
    import org.gradle.internal.reflect.PropertyAccessorType;
    import org.gradle.internal.reflect.PropertyDetails;
    import org.gradle.internal.service.ServiceLookup;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  10. src/fmt/fmt_test.go

    	{"%s", reflect.ValueOf("hello"), "hello"},
    	{"%q", reflect.ValueOf("hello"), `"hello"`},
    	{"%#04x", reflect.ValueOf(256), "0x0100"},
    
    	// invalid reflect.Value doesn't crash.
    	{"%v", reflect.Value{}, "<invalid reflect.Value>"},
    	{"%v", &reflect.Value{}, "<invalid Value>"},
    	{"%v", SI{reflect.Value{}}, "{<invalid Value>}"},
    
    	// Tests to check that not supported verbs generate an error string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top