Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,281 for main2 (0.06 sec)

  1. cni/cmd/istio-cni/main.go

    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. test/typeparam/issue50561.dir/main.go

    // Copyright 2022 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 (
    	"./diameter"
    )
    
    func main() {
    	diameter.NewInboundHandler("hello", "world", "hi")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 268 bytes
    - Viewed (0)
  3. src/runtime/testdata/testwintls/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 "C"
    
    //export GoFunc
    func GoFunc() int { return 42 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 15:37:00 UTC 2023
    - 250 bytes
    - Viewed (0)
  4. test/fixedbugs/issue54912.dir/main.go

    // Copyright 2022 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 "test/a"
    
    func main() {
    	a.F(new(int), 0)()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 17:26:34 UTC 2022
    - 227 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // Copyright 2012 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 (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. test/typeparam/issue51219.dir/main.go

    // Copyright 2022 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() {
    	var x a.I[a.JsonRaw]
    
    	fmt.Printf("%v\n", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 262 bytes
    - Viewed (0)
  7. test/typeparam/issue50486.dir/main.go

    package main
    
    import fp "./goerror_fp"
    
    func Fold[A, B any](zero B, a A, f func(B, A) B) B {
    	return f(zero, a)
    }
    
    func main() {
    
    	var v any = "hello"
    	Fold(fp.Seq[any]{}, v, func(seq fp.Seq[any], v any) fp.Seq[any] {
    		return seq.Append(v)
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 248 bytes
    - Viewed (0)
  8. test/closure5.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check correctness of various closure corner cases
    // that are expected to be inlined
    package main
    
    import "./a"
    
    func main() {
    	if !a.G()()() {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 328 bytes
    - Viewed (0)
  9. test/fixedbugs/issue52856.dir/main.go

    // Copyright 2022 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"
    
    func F() any {
    	return struct{ int }{0}
    }
    
    func main() {
    	_, ok1 := F().(struct{ int })
    	_, ok2 := a.F().(struct{ int })
    	if !ok1 || ok2 {
    		panic(0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:26:59 UTC 2022
    - 343 bytes
    - Viewed (0)
  10. test/fixedbugs/issue32901.dir/main.go

    // Copyright 2019 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 (
    	"reflect"
    
    	"./c"
    )
    
    func main() {
    	x := c.F()
    	p := c.P()
    	t := reflect.PointerTo(reflect.TypeOf(x))
    	tp := reflect.TypeOf(p)
    	if t != tp {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 26 14:24:17 UTC 2021
    - 346 bytes
    - Viewed (0)
Back to top