Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,496 for 1Final (0.09 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

    public class CancelCall {
      private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        final long startNanos = System.nanoTime();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

      @Param({"0.0", "0.1", "0.7", "1.0"})
      double singletonSetProportion;
    
      @Param({"0.2", "0.8"})
      double hitRate;
    
      static final Object PRESENT = new Object();
      static final Object ABSENT = new Object();
    
      private final ImmutableSet<?>[] sets = new ImmutableSet<?>[0x1000];
    
      private final Object[] queries = new Object[0x1000];
    
      @BeforeExperiment
      void setUp() {
        if (emptySetProportion + singletonSetProportion > 1.01) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

                    final Map<String, Object> bindingMap = new HashMap<>(paramMap);
                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
                    final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

    import com.google.common.cache.CacheBuilder;
    
    public class FessConfigImpl extends FessConfig.SimpleImpl {
    
        private static final long serialVersionUID = 1L;
    
        @Override
        protected ObjectiveProperties newObjectiveProperties(final String resourcePath, final PropertyFilter propertyFilter) {
            return new ObjectiveProperties(resourcePath) { // for e.g. checking existence and filtering value
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

    public class XPathAPI {
    
        private final XPath xPath;
    
        public XPathAPI() {
            xPath = createXPath(f -> {});
        }
    
        public XPath createXPath(final Consumer<XPathFactory> builder) {
            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

        private static final Logger logger = LogManager.getLogger(GroovyEngine.class);
    
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            final Map<String, Object> bindingMap = new HashMap<>(paramMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
            final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

            childUrlSet.add(url);
        }
    
        public void addAllUrl(final Collection<RequestData> c) {
            if (c != null) {
                childUrlSet.addAll(c);
            }
        }
    
        public void removeUrl(final RequestData url) {
            childUrlSet.remove(url);
        }
    
        public String getTransformerName() {
            return transformerName;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenPrefixFilterFactory.java

        private final String[] stopwords;
    
        private final boolean ignoreCase;
    
        public StopTokenPrefixFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name,
                final Settings settings) {
            super(indexSettings, name, settings);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/ContentNotFoundException.java

     */
    package org.codelibs.fess.exception;
    
    public class ContentNotFoundException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        public ContentNotFoundException(final String parentUrl, final String url) {
            super("Not Found: " + url + " Parent: " + parentUrl, false, false);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 947 bytes
    - Viewed (0)
Back to top