Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 515 for RUNTIME (0.32 sec)

  1. src/internal/trace/testdata/testprog/gomaxprocs.go

    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"time"
    )
    
    func main() {
    	// Start a goroutine that calls runtime.GC to try and
    	// introduce some interesting events in between the
    	// GOMAXPROCS calls.
    	go func() {
    		for {
    			runtime.GC()
    			time.Sleep(1 * time.Millisecond)
    		}
    	}()
    
    	// Start tracing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	util "k8s.io/apimachinery/pkg/util/runtime"
    
    	"github.com/fxamacker/cbor/v2"
    )
    
    type metaFactory interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            // check all transitive deps of a runtime dependency are runtime scope, except for test
            checkGroupIdScope(project, "runtime", "maven-test-runtime");
            artifact = getArtifact(project, "maven-test-runtime", "scope-runtime");
            assertEquals("runtime", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a compile dependency are compile scope, except for runtime and test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInJavaIntegrationTest.groovy

            // Runtime.exec() overloads
            fromString()      | "Runtime.getRuntime().exec(command)"                                                              | ""                | ""
            fromStringArray() | "Runtime.getRuntime().exec(command)"                                                              | ""                | ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/stress-start-stop.go

    // blocked goroutines, LockOSThread, pipes, and GOMAXPROCS).
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"io"
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"time"
    )
    
    func main() {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(8))
    	outerDone := make(chan bool)
    
    	go func() {
    		defer func() {
    			outerDone <- true
    		}()
    
    		var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stress.go

    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	defer trace.Stop()
    
    	procs := runtime.GOMAXPROCS(10)
    	time.Sleep(50 * time.Millisecond) // test proc stop/start events
    
    	go func() {
    		runtime.LockOSThread()
    		for {
    			select {
    			case <-done:
    				return
    			default:
    				runtime.Gosched()
    			}
    		}
    	}()
    
    	runtime.GC()
    	// Trigger GC from malloc.
    	n := 512
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. pkg/apis/storage/v1beta1/defaults_test.go

    	storagev1beta1 "k8s.io/api/storage/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/storage/install"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/cpu-profile.go

    			//
    			// TODO: Make the symbolization done by the execution tracer and CPU
    			// profiler match up even in these harder cases. See #53378.
    			switch leaf {
    			case "runtime._System", "runtime._GC", "runtime._ExternalCode", "runtime._VDSO":
    				continue
    			}
    			stack := strings.Join(fns, "|")
    			samples := int(s.Value[0])
    			pprofStacks[stack] += samples
    		}
    	}
    	for stack, samples := range pprofStacks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

            // Runtime.exec() overloads
            fromString()      | "Runtime.getRuntime().exec(command)"                                                | ""                | ""
            fromStringArray() | "Runtime.getRuntime().exec(command)"                                                | ""                | ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. pkg/apis/storage/v1/defaults_test.go

    	storagev1 "k8s.io/api/storage/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/storage/install"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top