Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,251 for main2 (0.19 sec)

  1. src/internal/trace/testdata/cmd/gotracevalidate/main.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    
    	"internal/trace"
    	"internal/trace/testtrace"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 984 bytes
    - Viewed (0)
  2. src/cmd/preprofile/main.go

    // itself and is thus wasteful to perform in every invocation of the compiler.
    //
    // Usage:
    //
    //	go tool preprofile [-v] [-o output] -i input
    //
    //
    
    package main
    
    import (
    	"bufio"
    	"cmd/internal/objabi"
    	"cmd/internal/pgo"
    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    )
    
    func usage() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    		return "false"
    	case ternaryFlagTrue:
    		return "true"
    	}
    	return "unset"
    }
    
    func (t *ternaryFlag) IsBoolFlag() bool { return true } // parse like a boolean flag
    
    // Main is the main entry point for the linker code.
    func Main(arch *sys.Arch, theArch Arch) {
    	log.SetPrefix("link: ")
    	log.SetFlags(0)
    	telemetry.Start()
    	telemetry.Inc("link/invocations")
    
    	thearch = theArch
    	ctxt := linknew(arch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. samples/jwt-server/src/main.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"net"
    	"net/http"
    	"os"
    	"os/signal"
    	"sync"
    	"syscall"
    	"time"
    )
    
    const (
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/fix/main.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"go/version"
    	"internal/diff"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"cmd/internal/telemetry"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/trace/main.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"cmd/internal/browser"
    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"internal/trace"
    	"internal/trace/raw"
    	"internal/trace/traceviewer"
    	"io"
    	"log"
    	"net"
    	"net/http"
    	_ "net/http/pprof" // Required to use pprof
    	"os"
    	"sync/atomic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/test2json/main.go

    // as a sequence of events with Test set to the benchmark name, terminated
    // by a final event with Action == "bench" or "fail".
    // Benchmarks have no events with Action == "pause".
    package main
    
    import (
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"os/exec"
    	"os/signal"
    
    	"cmd/internal/telemetry"
    	"cmd/internal/test2json"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import okhttp3.curl.internal.commonRun
    import okhttp3.curl.logging.LoggingUtil
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") {
      val method: String? by option("-X", "--request", help = "Specify request command to use")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. docs/debugging/pprofgoparser/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top