- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,860 for printsp (0.12 sec)
-
src/path/filepath/example_unix_test.go
fmt.Println(filepath.Base("/foo/bar/baz.js")) fmt.Println(filepath.Base("/foo/bar/baz")) fmt.Println(filepath.Base("/foo/bar/baz/")) fmt.Println(filepath.Base("dev.txt")) fmt.Println(filepath.Base("../todo.txt")) fmt.Println(filepath.Base("..")) fmt.Println(filepath.Base(".")) fmt.Println(filepath.Base("/")) fmt.Println(filepath.Base("")) // Output: // On Unix: // baz.js // baz // baz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.4K bytes - Viewed (0) -
test/method.go
println("i.val:", i.val()) panic("fail") } if I.val(i) != 3 { println("I.val(i):", I.val(i)) panic("fail") } if (*I).val(&i) != 3 { println("(*I).val(&i):", (*I).val(&i)) panic("fail") } if pi.val() != 4 { println("pi.val:", pi.val()) panic("fail") } if (*I1).val(pi) != 4 { println("(*I1).val(pi):", (*I1).val(pi)) panic("fail") } if t.val() != 7 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 11 23:20:52 UTC 2013 - 5.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/toolingApi/idea/groovy/src/main/java/org/gradle/sample/Main.java
System.out.println("***"); System.out.println("Project details: "); System.out.println(project); System.out.println("***"); System.out.println("Project modules: "); for(IdeaModule module: project.getModules()) { System.out.println(" " + module); System.out.println(" module details:");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.8K bytes - Viewed (0) -
src/strings/example_test.go
fmt.Println(strings.Compare("a", "b")) fmt.Println(strings.Compare("a", "a")) fmt.Println(strings.Compare("b", "a")) // Output: // -1 // 0 // 1 } func ExampleContains() { fmt.Println(strings.Contains("seafood", "foo")) fmt.Println(strings.Contains("seafood", "bar")) fmt.Println(strings.Contains("seafood", "")) fmt.Println(strings.Contains("", "")) // Output: // true // false // true // true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
test/ddd.go
println("sumD 16", x) panic("fail") } if x := sumE(4, 5, 8); x != 17 { println("sumE 17", x) panic("fail") } if x := sumF(4, 5, 9)(); x != 18 { println("sumF 18", x) panic("fail") } if x := sum2(1, 2, 3); x != 2*6 { println("sum 6", x) panic("fail") } if x := sum2(); x != 2*0 { println("sum 0", x) panic("fail") } if x := sum2(10); x != 2*10 { println("sum 10", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.2K bytes - Viewed (0) -
src/path/example_test.go
// Clean("") = "." } func ExampleDir() { fmt.Println(path.Dir("/a/b/c")) fmt.Println(path.Dir("a/b/c")) fmt.Println(path.Dir("/a/")) fmt.Println(path.Dir("a/")) fmt.Println(path.Dir("/")) fmt.Println(path.Dir("")) // Output: // /a/b // a/b // /a // a // / // . } func ExampleExt() { fmt.Println(path.Ext("/a/b/c/bar.css")) fmt.Println(path.Ext("/")) fmt.Println(path.Ext("")) // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 19 00:10:22 UTC 2020 - 2.2K bytes - Viewed (0) -
test/range.go
println("range called makearray", nmake, "times") panic("fail") } if s != 15 { println("wrong sum ranging over makearray", s) panic("fail") } } func testarray1() { s := 0 nmake = 0 for i := range makearray() { s += i } if nmake != 1 { println("range called makearray", nmake, "times") panic("fail") } if s != 10 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 05:50:54 UTC 2017 - 8.1K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
) // Keep these in sync with go/format/format.go. const ( tabWidth = 8 printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers // printerNormalizeNumbers means to canonicalize number literal prefixes // and exponents while printing. See https://golang.org/doc/go1.13#gofmt. // // This value is defined in go/printer specifically for go/format and cmd/gofmt. printerNormalizeNumbers = 1 << 30 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/unicode/utf8/example_test.go
fmt.Println("runes =", utf8.RuneCountInString(str)) // Output: // bytes = 13 // runes = 9 } func ExampleRuneLen() { fmt.Println(utf8.RuneLen('a')) fmt.Println(utf8.RuneLen('界')) // Output: // 1 // 3 } func ExampleRuneStart() { buf := []byte("a界") fmt.Println(utf8.RuneStart(buf[0])) fmt.Println(utf8.RuneStart(buf[1])) fmt.Println(utf8.RuneStart(buf[2])) // Output: // true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 21:29:18 UTC 2021 - 3.6K bytes - Viewed (0)