Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 225 for RUNTIME (0.16 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		return string(buffer[:zb]), nil
    	}
    	// __errno()
    	errno := int(*(*int32)(unsafe.Pointer(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO<<4,
    		[]uintptr{}))))
    	// __errno2()
    	errno2 := int(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO2<<4,
    		[]uintptr{}))
    	// strerror_r()
    	ret = runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS_STRERROR_R<<4,
    		[]uintptr{uintptr(errno), uintptr(unsafe.Pointer(&buffer[0])), 1024})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/go_test.go

    		canASan = testenv.HasCGO() && platform.ASanSupported(runtime.GOOS, runtime.GOARCH)
    		canRace = testenv.HasCGO() && platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH)
    		// The race detector doesn't work on Alpine Linux:
    		// golang.org/issue/14481
    		// gccgo does not support the race detector.
    		if isAlpineLinux() || runtime.Compiler == "gccgo" {
    			canRace = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/mbitmap.go

    			if addr == 0 {
    				println("runtime: found bad iterator")
    			}
    			if addr != x+i {
    				print("runtime: addr=", hex(addr), " x+i=", hex(x+i), "\n")
    				bad = true
    			}
    		}
    	}
    	if !bad {
    		var addr uintptr
    		tp, addr = tp.next(x + span.elemsize)
    		if addr == 0 {
    			return
    		}
    		println("runtime: extra pointer:", hex(addr))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top