Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 188 for measure (0.05 seconds)

  1. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        @Test
        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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            String testField = "field999";
    
            // Warm up
            for (int i = 0; i < 100; i++) {
                queryCommand.isSearchField(testField);
            }
    
            // Measure Set-based lookup
            long startTime = System.nanoTime();
            for (int i = 0; i < 10000; i++) {
                queryCommand.isSearchField(testField);
            }
            long duration = System.nanoTime() - startTime;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            String testField = "field999";
    
            // Warm up
            for (int i = 0; i < 100; i++) {
                queryFieldConfig.isSortField(testField);
            }
    
            // Measure Set-based lookup (current implementation)
            long setStartTime = System.nanoTime();
            for (int i = 0; i < 10000; i++) {
                queryFieldConfig.isSortField(testField);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            // Data: bitSize / 8 bytes
            long predictedSize = bf.bitSize() / 8 + 6;
            assertThat(bf.serializedSize()).isEqualTo(predictedSize);
    
            // Serialize and measure actual size
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            bf.writeTo(out);
            int actualSize = out.size();
            assertThat(bf.serializedSize()).isEqualTo(actualSize);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
     * To measure cache effectiveness, this class tracks three statistics:
     *
     *  * **[Request Count:][requestCount]** the number of HTTP requests issued since this cache was
     *    created.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/concepts.md

    You could put an **arbitrary number** to target, for example, something **between 50% to 90%** of resource utilization. The point is that those are probably the main things you will want to measure and use to tweak your deployments.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 18.5K bytes
    - Click Count (1)
  9. CHANGELOG/CHANGELOG-1.36.md

    - Enable the feature gate `RestartAllContainersOnContainerExits` by default. The RestartAllContainersOnContainerExits feature is promoted to beta. ([#136681](https://github.com/kubernetes/kubernetes/pull/136681), [@yuanwang04](https://github.com/yuanwang04)) [SIG Node and Testing]
    - Enables Prometheus native histogram support in apiserver when feature gate is enabled.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    ### Bug or Regression
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
Back to Top