Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,223 for main2 (0.04 sec)

  1. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/unreachable"
    	"golang.org/x/tools/go/analysis/passes/unsafeptr"
    	"golang.org/x/tools/go/analysis/passes/unusedresult"
    )
    
    func main() {
    	telemetry.Start()
    	objabi.AddVersionFlag()
    
    	telemetry.Inc("vet/invocations")
    	unitchecker.Main(
    		appends.Analyzer,
    		asmdecl.Analyzer,
    		assign.Analyzer,
    		atomic.Analyzer,
    		bools.Analyzer,
    		buildtag.Analyzer,
    		cgocall.Analyzer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/trace/testdata/testprog/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"syscall"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatal(err)
    	}
    
    	// checkExecutionTimes relies on this.
    	var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    import org.gradle.tooling.BuildLauncher;
    import org.gradle.tooling.GradleConnector;
    import org.gradle.tooling.ProjectConnection;
    
    import java.io.File;
    
    public class Main {
        public static void main(String[] args) {
            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. operator/cmd/operator/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 (
    	"os"
    
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := getRootCmd(os.Args[1:])
    
    	if err := rootCmd.Execute(); err != nil {
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 02 03:03:35 UTC 2024
    - 785 bytes
    - Viewed (0)
  5. src/internal/trace/testdata/cmd/gotraceraw/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/raw"
    	"internal/trace/version"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/snippets/toolingApi/eclipse/groovy/src/main/java/org/gradle/sample/Main.java

    import org.gradle.tooling.*;
    import org.gradle.tooling.model.*;
    import org.gradle.tooling.model.eclipse.*;
    
    import java.io.File;
    import java.lang.String;
    import java.lang.System;
    
    public class Main {
        public static void main(String[] args) {
            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/src/main/c/main.c

    #include "hello.h"
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/flavors/groovy/src/main/cpp/main.cpp

    #include "hello.h"
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
Back to top