- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,282 for main2 (0.05 sec)
-
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) -
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) -
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) -
main.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 973 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/groovy/app/src/main/java/org/sample/myapp/Main.java
package org.sample.myapp; import org.sample.numberutils.Numbers; import org.sample.stringutils.Strings; public class Main { public static void main(String... args) { new Main().printAnswer(); } public void printAnswer() { String output = Strings.concat(" The answer is ", Numbers.add(19, 23)); System.out.println(output); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 373 bytes - Viewed (0) -
test/typeparam/issue48454.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 "./b" func main() { var _ b.Session
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 221 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue52937/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 func main() {} func F[T any]() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 234 bytes - Viewed (0) -
test/typeparam/recoverimp.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" func main() { a.F(5.3) a.F("hello")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 228 bytes - Viewed (0) -
test/fixedbugs/issue5910.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 236 bytes - Viewed (0) -
test/typeparam/issue49893.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 266 bytes - Viewed (0)