Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for RUNTIME (0.45 sec)

  1. src/time/tick_test.go

    			t.Helper()
    			const N = 1e4
    			var stats runtime.MemStats
    			runtime.GC()
    			runtime.GC()
    			runtime.GC()
    			runtime.ReadMemStats(&stats)
    			before := int64(stats.Mallocs - stats.Frees)
    
    			for j := 0; j < N; j++ {
    				f()
    			}
    
    			runtime.GC()
    			runtime.GC()
    			runtime.GC()
    			runtime.ReadMemStats(&stats)
    			after := int64(stats.Mallocs - stats.Frees)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    }
    
    func (w *watchCache) objectToVersionedRuntimeObject(obj interface{}) (runtime.Object, uint64, error) {
    	object, ok := obj.(runtime.Object)
    	if !ok {
    		return nil, 0, fmt.Errorf("obj does not implement runtime.Object interface: %v", obj)
    	}
    	resourceVersion, err := w.versioner.ObjectResourceVersion(object)
    	if err != nil {
    		return nil, 0, err
    	}
    	return object, resourceVersion, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. src/os/exec_unix_test.go

    func TestProcessAlreadyDone(t *testing.T) {
    	// Theoretically MaxInt32 is a valid PID, but the chance of it actually
    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	alias("internal/runtime/atomic", "Loadint32", "internal/runtime/atomic", "Load", all...)
    	alias("internal/runtime/atomic", "Loadint64", "internal/runtime/atomic", "Load64", all...)
    	alias("internal/runtime/atomic", "Loaduintptr", "internal/runtime/atomic", "Load", p4...)
    	alias("internal/runtime/atomic", "Loaduintptr", "internal/runtime/atomic", "Load64", p8...)
    	alias("internal/runtime/atomic", "Loaduint", "internal/runtime/atomic", "Load", p4...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	// Simulate a conflicting update in the middle of delete.
    	validateAllWithUpdate := func(_ context.Context, _ runtime.Object) error {
    		validateCount++
    		if validateCount > 1 {
    			return nil
    		}
    		if err := store.GuaranteedUpdate(ctx, key, updatedPod, false, nil,
    			storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    				pod := obj.(*example.Pod)
    				pod.ObjectMeta.Labels = map[string]string{"foo": "bar"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  6. src/os/exec_posix.go

    	pid, h, e := syscall.StartProcess(name, argv, sysattr)
    
    	// Make sure we don't run the finalizers of attr.Files.
    	runtime.KeepAlive(attr)
    
    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	// For Windows, syscall.StartProcess above already returned a process handle.
    	if runtime.GOOS != "windows" {
    		var ok bool
    		h, ok = getPidfd(sysattr.Sys)
    		if !ok {
    			return newPIDProcess(pid), nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    	storagev1 "k8s.io/api/storage/v1"
    	storagev1alpha1 "k8s.io/api/storage/v1alpha1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/duration"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/util/certificate/csr"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. pilot/test/xds/fake.go

    		objects[k8sCluster] = append(objects[k8sCluster], clusterObjs...)
    	}
    
    	if len(objects) == 0 {
    		return map[cluster.ID][]runtime.Object{opts.DefaultClusterName: {}}
    	}
    
    	return objects
    }
    
    func kubernetesObjectsFromString(s string) ([]runtime.Object, error) {
    	var objects []runtime.Object
    	decode := kubelib.IstioCodec.UniversalDeserializer().Decode
    	objectStrs := strings.Split(s, "---")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/LazyCodecTest.kt

            assertEagerEvaluationOf(ByLazyBean()) {
                value
            }
        }
    
        private
        fun lazy(): Lazy<Any?> = lazy { Runtime.value }
    
        data class LazyBean(val value: Lazy<Any?>)
    
        class ByLazyBean {
            val value by lazy { Runtime.value }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top