Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,128 for Obj (0.02 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
            if (obj instanceof Date) {
                return 32L;
            }
            if (obj instanceof LocalDateTime) {
                return 80L;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go

    func SetDefaults_KMSConfiguration(obj *KMSConfiguration) {
    	if obj.Timeout == nil {
    		obj.Timeout = defaultTimeout
    	}
    
    	if obj.APIVersion == "" {
    		obj.APIVersion = defaultAPIVersion
    	}
    
    	// cacheSize is relevant only for kms v1
    	if obj.CacheSize == nil && obj.APIVersion == "v1" {
    		obj.CacheSize = &defaultCacheSize
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/bench_test.go

    	podBytes := getObjectBytes("pod.yaml")
    
    	var obj *corev1.Pod
    	if err := yaml.Unmarshal(podBytes, &obj); err != nil {
    		b.Fatalf("Failed to parse yaml object: %v", err)
    	}
    	obj.Spec.Containers[0].Image = "nginx:latest"
    	objs := []*corev1.Pod{obj}
    	obj = obj.DeepCopy()
    	obj.Spec.Containers[0].Image = "nginx:4.3"
    	objs = append(objs, obj)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. pkg/registry/rbac/clusterrolebinding/policybased/storage.go

    		return s.StandardStorage.Update(ctx, name, obj, createValidation, updateValidation, forceAllowCreate, options)
    	}
    
    	nonEscalatingInfo := rest.WrapUpdatedObjectInfo(obj, func(ctx context.Context, obj runtime.Object, oldObj runtime.Object) (runtime.Object, error) {
    		clusterRoleBinding := obj.(*rbac.ClusterRoleBinding)
    
    		// if we're only mutating fields needed for the GC to eventually delete this obj, return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. pkg/apis/storage/v1/zz_generated.defaults.go

    	scheme.AddTypeDefaultingFunc(&v1.CSIDriver{}, func(obj interface{}) { SetObjectDefaults_CSIDriver(obj.(*v1.CSIDriver)) })
    	scheme.AddTypeDefaultingFunc(&v1.CSIDriverList{}, func(obj interface{}) { SetObjectDefaults_CSIDriverList(obj.(*v1.CSIDriverList)) })
    	scheme.AddTypeDefaultingFunc(&v1.StorageClass{}, func(obj interface{}) { SetObjectDefaults_StorageClass(obj.(*v1.StorageClass)) })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/x86/ggen.go

    			p = pp.Append(p, x86.AMOVL, obj.TYPE_REG, x86.REG_AX, 0, obj.TYPE_MEM, x86.REG_SP, off+i)
    		}
    	} else if cnt <= int64(128*types.RegSize) {
    		p = pp.Append(p, x86.ALEAL, obj.TYPE_MEM, x86.REG_SP, off, obj.TYPE_REG, x86.REG_DI, 0)
    		p = pp.Append(p, obj.ADUFFZERO, obj.TYPE_NONE, 0, 0, obj.TYPE_ADDR, 0, 1*(128-cnt/int64(types.RegSize)))
    		p.To.Sym = ir.Syms.Duffzero
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:47 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go

    	apiVersion string
    	kind       string
    	err        error
    	obj        runtime.Object
    }
    
    func (c *mockCreater) New(kind schema.GroupVersionKind) (runtime.Object, error) {
    	c.apiVersion, c.kind = kind.GroupVersion().String(), kind.Kind
    	return c.obj, c.err
    }
    
    type mockTyper struct {
    	gvk *schema.GroupVersionKind
    	err error
    }
    
    func (t *mockTyper) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. pkg/registry/node/runtimeclass/strategy.go

    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	runtimeClass := obj.(*node.RuntimeClass)
    	return validation.ValidateRuntimeClass(runtimeClass)
    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nodeapi.GetWarningsForRuntimeClass(obj.(*node.RuntimeClass))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 09 08:17:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. pkg/registry/rbac/role/policybased/storage.go

    		return s.StandardStorage.Update(ctx, name, obj, createValidation, updateValidation, forceAllowCreate, options)
    	}
    
    	nonEscalatingInfo := rest.WrapUpdatedObjectInfo(obj, func(ctx context.Context, obj runtime.Object, oldObj runtime.Object) (runtime.Object, error) {
    		role := obj.(*rbac.Role)
    
    		// if we're only mutating fields needed for the GC to eventually delete this obj, return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go

    func SetListOptionsDefaults(obj *ListOptions, isWatchListFeatureEnabled bool) {
    	if !isWatchListFeatureEnabled {
    		return
    	}
    	if obj.SendInitialEvents != nil || len(obj.ResourceVersionMatch) != 0 {
    		return
    	}
    	legacy := obj.ResourceVersion == "" || obj.ResourceVersion == "0"
    	if obj.Watch && legacy {
    		turnOnInitialEvents := true
    		obj.SendInitialEvents = &turnOnInitialEvents
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top