Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for setPrefix (0.23 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                plugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                metadata.setPlugins(new ArrayList<>(mergedPlugins.values()));
            }
    
            // just carry-on as-is
            if (recessive.getVersioning() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. lib/time/mkzip.go

    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/buildid/buildid.go

    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	counter.Open()
    	flag.Usage = usage
    	flag.Parse()
    	counter.Inc("buildid/invocations")
    	counter.CountFlags("buildid/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

                Plugin plugin = i.next();
                if (plugin.getPrefix().equals(goalPrefix)) {
                    found = true;
                }
            }
            if (!found) {
                Plugin plugin = new Plugin();
                plugin.setPrefix(goalPrefix);
                plugin.setArtifactId(artifactId);
                plugin.setName(name);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/addr2line/main.go

    	fmt.Fprintf(w, "\tfunction name\n")
    	fmt.Fprintf(w, "\tfile:line\n")
    }
    
    func usage() {
    	printUsage(os.Stderr)
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("addr2line: ")
    	counter.Open()
    
    	// pprof expects this behavior when checking for addr2line
    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    		printUsage(os.Stdout)
    		os.Exit(0)
    	}
    
    	flag.Usage = usage
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry/counter"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    	counter.Open()
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    	counter.Inc("asm/invocations")
    	counter.CountFlags("asm/flag:", *flag.CommandLine)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    mappedPlugin.setArtifactId( plugin.getArtifactId() );
    
                    mappedPlugin.setPrefix( plugin.getPrefix() );
    
                    mappedPlugin.setName( plugin.getName() );
    
                    addPlugin( mappedPlugin );
    
                    changed = true;
                }
            }
    
            Versioning versioning = sourceMetadata.getVersioning();
            if ( versioning != null )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    // lock is a file lock to serialize iOS runs. It is global to avoid the
    // garbage collector finalizing it, closing the file and releasing the
    // lock prematurely.
    var lock *os.File
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("go_ios_exec: ")
    	if debug {
    		log.Println(strings.Join(os.Args, " "))
    	}
    	if len(os.Args) < 2 {
    		log.Fatal("usage: go_ios_exec a.out")
    	}
    
    	// For compatibility with the old builders, use a fallback bundle ID
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
                context.addHighlightedQuery(text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
            assertEquals("", myConfig.getPrefix());
            assertEquals("myConfig", myConfig.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top