- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for Ball (0.13 sec)
-
src/bufio/example_test.go
fmt.Println(scanner.Text()) // Println will add back the final '\n' } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
src/cmd/asm/main.go
// Copyright 2014 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 ( "bufio" "flag" "fmt" "internal/buildcfg" "log" "os" "cmd/asm/internal/arch" "cmd/asm/internal/asm" "cmd/asm/internal/flags" "cmd/asm/internal/lex" "cmd/internal/bio" "cmd/internal/obj" "cmd/internal/objabi" )
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 2.7K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p2/p2.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 p2 type Twoer interface { // Deprecated: No good. PackageTwoMeth() } // Deprecated: No good. func F() string {} func G() Twoer {}
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 337 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/p3.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 p3 type ThirdBase struct{} func (tb *ThirdBase) GoodPlayer() (i, j, k int)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Nov 09 14:05:53 GMT 2022 - 310 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue21897b.go
// Copyright 2017 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. //go:build !darwin || !cgo || internal package cgotest import "testing" func test21897(t *testing.T) { t.Skip("test runs only on darwin+cgo")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 308 bytes - Viewed (0) -
src/cmd/cgo/internal/test/gcc68255.go
// Copyright 2015 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. //go:build cgo package cgotest import ( "testing" "cmd/cgo/internal/test/gcc68255" ) func testGCC68255(t *testing.T) { if !gcc68255.F() { t.Error("C global variable was not initialized") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 361 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26430.go
// Copyright 2018 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. //go:build cgo // Issue 26430: incomplete typedef leads to inconsistent typedefs error. // No runtime test; just make sure it compiles. package cgotest
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 359 bytes - Viewed (1) -
src/cmd/cgo/internal/test/gcc68255/a.go
// Copyright 2015 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. // Test that it's OK to have C code that does nothing other than // initialize a global variable. This used to fail with gccgo. package gcc68255 /* #include "c.h" */ import "C" func F() bool { return C.v != nil
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 378 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266.go
// Copyright 2017 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. // Issue 20266: use -I with a relative path. package cgotest /* #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266 #include "issue20266.h" */ import "C" import "testing" func test20266(t *testing.T) { if got, want := C.issue20266, 20266; got != want {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 463 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161_darwin_test.go
// Copyright 2018 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. //go:build cgo package cgotest import ( "testing" "cmd/cgo/internal/test/issue24161arg" "cmd/cgo/internal/test/issue24161e0" "cmd/cgo/internal/test/issue24161e1" "cmd/cgo/internal/test/issue24161e2" "cmd/cgo/internal/test/issue24161res" )
Go - Registered: Tue Apr 09 11:13:10 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 716 bytes - Viewed (0)