Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,818 for FUNC (0.03 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    }
    
    func TestNonSlidingUntil(t *testing.T) {
    	ch := make(chan struct{})
    	close(ch)
    	NonSlidingUntil(func() {
    		t.Fatal("should not have been invoked")
    	}, 0, ch)
    
    	ch = make(chan struct{})
    	called := make(chan struct{})
    	go func() {
    		NonSlidingUntil(func() {
    			called <- struct{}{}
    		}, 0, ch)
    		close(called)
    	}()
    	<-called
    	close(ch)
    	<-called
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    func TestGuaranteedUpdate(t *testing.T) {
    	// TODO(#109831): Enable use of this test and run it.
    }
    
    func TestGuaranteedUpdateWithTTL(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestGuaranteedUpdateWithTTL(ctx, t, cacher)
    }
    
    func TestGuaranteedUpdateChecksStoredData(t *testing.T) {
    	// TODO(#109831): Enable use of this test and run it.
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func goPanicSlice3B(x int, y int)
    func goPanicSlice3BU(x uint, y int)
    func goPanicSlice3C(x int, y int)
    func goPanicSlice3CU(x uint, y int)
    func goPanicSliceConvert(x int, y int)
    
    func printbool(bool)
    func printfloat(float64)
    func printint(int64)
    func printhex(uint64)
    func printuint(uint64)
    func printcomplex(complex128)
    func printstring(string)
    func printpointer(any)
    func printuintptr(uintptr)
    func printiface(any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-collective.mlir

      func.return %0 : tensor<f32>
    }
    
    // -----
    
    // CHECK: module attributes
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_key = 0
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_size = 2
    // CHECK-LABEL: func @all_reduce_cross_replica_and_partition
    func.func @all_reduce_cross_replica_and_partition(%input: tensor<f32>) -> tensor<f32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

      func.return %output_0, %output_1 : tensor<?x?x512xf32>, tensor<?x?x512xf32>
    }
    
    // CHECK: func @"tensor_array_while_body/tfrt_body_10"
    
    func.func @callee(%arg0: tensor<i32>) -> (tensor<i32>) {
      func.return %arg0: tensor<i32>
    }
    
    // CHECK-LABEL: func @call_test
    // CHECK-SAME: ([[chain:%.*]]: !tfrt.chain,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. pkg/slices/slices_test.go

    }
    
    const N = 100_000
    
    func BenchmarkSort(b *testing.B) {
    	b.Run("SortFunc", func(b *testing.B) {
    		cmpFunc := func(a, b *myStruct) int { return a.n - b.n }
    		for i := 0; i < b.N; i++ {
    			b.StopTimer()
    			ss := makeRandomStructs(N)
    			b.StartTimer()
    			SortFunc(ss, cmpFunc)
    		}
    	})
    	b.Run("SortStableFunc", func(b *testing.B) {
    		cmpFunc := func(a, b *myStruct) int { return a.n - b.n }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/output/v1alpha3/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((*AvailableUpgrade)(nil), (*output.AvailableUpgrade)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. pkg/volume/testing/volume_host.go

    }
    
    func (f *fakeVolumeHost) GetSecretFunc() func(namespace, name string) (*v1.Secret, error) {
    	return func(namespace, name string) (*v1.Secret, error) {
    		return f.kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    func (f *fakeVolumeHost) GetExec(pluginName string) exec.Interface {
    	return f.exec
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_386.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.6K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    }
    func LFNodeValidate(node *LFNode) {
    	lfnodeValidate((*lfnode)(unsafe.Pointer(node)))
    }
    
    func Netpoll(delta int64) {
    	systemstack(func() {
    		netpoll(delta)
    	})
    }
    
    func GCMask(x any) (ret []byte) {
    	systemstack(func() {
    		ret = getgcmask(x)
    	})
    	return
    }
    
    func RunSchedLocalQueueTest() {
    	pp := new(p)
    	gs := make([]g, len(pp.runq))
    	Escape(gs) // Ensure gs doesn't move, since we use guintptrs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top