<commit_before>// Copyright (c) 2013, <NAME>
// All rights reserved.

// Commandline flags for go-ld driver.
// This is a very simple linker and does not support many options.

package main

import (
	"flag"
	"fmt"
)

// Filename for the output.
var Outfile string
func init() {
	const (
		defaultOutfile = "a.out"
		usage = "The output filename"
	)
	flag.StringVar(&Outfile, "output", defaultOutfile, usage)
	flag.StringVar(&Outfile, "o", defaultOutfile, usage + " (shorthand)")
}

// Search paths for "-l" libraries, specified by -L <path1> -L <path2>.
// Unfortunately, the go flag library doesn't seem to support the space-less
// variant of flags "-L<path1>".
type search_paths []string
func (p *search_paths) String() string {
	return fmt.Sprint(*p)
}
func (p *search_paths) Set(value string) error {
	*p = append(*p, value)
	return nil<commit_msg>Add comment<commit_after>// Copyright (c) 2013, <NAME>
// All rights reserved.

// Commandline flags for go-ld driver.
// This is a very simple linker and does not support many options.
// TODO(jvoung): replace this. Package "flag" doesn't handle
// positional arguments before the flags, and we need to know
// the order in which the flags are given too...

package main

import (
	"flag"
	"fmt"
)

// Filename for the output.
var Outfile string
func init() {
	const (
		defaultOutfile = "a.out"
		usage = "The output filename"
	)
	flag.StringVar(&Outfile, "output", defaultOutfile, usage)
	flag.StringVar(&Outfile, "o", defaultOutfile, usage + " (shorthand)")
}

// Search paths for "-l" libraries, specified by -L <path1> -L <path2>.
// Unfortunately, the go flag library doesn't seem to support the space-less
// variant of flags "-L<path1>".
type search_paths []string
func (p *search_paths) String() string {
	return fmt.Sprint(*p)
}
func (p *search_paths) Set(value string) error {
	*p = append(*p, value)
	return nil
{'fraction_non_alphanumeric': 0.13258785942492013, 'fraction_numerical': 0.007454739084132056, 'mean_word_length': 3.8805194805194807, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2917645', 'n_tokens_mistral': 624, 'n_tokens_neox': 606, 'n_words': 230}