- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 199 for spdelta (1.24 sec)
-
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) -
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) -
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) -
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) -
src/time/sleep_test.go
t.Parallel() const Count = 10 Delta := 100 * Millisecond if testing.Short() { Delta = 10 * Millisecond } t0 := Now() for i := 0; i < Count; i++ { <-After(Delta) } t1 := Now() d := t1.Sub(t0) target := Delta * Count if d < target*9/10 { t.Fatalf("%d ticks of %s too fast: took %s, expected %s", Count, Delta, d, target) } if !testing.Short() && d > target*30/10 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
s.mu.Lock() defer s.mu.Unlock() key := authorizationKey(user) expDelta := cacheTTL if response == nil { // Cache success a bit longer, there is no need to quickly revoke access expDelta *= 5 } log.Debugf("cached authorization for user %s: %v", user, response) s.authorizationCache[key] = authorizationResponse{ expiration: time.Now().Add(expDelta), authorized: response, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
cmd/perf-tests.go
time.Sleep(time.Second) } rx := float64(globalNetPerfRX.RXSample) delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect) if delta < 0 { rx = 0 errStr = "network disconnection issues detected" } globalNetPerfRX.Reset() return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
public long decrementAndGet(K key) { return addAndGet(key, -1); } /** * Adds {@code delta} to the value currently associated with {@code key}, and returns the new * value. */ @CanIgnoreReturnValue public long addAndGet(K key, long delta) { return accumulateAndGet(key, delta, Long::sum); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
} func (r *importReader) posv0() { delta := r.int64() if delta != deltaNewFile { r.prevLine += delta } else if l := r.int64(); l == -1 { r.prevLine += deltaNewFile } else { r.prevFile = r.string() r.prevLine = l } } func (r *importReader) posv1() { delta := r.int64() r.prevColumn += delta >> 1 if delta&1 != 0 { delta = r.int64() r.prevLine += delta >> 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/net/timeout_test.go
// another error immediately. t.Logf("closing spurious connection from Dial") c.Close() if delta <= 1 && d.Timeout <= 1 { t.Fatalf("can't reduce Timeout or Deadline") } if delta > 1 { delta /= 2 t.Logf("reducing Deadline delta to %v", delta) } if d.Timeout > 1 { d.Timeout /= 2 t.Logf("reducing Timeout to %v", d.Timeout) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 18:06:55 UTC 2024 - 30K bytes - Viewed (0)