Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SimpleUpdate (0.17 sec)

  1. src/hash/crc32/crc32_test.go

    func TestSimple(t *testing.T) {
    	tab := simpleMakeTable(IEEE)
    	testGoldenIEEE(t, func(b []byte) uint32 {
    		return simpleUpdate(0, tab, b)
    	})
    
    	tab = simpleMakeTable(Castagnoli)
    	testGoldenCastagnoli(t, func(b []byte) uint32 {
    		return simpleUpdate(0, tab, b)
    	})
    }
    
    func TestGoldenMarshal(t *testing.T) {
    	t.Run("IEEE", func(t *testing.T) {
    		for _, g := range golden {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	// passed originalPod, and make sure that SimpleUpdate is called a second time after a live lookup
    	// with the value of updatedPod.
    	sawConflict := false
    	updatedPod2 := &example.Pod{}
    	err = store.GuaranteedUpdate(ctx, key, updatedPod2, false, nil,
    		storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    			pod := obj.(*example.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top