Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for discount (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        @Test
        public void test_evaluate_withSpecialCharacters() {
            String template = "Price: $${price} (with ${discount}% off)";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("price", "100");
            paramMap.put("discount", "20");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Price: $100 (with 20% off)", result);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheStats stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(0);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        Object key = new Object();
        assertThat(cache.get(key)).isSameInstanceAs(key);
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(cache.stats().hitCount()).isEqualTo(0);
        assertThat(cache.stats().missCount()).isEqualTo(0);
    
        Object one = new Object();
        cache.getUnchecked(one);
        assertThat(cache.stats().hitCount()).isEqualTo(0);
        assertThat(cache.stats().missCount()).isEqualTo(1);
    
        cache.getUnchecked(one);
        assertThat(cache.stats().hitCount()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(cache.stats().hitCount()).isEqualTo(0);
        assertThat(cache.stats().missCount()).isEqualTo(0);
    
        Object one = new Object();
        cache.getUnchecked(one);
        assertThat(cache.stats().hitCount()).isEqualTo(0);
        assertThat(cache.stats().missCount()).isEqualTo(1);
    
        cache.getUnchecked(one);
        assertThat(cache.stats().hitCount()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/AbstractCache.java

        }
    
        /** Increments all counters by the values in {@code other}. */
        public void incrementBy(StatsCounter other) {
          CacheStats otherStats = other.snapshot();
          hitCount.add(otherStats.hitCount());
          missCount.add(otherStats.missCount());
          loadSuccessCount.add(otherStats.loadSuccessCount());
          loadExceptionCount.add(otherStats.loadExceptionCount());
          totalLoadTime.add(otherStats.totalLoadTime());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        /** Sort list. */
        protected List<SortBuilder<?>> sortList = new ArrayList<>();
    
        /** Scroll ID. */
        protected String scrollId = null;
    
        /** Document count. */
        protected final AtomicLong docCount = new AtomicLong(0);
        /** Total document number. */
        protected final long totalDocNum;
    
        /**
         * Constructor for ESSourceReader.
         * @param client The OpenSearch client.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue());
          }
          assertThat(cache.stats().missCount()).isEqualTo(WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
      public void testPut_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(0)
        assertThat(get(server.url("/")).body.string()).isEqualTo("B")
        assertThat(get(server.url("/")).body.string()).isEqualTo("C")
        assertThat(cache.requestCount()).isEqualTo(3)
        assertThat(cache.networkCount()).isEqualTo(3)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableMap.java

        // have this Entry. The value in the map becomes false when this first entry has been copied, so
        // we know not to copy the remaining ones.
        IdentityHashMap<Entry<K, V>, Boolean> duplicates = null;
        int dupCount = 0;
        for (int entryIndex = n - 1; entryIndex >= 0; entryIndex--) {
          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[entryIndex]);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top