Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hammerRWMutex (0.07 sec)

  1. internal/dsync/drwmutex_test.go

    	n := 100
    	if testing.Short() {
    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex_test.go

    	n := 1000
    	if testing.Short() {
    		n = 5
    	}
    	HammerRWMutex(1, 1, n)
    	HammerRWMutex(1, 3, n)
    	HammerRWMutex(1, 10, n)
    	HammerRWMutex(4, 1, n)
    	HammerRWMutex(4, 3, n)
    	HammerRWMutex(4, 10, n)
    	HammerRWMutex(10, 1, n)
    	HammerRWMutex(10, 3, n)
    	HammerRWMutex(10, 10, n)
    	HammerRWMutex(10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    func TestDRLocker(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top