Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3571 - 3580 of 5,478 for newA (0.02 sec)

  1. src/bytes/bytes_test.go

    			old = []byte(tt.old)
    			new = []byte(tt.new)
    		)
    		if !asan.Enabled {
    			allocs := testing.AllocsPerRun(10, func() { Replace(in, old, new, tt.n) })
    			if allocs > 1 {
    				t.Errorf("Replace(%q, %q, %q, %d) allocates %.2f objects", tt.in, tt.old, tt.new, tt.n, allocs)
    			}
    		}
    		in = append(in, "<spare>"...)
    		in = in[:len(tt.in)]
    		out := Replace(in, old, new, tt.n)
    		if s := string(out); s != tt.out {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsFavoriteLogCQ.java

            FavoriteLogCQ cq = new FavoriteLogCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    FavoriteLogCQ cf = new FavoriteLogCQ();
                    cqLambda.callback(cf);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     * It provides methods to get and set the name and value of the header,
     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocList.java

        private long contentSize = 0;
    
        /** Total processing time for all documents in this list */
        private long processingTime = 0;
    
        /**
         * Default constructor for DocList.
         * Creates a new empty document list with zero content size and processing time.
         */
        public DocList() {
            super();
        }
    
        /**
         * Clears all documents from the list and resets metrics.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashMap.java

     */
    package org.codelibs.core.collection;
    
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * {@link HashMap} with an upper limit on the number of entries. When a new entry is added, the oldest entry is discarded using LRU if the limit is exceeded.
     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            return switch (o) {
            case null -> null;
            case Long l -> l;
            case Number n -> n.longValue();
            case String s -> toLong(s);
            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
        private static Long toLong(final String s) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
        mapsImpl = mapEnums.get(implName);
        elems = new CollectionBenchmarkSampleData(elements);
        contents = new HashMap<>();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
        }
        map = mapsImpl.create(contents);
      }
    
      @Benchmark
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigDecimalMath.java

        return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode);
      }
    
      private static final class BigDecimalToDoubleRounder extends ToDoubleRounder<BigDecimal> {
        static final BigDecimalToDoubleRounder INSTANCE = new BigDecimalToDoubleRounder();
    
        private BigDecimalToDoubleRounder() {}
    
        @Override
        double roundToDoubleArbitrarily(BigDecimal bigDecimal) {
          return bigDecimal.doubleValue();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MultilineMessageHelperTest {
    
        @Test
        void testBuilderCommon() {
            List<String> msgs = new ArrayList<>();
            msgs.add("*****************************************************************");
            msgs.add("* Your build is requesting parallel execution, but project      *");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        //                                            Entry Page
        //                                            ----------
        /**
         * Displays the form for creating a new synonym item.
         *
         * @param dictId the dictionary ID
         * @return HTML response for the create new synonym form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final String dictId) {
            saveToken();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
Back to top