Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for FUNC (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_resource_partitioning.mlir

      %2 = "tf_device.cluster_func"(%1) {func = @computation} : (tensor<i32>) -> tensor<i32>
      func.return %1 : tensor<i32>
    }
    
    // CHECK-LABEL: func @non_resource_read_input_write_output
    func.func @non_resource_read_input_write_output(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT:  tf.TPUPartitionedInputV2
      %0 = "tf_device.cluster_func"(%arg0) {func = @computation} : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/go/doc/testdata/testing.0.golden

    	func Benchmark(f func(b *B)) BenchmarkResult
    
    	// 
    	func (r BenchmarkResult) NsPerOp() int64
    
    	// 
    	func (r BenchmarkResult) String() string
    
    	// An internal type but exported because it is cross-package; part ...
    	type InternalBenchmark struct {
    		Name	string
    		F	func(b *B)
    	}
    
    	// 
    	type InternalExample struct {
    		Name	string
    		F	func()
    		Output	string
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue19113.go

    		return x >> s
    	},
    	func(x int, s int16) int {
    		return x >> s
    	},
    	func(x int, s int8) int {
    		return x >> s
    	},
    	func(x uint, s int) uint {
    		return x << s
    	},
    	func(x uint, s int64) uint {
    		return x << s
    	},
    	func(x uint, s int32) uint {
    		return x << s
    	},
    	func(x uint, s int16) uint {
    		return x << s
    	},
    	func(x uint, s int8) uint {
    		return x << s
    	},
    	func(x uint, s int) uint {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 15 23:13:09 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  4. pkg/securitycontext/accessors.go

    }
    
    type podSecurityContextWrapper struct {
    	podSC *api.PodSecurityContext
    }
    
    func (w *podSecurityContextWrapper) PodSecurityContext() *api.PodSecurityContext {
    	return w.podSC
    }
    
    func (w *podSecurityContextWrapper) ensurePodSC() {
    	if w.podSC == nil {
    		w.podSC = &api.PodSecurityContext{}
    	}
    }
    
    func (w *podSecurityContextWrapper) HostNetwork() bool {
    	if w.podSC == nil {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  5. src/go/printer/testdata/declarations.golden

    // ellipsis parameters
    func _(...int)
    func _(...*int)
    func _(...[]int)
    func _(...struct{})
    func _(bool, ...interface{})
    func _(bool, ...func())
    func _(bool, ...func(...int))
    func _(bool, ...map[string]int)
    func _(bool, ...chan int)
    
    func _(b bool, x ...int)
    func _(b bool, x ...*int)
    func _(b bool, x ...[]int)
    func _(b bool, x ...struct{})
    func _(x ...interface{})
    func _(x ...func())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  6. src/runtime/os_wasm.go

    // TODO: Make this a compiler intrinsic
    func getfp() uintptr { return 0 }
    
    func setProcessCPUProfiler(hz int32) {}
    func setThreadCPUProfiler(hz int32)  {}
    func sigdisable(uint32)              {}
    func sigenable(uint32)               {}
    func sigignore(uint32)               {}
    
    // Stubs so tests can link correctly. These should never be called.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/crash.go

    func DoublePanic() {
    	defer func() {
    		panic(P("YYY"))
    	}()
    	panic(P("XXX"))
    }
    
    // Test that panic while panicking discards error message
    // See issue 52257
    type exampleError struct{}
    
    func (e exampleError) Error() string {
    	panic("important multi-line\nerror message")
    }
    
    func ErrorPanic() {
    	panic(exampleError{})
    }
    
    type examplePanicError struct{}
    
    func (e examplePanicError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<4xcomplex<f64>>
    }
    
    func.func @f16() -> tensor<4xf16> {
      // CHECK-LABEL: @f16
      // CHECK: value = dense<[1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00]> : tensor<4xf16>
      %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf16> } : () -> tensor<4xf16>
      func.return %0 : tensor<4xf16>
    }
    
    func.func @f32() -> tensor<4xf32> {
      // CHECK-LABEL: @f32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/typeparams.go

    func _[T [10]byte]() { f := func() (x *T) { return }; f /* ERROR "cannot index" */ ()[0] = 0 }
    func _[T [10]byte]() { f := func() (x *T) { return }; (*f())[0] = 0 }
    func _[T *[10]byte]() { f := func() (x T) { return }; f()[0] = 0 }
    
    // slicing
    
    func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j] }
    func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j:k] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  10. pkg/log/scope_test.go

    	}{
    		{
    			func() { klog.Error("foo") },
    			"error\tklog\tfoo$",
    		},
    		{
    			func() { klog.Error("foo") },
    			"foo$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.ErrorS(errors.New("my error"), "info") },
    			"error\tklog\tmy error: info",
    		},
    		{
    			func() { klog.Info("a", "b") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top