Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,541 for RUNTIME (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    func EachListItemWithAlloc(obj runtime.Object, fn func(runtime.Object) error) error {
    	return eachListItem(obj, fn, true)
    }
    
    // allocNew: Whether shallow copy is required when the elements in Object.Items are struct
    func eachListItem(obj runtime.Object, fn func(runtime.Object) error, allocNew bool) error {
    	if unstructured, ok := obj.(runtime.Unstructured); ok {
    		if allocNew {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/embedded_test.go

    	"reflect"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	runtimetesting "k8s.io/apimachinery/pkg/runtime/testing"
    	"k8s.io/apimachinery/pkg/util/diff"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    func TestDecodeEmptyRawExtensionAsObject(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/tests/runtime_test.cc

    TEST_P(RuntimeTest, CreateHostTensorIncompatibleShape) {
      Runtime runtime = RuntimeTest::GetParam()();
      EXPECT_THAT(runtime.CreateHostTensor<float>({2}, TF_FLOAT, {2.0f}),
                  StatusIs(absl::StatusCode::kInvalidArgument,
                           HasSubstr("Mismatched shape and data size")));
    }
    
    TEST_P(RuntimeTest, CreateHostTensorNonFullyDefinedShapeRaises) {
      Runtime runtime = RuntimeTest::GetParam()();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/runtime/core/core.cc

    namespace runtime {
    namespace core {
    
    runtime::Runtime Runtime() {
      TaggedValue ctx_capsule;
      TFE_Context* ctx;
      TFE_ContextOptions* ctx_options = TFE_NewContextOptions();
      TFE_ContextOptionsSetDevicePlacementPolicy(ctx_options,
                                                 TFE_DEVICE_PLACEMENT_WARN);
      TF_Status* status = TF_NewStatus();
      ctx = TFE_NewContext(ctx_options, status);
      TF_DeleteStatus(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. src/runtime/crash_unix_test.go

    		// This may be ncpu < 2 related...
    		t.Skipf("skipping; test fails on %s/%s - see issue #42464", runtime.GOOS, runtime.GOARCH)
    	}
    
    	if runtime.Sigisblocked(int(syscall.SIGQUIT)) {
    		t.Skip("skipping; SIGQUIT is blocked, see golang.org/issue/19196")
    	}
    
    	testenv.MustHaveGoBuild(t)
    
    	if strings.Contains(os.Getenv("GOFLAGS"), "mayMoreStackPreempt") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-consistentResolution/tests/base-dependency-insight.out

        | Attribute Name                 | Provided     | Requested    |
        |--------------------------------|--------------|--------------|
        | org.gradle.status              | release      |              |
        | org.gradle.category            | library      | library      |
        | org.gradle.libraryelements     | jar          | jar          |
        | org.gradle.usage               | java-runtime | java-runtime |
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    				client.PrependReactor("create", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, nil
    				})
    				client.PrependReactor("get", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, nil
    				})
    				client.PrependReactor("update", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, nil
    				})
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cgo_stale.txt

    go build -x .
    stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    ! stale runtime/cgo
    
    
    # After runtime/cgo has been rebuilt and cached, it should not be rebuilt again.
    
    go build -x .
    ! stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    ! stale runtime/cgo
    
    
    -- go.mod --
    module example.com/m
    
    go 1.17
    -- m.go --
    package m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 22:43:41 UTC 2022
    - 888 bytes
    - Viewed (0)
  9. test/gc2.go

    package main
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    )
    
    func main() {
    	const N = 10000
    	st := new(runtime.MemStats)
    	memstats := new(runtime.MemStats)
    	runtime.ReadMemStats(st)
    	for i := 0; i < N; i++ {
    		c := make(chan int, 10)
    		_ = c
    		if i%100 == 0 {
    			for j := 0; j < 4; j++ {
    				runtime.GC()
    				runtime.Gosched()
    				runtime.GC()
    				runtime.Gosched()
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 977 bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    			f:    blockChanRecv,
    			stk: []string{
    				"runtime.chanrecv1",
    				"runtime/pprof.blockChanRecv",
    				"runtime/pprof.TestBlockProfile",
    			},
    			re: `
    [0-9]+ [0-9]+ @( 0x[[:xdigit:]]+)+
    #	0x[0-9a-f]+	runtime\.chanrecv1\+0x[0-9a-f]+	.*runtime/chan.go:[0-9]+
    #	0x[0-9a-f]+	runtime/pprof\.blockChanRecv\+0x[0-9a-f]+	.*runtime/pprof/pprof_test.go:[0-9]+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top