Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for acc0 (0.12 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb/SIDTest.java

            void testGetTypeAndText(int type, String text) {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID sid = new SID(buildSidT((byte) 1, ident, 42), type, "DOM", "acct", false);
                assertEquals(type, sid.getType());
                assertEquals(text, sid.getTypeText());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. 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)
  5. docs/LICENSE

    its public licenses to material it publishes and in those instances
    will be considered the “Licensor.” The text of the Creative Commons
    public licenses is dedicated to the public domain under the CC0 Public
    Domain Dedication. Except for the limited purpose of indicating that
    material is shared under a Creative Commons public license or as
    otherwise permitted by the Creative Commons policies published at
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  6. 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)
Back to top