Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for newFactory (0.06 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                br.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
                try (BufferedReader br2 = reset(readerSupplier, br)) {
                    xsr = XMLInputFactory.newFactory().createXMLStreamReader(br2);
                    return build(source, nsUri, xsr);
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = XMLInputFactory.newFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

            }
            return topDocs;
        }
    
        private Query scriptScoreQuery(ScoreScript.Factory factory) {
            ScoreScript.LeafFactory leafFactory = factory.newFactory(Map.of(), lookup);
            return new ScriptScoreQuery(new MatchAllDocsQuery(), null, leafFactory, lookup, null, "test", 0, Version.CURRENT);
        }
    
        private ScoreScript.Factory bareMetalScript() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top