Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,335 for FUNC (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

        func.return %0 : tensor<1xf32>
      }
    
    // CHECK: func.func private @main_0
    // CHECK: func.func @main
    }
    
    // -----
    
    // Tests when a function called @main already exists and @main_{i} also already
    // exists, it increments the suffix number until there's no conflict.
    module attributes {tf_saved_model.semantics}  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. src/net/http/clientserver_test.go

    func TestH12_RequestContentLength_Known_Zero(t *testing.T) {
    	h12requestContentLength(t, func() io.Reader { return nil }, 0)
    }
    
    func TestH12_RequestContentLength_Unknown(t *testing.T) {
    	h12requestContentLength(t, func() io.Reader { return struct{ io.Reader }{strings.NewReader("Stuff")} }, -1)
    }
    
    func h12requestContentLength(t *testing.T, bodyfn func() io.Reader, wantLen int64) {
    	h12Compare{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      func.func @f() attributes { tf_saved_model.exported_names = 1 : i32} {
        func.return
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // expected-note@+1 {{previously seen here}}
      func.func @f() attributes { tf_saved_model.exported_names = ["foo"]} {
        func.return
      }
    
      // expected-error@+1 {{duplicate exported name 'foo'}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*APIEndpoint)(nil), (*kubeadm.APIEndpoint)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    // CHECK-SAME: index = [[const_index:.*]]
    func.func private @some_func(
        %arg: tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32> {
      // CHECK: tf.ReadVariableOp
      %0 = "tf.ReadVariableOp"(%arg) {device = "cpu"} : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
      func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @test_not_hoist_stateful_call
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/runtime/race/testdata/mop_test.go

    	var f func(x int) int
    	f = func(x int) int {
    		return x * x
    	}
    	ch := make(chan bool, 1)
    	go func() {
    		f = func(x int) int {
    			return x
    		}
    		ch <- true
    	}()
    	y := f(1)
    	<-ch
    	x := y
    	y = x
    }
    
    func TestRaceFuncVariableWW(t *testing.T) {
    	var f func(x int) int
    	_ = f
    	ch := make(chan bool, 1)
    	go func() {
    		f = func(x int) int {
    			return x
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 16:46:25 UTC 2023
    - 28.9K bytes
    - Viewed (0)
  7. test/return.go

    type T int
    
    var x interface{}
    var c chan int
    
    func external() int // ok
    
    func _() int {
    } // ERROR "missing return"
    
    func _() int {
    	print(1)
    } // ERROR "missing return"
    
    // return is okay
    func _() int {
    	print(1)
    	return 2
    }
    
    // goto is okay
    func _() int {
    L:
    	print(1)
    	goto L
    }
    
    // panic is okay
    func _() int {
    	print(1)
    	panic(2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 32.7K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (t <type 39>) Key () <type 26>;
     func (t <type 39>) Len () <type -11>;
     func (t <type 39>) NumField () <type -11>;
     func (t <type 39>) NumIn () <type -11>;
     func (t <type 39>) NumOut () <type -11>;
     func (t <type 39>) Out (i <type -11>) <type 26>;
     func (t <type 39>) .reflect.runtimeType () <type 21>;
     func (ct <type 39>) .reflect.ptrTo () <type 39>;
     func (t <type 39>) Implements (u <type 26>) <type -15>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_riscv64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

      func.return %r : tensor<i32>
    }
    
    // -----
    
    // Test inputs to the child streams are merged to the parent streams
    
    // CHECK-LABEL: func private @main_stream_1
    // CHECK-SAME: ([[INPUT0:%.*]]: tensor<i32>, [[INPUT1:%.*]]: tensor<i32>
    // CHECK: tf.Sub
    // CHECK: tf.Sub
    // CHECK: mlrt.async({{%.*}}, [[INPUT1]]
    
    // CHECK-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top