- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 770 for measure (0.08 sec)
-
.github/ISSUE_TEMPLATE/11-language-change.yml
label: "Orthogonality: How does this change interact or overlap with existing features?" description: "Is the goal of this change a performance improvement? If so, what quantifiable improvement should we expect? How would we measure it?" validations: required: false - type: textarea id: learning-curve attributes: label: "Would this change make Go easier or harder to learn, and why?" - type: textarea
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Aug 08 19:02:29 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
} public void test_integrationScenarios() { // Test realistic scenarios combining multiple methods String memoryLog1 = MemoryUtil.getMemoryUsageLog(); // Create some objects and measure their sizes List<String> testData = new ArrayList<>(); for (int i = 0; i < 100; i++) { testData.add("test data " + i); } long listSize = MemoryUtil.sizeOf(testData);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
) : EventListener() { val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque() private val forbiddenLocks = mutableListOf<Any>() /** The timestamp of the last taken event, used to measure elapsed time between events. */ private var lastTimestampNs: Long? = null /** Confirm that the thread does not hold a lock on `lock` during the callback. */ fun forbidLock(lock: Any) { forbiddenLocks.add(lock)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
if (contentType != null) { sink .writeUtf8("Content-Type: ") .writeUtf8(contentType.toString()) .write(CRLF) } // We can't measure the body's size without the sizes of its components. val contentLength = body.contentLength() if (contentLength == -1L && countBytes) { byteCountBuffer!!.clear() return -1L }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* @param offset the offset into the array at which to start * @return the value found in the array in the form of a long */ static int load32(byte[] source, int offset) { // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also. return (source[offset] & 0xFF) | ((source[offset + 1] & 0xFF) << 8) | ((source[offset + 2] & 0xFF) << 16)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure single channel throughput long singleChannelTime = measureReadTime(file, false); // Measure multi-channel throughput long multiChannelTime = measureReadTime(file, true); // Multi-channel should be faster
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure RDMA transfer performance byte[] data = new byte[10485760]; // 10MB Arrays.fill(data, (byte)0x42); long start = System.currentTimeMillis(); try (OutputStream os = file.getOutputStream()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0)