- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for acc2 (0.01 sec)
-
internal/dsync/dsync_test.go
m := NewDRWMutex(ds, "") var acc0, acc1 uint64 b.SetParallelism(4) b.RunParallel(func(pb *testing.PB) { c := make(chan bool) var data [4 << 10]uint64 for i := 0; pb.Next(); i++ { if i%4 == 0 { m.Lock(id, source) acc0 -= 100 acc1 += 100 m.Unlock(b.Context()) } else { for i := 0; i < len(data); i += 4 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
ACE ace1 = mock(ACE.class); ACE ace2 = mock(ACE.class); when(ace1.getApplyToText()).thenReturn(""); when(ace2.getApplyToText()).thenReturn(null); assertEquals("", ace1.getApplyToText(), "Should handle empty apply text"); assertNull(ace2.getApplyToText(), "Should handle null apply text"); verify(ace1).getApplyToText();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
a.N = atomic.LoadInt64(&old.N) e.mu.Lock() e.addAll(t-1, a) e.mu.Unlock() acc = newAcc } else { // We may be able to grab the new accumulator by yielding. runtime.Gosched() acc = e.cached.Load() } } atomic.AddInt64(&acc.N, 1) atomic.AddInt64(&acc.Total, int64(value)) atomic.AddInt64(&acc.Size, sz) } // total returns the total call count and latency for the last minute.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
client .newBuilder() .eventListenerFactory(clientTestRule.wrap(eventRecorder)) .build() server.enqueue(MockResponse(body = "abc1")) server.enqueue(MockResponse(body = "abc2")) val request = Request.Builder().url(server.url("/")).build() client.newCall(request).execute().use { response -> assertEquals(200, response.code) } assertEquals(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
try { return new SID(textual); } catch (SmbException e) { throw new RuntimeException(e); } } @Test @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types") void resolveSids_populatesFields_happyPath() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
api/go1.5.txt
pkg math/big, func NewFloat(float64) *Float pkg math/big, func ParseFloat(string, int, uint, RoundingMode) (*Float, int, error) pkg math/big, method (*Float) Abs(*Float) *Float pkg math/big, method (*Float) Acc() Accuracy pkg math/big, method (*Float) Add(*Float, *Float) *Float pkg math/big, method (*Float) Append([]uint8, uint8, int) []uint8 pkg math/big, method (*Float) Cmp(*Float) int
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)