Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,301 for main2 (0.04 sec)

  1. 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)
  2. src/cmd/cgo/internal/testshared/testdata/gcdata/main/main.go

    // This test run under GODEBUG=clobberfree=1. The check
    // *x[i] == 12345 depends on this debug mode to clobber
    // the value if the object is freed prematurely.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"testshared/gcdata/p"
    )
    
    var x p.T
    
    func main() {
    	for i := range x {
    		x[i] = new(int)
    		*x[i] = 12345
    	}
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	for i := range x {
    		if *x[i] != 12345 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 763 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/test/fakes/gce_metadata_server/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 (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"github.com/gorilla/mux"
    )
    
    const (
    	projID     = "test-project"
    	projNumber = "123456789"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/testdata/testwinlibsignal/main.c

    {
        switch (fdwCtrlType)
        {
        case CTRL_BREAK_EVENT:
            SetEvent(waitForCtrlBreakEvent);
            return TRUE;
        default:
            return FALSE;
        }
    }
    
    int main(void)
    {
        waitForCtrlBreakEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
        if (!waitForCtrlBreakEvent) {
            fprintf(stderr, "ERROR: Could not create event\n");
            return 1;
        }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 13:21:00 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue20014.dir/main.go

    // Copyright 2021 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 (
    	"sort"
    	"strings"
    
    	"issue20014.dir/a"
    )
    
    func main() {
    	samePackage()
    	crossPackage()
    
    	// Print fields registered with field tracking.
    	var fields []string
    	for _, line := range strings.Split(fieldTrackInfo, "\n") {
    		if line != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 19:48:35 UTC 2022
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. test/typeparam/mincheck.dir/main.go

    // Copyright 2021 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 (
    	"./a"
    	"fmt"
    )
    
    func main() {
    	const want = 2
    	if got := a.Min[int](2, 3); got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	if got := a.Min(2, 3); got != want {
    		panic(fmt.Sprintf("want %d, got %d", want, got))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 04 19:07:27 UTC 2023
    - 925 bytes
    - Viewed (0)
Back to top