- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 132 for bit_count (0.28 sec)
-
guava/src/com/google/common/cache/CacheStats.java
public long hitCount() { return hitCount; } /** * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount / * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate + * missRate =~ 1.0}. */ public double hitRate() { long requestCount = requestCount(); return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
dstIndex += wordCount + 1; wordCount /= 2; dst[start] = (byte)( wordCount & 0xFF ); byteCount = writeBytesWireFormat( dst, dstIndex + 2 ); dst[dstIndex++] = (byte)( byteCount & 0xFF ); dst[dstIndex++] = (byte)(( byteCount >> 8 ) & 0xFF ); dstIndex += byteCount; /* Normally, without intervention everything would batch
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
tensorflow/c/kernels/bitcast_op.cc
auto* k = static_cast<BitcastOp*>(kernel); int dim_count = 0; TF_Tensor* tensor; TF_Status* status = TF_NewStatus(); TF_GetInput(ctx, 0, &tensor, status); if (TF_GetCode(status) == TF_OK) { dim_count = TF_NumDims(tensor); if (!(k->in_size >= k->out_size || (dim_count > 0 && TF_Dim(tensor, dim_count - 1) == k->out_size / k->in_size))) { std::ostringstream err;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 5.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
logWithTime("requestBodyStart") delegate.requestBodyStart(call) } override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") delegate.requestBodyEnd(call, byteCount) } override fun requestFailed( call: Call, ioe: IOException, ) { logWithTime("requestFailed: $ioe")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
} override fun requestBodyStart(call: Call) { logWithTime("requestBodyStart") } override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") } override fun requestFailed( call: Call, ioe: IOException, ) { logWithTime("requestFailed: $ioe") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
) : Sink by delegate { private var bytesWritten = 0L override fun write( source: Buffer, byteCount: Long, ) { if (byteCount == 0L) return // Avoid double-triggering. if (bytesWritten == triggerByteCount) { source.skip(byteCount) return } val toWrite = minOf(byteCount, triggerByteCount - bytesWritten) bytesWritten += toWrite delegate.write(source, toWrite)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
bufferIndex += wordCount * 2; } byteCount = readInt2( buffer, bufferIndex ); bufferIndex += 2; if( byteCount != 0 ) { int n; if(( n = readBytesWireFormat( buffer, bufferIndex )) != byteCount ) { if( log.level >= 5 ) { log.println( "byteCount=" + byteCount + " but readBytesWireFormat returned " + n );
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 21K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
} override fun read( sink: Buffer, byteCount: Long, ): Long { require(byteCount >= 0L) { "byteCount < 0: $byteCount" } check(currentPart == this) { "closed" } source.timeout().intersectWith(timeout) { return when (val limit = currentPartBytesRemaining(maxResult = byteCount)) { 0L -> -1L // No more bytes in this part.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheManualTest.java
assertEquals(0, stats.hitCount()); Object one = new Object(); Object two = new Object(); assertNull(cache.getIfPresent(one)); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertNull(cache.asMap().get(one));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.4K bytes - Viewed (0)