- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 179 for RUNTIME (0.27 sec)
-
pkg/apis/core/v1/defaults_test.go
return true default: return false } } func roundTrip(t *testing.T, obj runtime.Object) runtime.Object { codec := legacyscheme.Codecs.LegacyCodec(corev1.SchemeGroupVersion) data, err := runtime.Encode(codec, obj) if err != nil { t.Errorf("%v\n %#v", err, obj) return nil } obj2, err := runtime.Decode(codec, data) if err != nil { t.Errorf("%v\nData: %s\nSource: %#v", err, string(data), obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
src/runtime/mbitmap.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/os/os_test.go
func BenchmarkStatFile(b *testing.B) { benchmarkStat(b, filepath.Join(runtime.GOROOT(), "src/os/os_test.go")) } func BenchmarkStatDir(b *testing.B) { benchmarkStat(b, filepath.Join(runtime.GOROOT(), "src/os")) } func BenchmarkLstatDot(b *testing.B) { benchmarkLstat(b, ".") } func BenchmarkLstatFile(b *testing.B) { benchmarkLstat(b, filepath.Join(runtime.GOROOT(), "src/os/os_test.go")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
) var ( // ErrVersionNotSupported is returned when the api version of runtime interface is not supported ErrVersionNotSupported = errors.New("runtime api version is not supported") ) // podStateProvider can determine if none of the elements are necessary to retain (pod content) // or if none of the runtime elements are necessary to retain (containers) type podStateProvider interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
matcher := &fakeMatcher{ DefaultMatch: true, } var matchedParams []runtime.Object paramLock := sync.Mutex{} observeParam := func(p runtime.Object) { paramLock.Lock() defer paramLock.Unlock() matchedParams = append(matchedParams, p) } getAndResetObservedParams := func() []runtime.Object { paramLock.Lock() defer paramLock.Unlock() oldParams := matchedParams
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
src/runtime/mprof.go
return } skip := 3 // runtime.(*mLockProfile).recordUnlock runtime.unlock2 runtime.unlockWithRank if staticLockRanking { // When static lock ranking is enabled, we'll always be on the system // stack at this point. There will be a runtime.unlockWithRank.func1 // frame, and if the call to runtime.unlock took place on a user stack // then there'll also be a runtime.systemstack frame. To keep stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/testing/testing.go
if n == 0 { panic("testing: zero callers found") } frames := runtime.CallersFrames(pc[:n]) var firstFrame, prevFrame, frame runtime.Frame for more := true; more; prevFrame = frame { frame, more = frames.Next() if frame.Function == "runtime.gopanic" { continue } if frame.Function == c.cleanupName { frames = runtime.CallersFrames(c.cleanupPc) continue } if firstFrame.PC == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc
With the runtime API you can do just that: .Using runtime API with custom task type ==== include::sample[dir="snippets/tasks/incrementalBuild-customTaskClass/kotlin",files="build.gradle.kts[tags=custom-class-runtime-api]"] include::sample[dir="snippets/tasks/incrementalBuild-customTaskClass/groovy",files="build.gradle[tags=custom-class-runtime-api]"] ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:14:04 UTC 2024 - 63.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
badKey := fmt.Sprintf("/pods/%s-bad/foo", tt.namespace) badOut := &example.Pod{} err = store.GuaranteedUpdate(ctx, badKey, badOut, true, nil, storage.SimpleUpdate( func(runtime.Object) (runtime.Object, error) { obj := basePod.DeepCopy() obj.Namespace = fmt.Sprintf("%s-bad", tt.namespace) return obj, nil }), nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
src/runtime/traceback.go
// It is only for runtime functions, so ASCII A-Z is fine. func isExportedRuntime(name string) bool { // Check and remove package qualifier. n := len("runtime.") if len(name) <= n || name[:n] != "runtime." { return false } name = name[n:] rcvr := "" // Extract receiver type, if any. // For example, runtime.(*Func).Entry i := len(name) - 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0)