Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for test0 (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

      "tf_saved_model.session_initializer"() {initializers = [@init]} : () -> ()
    
      // CHECK-NOT: "tf_saved_model.asset"
      "tf_saved_model.asset"() {filename = "assets/test0.txt", sym_name = "asset0"} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/test1.txt", sym_name = "asset1"} : () -> ()
    
      // CHECK: func @init()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. test/abi/bad_internal_offsets.go

    	}
    }
    
    type StructF0S0 struct {
    	F0 int16
    	F1 string
    	F2 StructF0S1
    }
    
    type StructF0S1 struct {
    	_ uint16
    }
    
    // 0 returns 3 params
    //go:registerparams
    //go:noinline
    func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
    	// consume some stack space, so as to trigger morestack
    	var pad [256]uint64
    	pad[FailCount]++
    	if p0 == 0 {
    		return
    	}
    	p1f0c := int16(-3096)
    	if p1.F0 != p1f0c {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	kubestats "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/features"
    	statstest "k8s.io/kubernetes/pkg/kubelet/server/stats/testing"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    const (
    	namespace0  = "test0"
    	pName0      = "pod0"
    	capacity    = int64(10000000)
    	available   = int64(5000000)
    	inodesTotal = int64(2000)
    	inodesFree  = int64(1000)
    
    	vol0          = "vol0"
    	vol1          = "vol1"
    	vol2          = "vol2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue5755.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "./a"
    
    func main() {
    	a.Test1("frumious")
    	a.Test2("frumious")
    	a.Test3("frumious")
    	a.Test4("frumious")
    
    	a.Test5(nil)
    	a.Test6(nil)
    	a.Test7(nil)
    	a.Test8(nil)
    	a.Test9(0)
    
    	a.TestBar()
    	a.IsBaz(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 385 bytes
    - Viewed (0)
  5. test/ken/embed.go

    	if s.test5() != s.a5 {
    		println("t4", 5)
    		panic("fail")
    	}
    	if s.test6() != s.a6 {
    		println("t4", 6)
    		panic("fail")
    	}
    	if s.test7() != s.a7 {
    		println("t4", 7)
    		panic("fail")
    	}
    
    	// call interface
    	if i.test1() != s.test1() {
    		println("t5", 1)
    		panic("fail")
    	}
    	if i.test2() != s.test2() {
    		println("t5", 2)
    		panic("fail")
    	}
    	if i.test3() != s.test3() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue5755.dir/a.go

    func (f foo9) F() { return }
    
    func Test1(s string) I  { return foo1(s) }
    func Test2(s string) I  { return foo2(s) }
    func Test3(s string) I  { return foo3(s) }
    func Test4(s string) I  { return foo4(s) }
    func Test5(s []byte) I  { return foo5(s) }
    func Test6(s []rune) I  { return foo6(s) }
    func Test7(s []uint8) I { return foo7(s) }
    func Test8(s []int32) I { return foo8(s) }
    func Test9(s int) I     { return foo9(s) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  7. test/recover1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test of recover during recursive panics.
    // Here be dragons.
    
    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func die() {
    	runtime.Breakpoint()	// can't depend on panic
    }
    
    func mustRecover(x interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  8. test/recover2.go

    // license that can be found in the LICENSE file.
    
    // Test of recover for run-time errors.
    
    // TODO(rsc):
    //	null pointer accesses
    
    package main
    
    import "strings"
    
    var x = make([]byte, 10)
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func mustRecover(s string) {
    	v := recover()
    	if v == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  9. test/ken/chan.go

    	test5(c)
    	wait()
    
    	test6(c)
    	wait()
    }
    
    // run all test with 4 buffser sizes
    func main() {
    
    	tests(0)
    	tests(1)
    	tests(10)
    	tests(100)
    
    	t := 4 * // buffer sizes
    		(4*4 + // tests 1,2,3,4 channels
    			8 + // test 5 channels
    			12) * // test 6 channels
    		76 // sends/recvs on a channel
    
    	if tots != t || totr != t {
    		print("tots=", tots, " totr=", totr, " sb=", t, "\n")
    		os.Exit(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  10. test/fixedbugs/issue13799.go

    	for iter := 0; ; iter++ {
    		if iter%50 == 0 {
    			fmt.Println(iter) // ERROR "iter escapes to heap$" "... argument does not escape$"
    		}
    		test1(iter)
    		test2(iter)
    		test3(iter)
    		test4(iter)
    		test5(iter)
    		test6(iter)
    	}
    }
    
    func test1(iter int) {
    
    	const maxI = 500
    	m := make(map[int][]int) // ERROR "make\(map\[int\]\[\]int\) escapes to heap$"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top