Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 6,541 for RUNTIME (0.1 sec)

  1. src/runtime/gc_test.go

    func TestUserForcedGC(t *testing.T) {
    	// Test that runtime.GC() triggers a GC even if GOGC=off.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    
    	var ms1, ms2 runtime.MemStats
    	runtime.ReadMemStats(&ms1)
    	runtime.GC()
    	runtime.ReadMemStats(&ms2)
    	if ms1.NumGC == ms2.NumGC {
    		t.Fatalf("runtime.GC() did not trigger GC")
    	}
    	if ms1.NumForcedGC == ms2.NumForcedGC {
    		t.Fatalf("runtime.GC() was not accounted in NumForcedGC")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. pkg/registry/resource/resourceclaimparameters/strategy.go

    	resourceClaimParameters := obj.(*resource.ResourceClaimParameters)
    	return validation.ValidateResourceClaimParameters(resourceClaimParameters)
    }
    
    func (resourceClaimParametersStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (resourceClaimParametersStrategy) Canonicalize(obj runtime.Object) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/register.go

    package v1
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    // GroupName is the group name for this API.
    const GroupName = "meta.k8s.io"
    
    var (
    	// localSchemeBuilder is used to make compiler happy for autogenerated
    	// conversions. However, it's not used.
    	schemeBuilder      runtime.SchemeBuilder
    	localSchemeBuilder = &schemeBuilder
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 22 18:47:31 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testing/testfieldmanager.go

    	return nil
    }
    
    func (c *FakeObjectConvertor) ConvertToVersion(in runtime.Object, _ runtime.GroupVersioner) (runtime.Object, error) {
    	return in, nil
    }
    
    func (c *FakeObjectConvertor) ConvertFieldLabel(_ schema.GroupVersionKind, _, _ string) (string, string, error) {
    	return "", "", errors.New("not implemented")
    }
    
    // FakeObjectDefaulter implements runtime.Defaulter, but it actually
    // does nothing.
    type FakeObjectDefaulter struct{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. pkg/registry/apps/controllerrevision/strategy.go

    	return true
    }
    
    func (strategy) Canonicalize(obj runtime.Object) {
    }
    
    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (strategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	_ = obj.(*apps.ControllerRevision)
    }
    
    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	revision := obj.(*apps.ControllerRevision)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. pkg/registry/storage/volumeattributesclass/strategy.go

    // ResetBeforeCreate clears the Status field which is not allowed to be set by end users on creation.
    func (volumeAttributesClassStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    }
    
    func (volumeAttributesClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	volumeAttributesClass := obj.(*storage.VolumeAttributesClass)
    	return validation.ValidateVolumeAttributesClass(volumeAttributesClass)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/runtime/os_windows.go

    //go:cgo_import_dynamic runtime._CloseHandle CloseHandle%1 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateEventA CreateEventA%4 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateIoCompletionPort CreateIoCompletionPort%4 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateThread CreateThread%6 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateWaitableTimerA CreateWaitableTimerA%3 "kernel32.dll"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/scheme/register.go

    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	schema "k8s.io/apimachinery/pkg/runtime/schema"
    	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    var Scheme = runtime.NewScheme()
    var Codecs = serializer.NewCodecFactory(Scheme)
    var ParameterCodec = runtime.NewParameterCodec(Scheme)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/fake_cache.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    type fakeCache struct {
    	runtime container.Runtime
    }
    
    func NewFakeCache(runtime container.Runtime) container.Cache {
    	return &fakeCache{runtime: runtime}
    }
    
    func (c *fakeCache) Get(id types.UID) (*container.PodStatus, error) {
    	return c.runtime.GetPodStatus(context.Background(), id, "", "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 14:36:16 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/configurations-and-dependencies-declarative/tests/dependencies.out

    \--- com.example:test-support:1.3 (n)
    
    testRuntimeClasspath - Runtime classpath of source set 'test'.
    +--- com.example:lib:1.1 FAILED
    +--- com.example:runtime:1.0 FAILED
    +--- com.example:test-support:1.3 FAILED
    \--- com.example:test-junit-jupiter-runtime:1.3 FAILED
    
    testRuntimeOnly - Runtime only dependencies for source set 'test'. (n)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top