Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for fare (0.32 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    	A64 int64 = 1
    
    	AIsLowerA = a // previously declared
    )
    
    const (
    	ConversionConst = MyInt(5)
    )
    
    // Variables from function calls.
    var (
    	V = ptwo.F()
    	// Deprecated: use WError.
    	VError = BarE()
    	V1     = Bar1(1, 2, 3)
    	V2     = ptwo.G()
    )
    
    // Variables with conversions:
    var (
    	StrConv  = string("foo")
    	ByteConv = []byte("foo")
    )
    
    var ChecksumError = ptwo.NewError("gzip checksum error")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    	// bail here if no Files expected to be tested
    	// (there may actually be files in the zip, but we don't care)
    	if zt.File == nil {
    		return
    	}
    
    	if z.Comment != zt.Comment {
    		t.Errorf("comment=%q, want %q", z.Comment, zt.Comment)
    	}
    	if len(z.File) != len(zt.File) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    				t.Fatalf("wrong panic: %v", err)
    			}
    		default:
    			t.Fatalf("unexpected panic value: %T(%v)", err, err)
    		}
    	}()
    	b.Read(make([]byte, 100))
    }
    
    var errFake = errors.New("fake error")
    
    type errorThenGoodReader struct {
    	didErr bool
    	nread  int
    }
    
    func (r *errorThenGoodReader) Read(p []byte) (int, error) {
    	r.nread++
    	if !r.didErr {
    		r.didErr = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    to operands that are <i>comparable</i>.
    The ordering operators <code>&lt;</code>, <code>&lt;=</code>, <code>&gt;</code>, and <code>&gt;=</code>
    apply to operands that are <i>ordered</i>.
    These terms and the result of the comparisons are defined as follows:
    </p>
    
    <ul>
    	<li>
    	Boolean values are comparable.
    	Two boolean values are equal if they are either both
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    	</li>
    
    	<li>
    	Array types are comparable if their array element types are comparable.
    	Two array values are equal if their corresponding element values are equal.
    	The elements are compared in ascending index order, and comparison stops
    	as soon as two element values differ (or all elements have been compared).
    	</li>
    
    	<li>
    	Type parameters are comparable if they are strictly comparable (see below).
    	</li>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. doc/asm.html

    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    precedence, not the C-like precedence of the original.
    Thus <code>3&amp;1&lt;&lt;2</code> is 4, not 0—it parses as <code>(3&amp;1)&lt;&lt;2</code>
    not <code>3&amp;(1&lt;&lt;2)</code>.
    Also, constants are always evaluated as 64-bit unsigned integers.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. misc/go_android_exec/exitcode_test.go

    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    		_, err := f.Write([]byte{text[i]})
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top