Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 461 for spdelta (0.13 sec)

  1. src/internal/runtime/atomic/atomic_mips64x.s

    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVV	ptr+0(FP), R2
    	MOVW	delta+8(FP), R3
    	SYNC
    	LL	(R2), R1
    	ADDU	R1, R3, R4
    	MOVV	R4, R1
    	SC	R4, (R2)
    	BEQ	R4, -4(PC)
    	MOVW	R1, ret+16(FP)
    	SYNC
    	RET
    
    // uint64 Xadd64(uint64 volatile *ptr, int64 delta)
    // Atomically:
    //	*val += delta;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    // when invoked from multiple goroutines.
    type RequestWaitGroup interface {
    	// Add adds delta, which may be negative, similar to sync.WaitGroup.
    	// If Add with a positive delta happens after Wait, it will return error,
    	// which prevent unsafe Add.
    	Add(delta int) error
    
    	// Done decrements the WaitGroup counter.
    	Done()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param delta the value to add
       * @return the previous value
       */
      @CanIgnoreReturnValue
      public final double getAndAdd(int i, double delta) {
        while (true) {
          long current = longs.get(i);
          double currentVal = longBitsToDouble(current);
          double nextVal = currentVal + delta;
          long next = doubleToRawLongBits(nextVal);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_amd64.go

    	// bytes to align the buffer to an 8 byte boundary (if necessary).
    	if len(p) >= castagnoliK1*3 {
    		delta := int(uintptr(unsafe.Pointer(&p[0])) & 7)
    		if delta != 0 {
    			delta = 8 - delta
    			crc = castagnoliSSE42(crc, p[:delta])
    			p = p[delta:]
    		}
    	}
    
    	// Process 3*K2 at a time.
    	for len(p) >= castagnoliK2*3 {
    		// Compute CRC(I, A), CRC(0, B), and CRC(0, C).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/image/gif/writer_test.go

    			sum += delta(r0, r1)
    			sum += delta(g0, g1)
    			sum += delta(b0, b1)
    			n += 3
    		}
    	}
    	return sum / n
    }
    
    // lzw.NewWriter wants an interface which is basically the same thing as gif's
    // writer interface.  This ensures we're compatible.
    var _ writer = blockWriter{}
    
    var testCase = []struct {
    	filename  string
    	tolerance int64
    }{
    	{"../testdata/video-001.png", 1 << 12},
    	{"../testdata/video-001.gif", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_arm64.s

    	CBNZ	R3, load_store_loop
    ok:
    	CSET	EQ, R0
    	MOVB	R0, ret+24(FP)
    	RET
    #endif
    
    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //      *val += delta;
    //      return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R0
    	MOVW	delta+8(FP), R1
    #ifndef GOARM64_LSE
    	MOVBU	internal∕cpu·ARM64+const_offsetARM64HasATOMICS(SB), R4
    	CBZ 	R4, load_store_loop
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_ppc64x.s

    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R4
    	MOVW	delta+8(FP), R5
    	LWSYNC
    	LWAR	(R4), R3
    	ADD	R5, R3
    	STWCCC	R3, (R4)
    	BNE	-3(PC)
    	MOVW	R3, ret+16(FP)
    	RET
    
    // uint64 Xadd64(uint64 volatile *val, int64 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/hash/crc32/crc32_test.go

    	testGoldenIEEE(t, ChecksumIEEE)
    
    	// Some implementations have special code to deal with misaligned
    	// data; test that as well.
    	for delta := 1; delta <= 7; delta++ {
    		testGoldenIEEE(t, func(b []byte) uint32 {
    			ieee := NewIEEE()
    			d := delta
    			if d >= len(b) {
    				d = len(b)
    			}
    			ieee.Write(b[:d])
    			ieee.Write(b[d:])
    			return ieee.Sum32()
    		})
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          ) {
            var index = index
            headerList.add(entry)
    
            var delta = entry.hpackSize
            if (index != -1) { // Index -1 == new header.
              delta -= dynamicTable[dynamicTableIndex(index)]!!.hpackSize
            }
    
            // if the new or replacement header is too big, drop all entries.
            if (delta > maxDynamicTableByteCount) {
              clearDynamicTable()
              return
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          }
    
          val expires = this.expires
          if (expires != null) {
            val servedMillis = servedDate?.time ?: receivedResponseMillis
            val delta = expires.time - servedMillis
            return if (delta > 0L) delta else 0L
          }
    
          if (lastModified != null && cacheResponse.request.url.query == null) {
            // As recommended by the HTTP RFC and implemented in Firefox, the max age of a document
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top