Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for runtime_test (0.18 sec)

  1. tensorflow/cc/experimental/libtf/tests/runtime_test.cc

      EXPECT_EQ(out_val[0], 5.0f);
    }
    
    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) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/runtime/runtime_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"flag"
    	"fmt"
    	"io"
    	. "runtime"
    	"runtime/debug"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    // flagQuick is set by the -quick option to skip some relatively slow tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/runtime/runtime_test.go

    Sascha Grunert <******@****.***> 1717050802 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    Patrick Ohly <******@****.***> 1700508300 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/tests/runtime_test.h

    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tf {
    namespace libtf {
    namespace runtime {
    
    typedef Runtime (*RuntimeFn)();
    
    class RuntimeTest : public ::testing::TestWithParam<RuntimeFn> {};
    
    }  // namespace runtime
    }  // namespace libtf
    }  // namespace tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 15:05:14 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/pprof/runtime_test.go

    Michael Matloob <******@****.***> 1481317202 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:29:37 UTC 2017
    - 3K bytes
    - Viewed (0)
  7. pilot/pkg/util/runtime/runtime_test.go

    John Howard <******@****.***> 1658777447 +0000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. src/runtime/runtime-seh_windows_test.go

    	testSehCallersEqual(t, pcs, []string{"runtime_test.sehCallers", "runtime_test.sehf4",
    		"runtime_test.sehf3", "runtime_test.TestSehUnwind"})
    }
    
    func TestSehUnwindPanic(t *testing.T) {
    	if runtime.GOARCH != "amd64" {
    		t.Skip("skipping amd64-only test")
    	}
    	want := []string{"runtime_test.sehCallers", "runtime_test.TestSehUnwindPanic.func1", "runtime.gopanic",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/runtime/callers_test.go

    	// Make sure we don't have any extra frames on the stack (due to
    	// open-coded defer processing)
    	want := []string{"runtime.Callers", "runtime_test.TestCallersPanic.func1",
    		"runtime.gopanic", "runtime_test.f3", "runtime_test.f2", "runtime_test.f1",
    		"runtime_test.TestCallersPanic"}
    
    	defer func() {
    		if r := recover(); r == nil {
    			t.Fatal("did not panic")
    		}
    		pcs := make([]uintptr, 20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/runtime/internal/startlinetest/func_amd64.go

    // license that can be found in the LICENSE file.
    
    // Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
    package startlinetest
    
    // Defined in func_amd64.s, this is a trivial assembly function that calls
    // runtime_test.callerStartLine.
    func AsmFunc() int
    
    // Provided by runtime_test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:33 UTC 2022
    - 452 bytes
    - Viewed (0)
Back to top