Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,774 for rain (0.4 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package main
    
    import (
    	"fmt"
    
    	webhooktesting "k8s.io/apiserver/pkg/admission/plugin/webhook/testing"
    )
    
    func main() {
    	server := webhooktesting.NewTestServer(nil)
    	server.StartTLS()
    	fmt.Println("serving on", server.URL)
    	select {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 25 00:00:45 UTC 2019
    - 807 bytes
    - Viewed (0)
  2. pilot/cmd/pilot-discovery/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"os"
    
    	"istio.io/istio/pilot/cmd/pilot-discovery/app"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := app.NewRootCommand()
    	if err := rootCmd.Execute(); err != nil {
    		log.Error(err)
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 846 bytes
    - Viewed (0)
  3. test/typeparam/absdiffimp2.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() {
    	if got, want := a.OrderedAbsDifference(1.0, -2.0), 3.0; got != want {
    		panic(fmt.Sprintf("got = %v, want = %v", got, want))
    	}
    	if got, want := a.OrderedAbsDifference(-1.0, 2.0), 3.0; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 879 bytes
    - Viewed (0)
  4. test/fixedbugs/issue29612.dir/main.go

    // Do not panic on conversion to anonymous interface, which
    // is similar-looking interface types in different packages.
    
    package main
    
    import (
    	"fmt"
    
    	ssa1 "issue29612.dir/p1/ssa"
    	ssa2 "issue29612.dir/p2/ssa"
    )
    
    func main() {
    	v1 := &ssa1.T{}
    	_ = v1
    
    	v2 := &ssa2.T{}
    	ssa2.Works(v2)
    	ssa2.Panics(v2) // This call must not panic
    
    	swt(v1, 1)
    	swt(v2, 2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 14:19:25 UTC 2020
    - 845 bytes
    - Viewed (0)
  5. test/typeparam/minimp.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: Thu Mar 24 02:14:15 UTC 2022
    - 855 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    func F() int { return int(C.F()) }
    
    func main() {
    	if x := int(C.F()); x != 1 {
    		fatal("x = %d, want 1", x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 975 bytes
    - Viewed (0)
  7. src/cmd/internal/metadata/main.go

    // toolchain.
    
    // This program is only used by cmd/dist. Add an "ignore" build tag so it
    // is not installed. cmd/dist does "go run main.go" directly.
    
    //go:build ignore
    
    package main
    
    import (
    	"cmd/internal/osinfo"
    	"fmt"
    	"internal/sysinfo"
    	"runtime"
    )
    
    func main() {
    	fmt.Printf("# GOARCH: %s\n", runtime.GOARCH)
    	fmt.Printf("# CPU: %s\n", sysinfo.CPUName())
    
    	fmt.Printf("# GOOS: %s\n", runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 21:40:36 UTC 2023
    - 876 bytes
    - Viewed (0)
  8. test/fixedbugs/issue13777.dir/main.go

    // build
    
    package main
    
    import (
    	x "./burnin"
    )
    
    func main() {
    	x.NewSomething()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 05 15:42:12 UTC 2016
    - 84 bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/testdata/issue25459/main/main.go

    package main
    
    import "cmd/link/internal/ld/testdata/issue25459/a"
    
    var Glob int
    
    func main() {
    	a.Another()
    	Glob += a.ConstIf() + a.CallConstIf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:11 UTC 2019
    - 149 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/Main.java

    import org.apache.commons.cli.DefaultParser;
    import org.apache.commons.cli.Options;
    import org.apache.commons.lang3.StringUtils;
    import org.gradle.sample.app.data.Message;
    
    public class Main {
    
        public static void main(String[] args) throws Exception {
            Options options = new Options();
            options.addOption("json", true, "data to parse");
            options.addOption("debug", false, "prints module infos");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top