- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 174 for incremented (0.64 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
var bias = INITIAL_BIAS var h = b while (h < input.size) { val m = input.minBy { if (it >= n) it else Int.MAX_VALUE } val increment = (m - n) * (h + 1) if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow. delta += increment n = m for (c in input) { if (c < n) { if (delta == Int.MAX_VALUE) return false // Prevent overflow.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
cmd/namespace-lock_test.go
}() runtime.Gosched() // unlock the manual lock nsLk.lockMapMutex.Unlock() // To trigger the race: // 1) lk3 or lk4 need to advance and increment the ref on the existing resource, // successfully acquiring the lock. // 2) lk2 then needs to advance and remove the resource from lockMap. // 3) lk3 or lk4 (whichever didn't execute in step 1) then executes and creates
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
private fun readWindowUpdate( handler: Handler, length: Int, flags: Int, streamId: Int, ) { val increment: Long try { if (length != 4) throw IOException("TYPE_WINDOW_UPDATE length !=4: $length") increment = source.readInt() and 0x7fffffffL if (increment == 0L) throw IOException("windowSizeIncrement was 0") } catch (e: Exception) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAddables.java
} public static LongAddable create() { return SUPPLIER.get(); } private static final class PureJavaLongAddable extends AtomicLong implements LongAddable { @Override public void increment() { getAndIncrement(); } @Override public void add(long x) { getAndAdd(x); } @Override public long sum() { return get(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAddable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 885 bytes - Click Count (0) -
internal/store/queuestore.go
} else { err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770)) } buf.Reset() if err != nil { return err } // Increment the item count. store.entries[key.String()] = time.Now().UnixNano() return err } // write - writes an item to the directory. func (store *QueueStore[I]) write(key Key, item I) error {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java
final class LongAddables { public static LongAddable create() { return new GwtLongAddable(); } private static final class GwtLongAddable implements LongAddable { private long value; public void increment() { value++; } public void add(long x) { value += x; } public long sum() { return value; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 08 14:27:16 GMT 2025 - 1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
public Integer load(Integer from) { return (int) misses.incrementAndGet(); } }); // To start, fill up the cache. // Each miss both increments the counter and causes the map to grow by one, // so until evictions begin, the size of the map is the greatest return // value seen so far while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
*[SeedSize]byte) { // CTR_DRBG_Update, per Section 10.2.1.2. temp := make([]byte, SeedSize) c.c.XORKeyStream(temp, seed[:]) K := temp[:keySize] V := temp[keySize:] // Again, we pre-increment V, like in NewCounter. increment((*[aes.BlockSize]byte)(V)) cipher, err := aes.New(K) if err != nil { panic(err) } c.c = *aes.NewCTR(cipher, V) } func increment(v *[aes.BlockSize]byte) { hi := byteorder.BEUint64(v[:8]) lo := byteorder.BEUint64(v[8:]) lo, c := bits.Add64(lo, 1, 0) hi, _ = bits.Add64(hi, 0, c) byteorder.BEPutUint64(v[:8],...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
if (oldValue == newValue) { return false; } } while (!data.compareAndSet(longIndex, oldValue, newValue)); // We turned the bit on, so increment bitCount. bitCount.increment(); return true; } boolean get(long bitIndex) { return (data.get((int) (bitIndex >>> LONG_ADDRESSABLE_BITS)) & (1L << bitIndex)) != 0; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0)