Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resolved (0.17 sec)

  1. src/cmd/cgo/internal/test/callback.go

    // Copyright 2011 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 cgotest
    
    /*
    void callback(void *f);
    void callGoFoo(void);
    void callGoStackCheck(void);
    void callPanic(void);
    int callGoReturnVal(void);
    int returnAfterGrow(void);
    int returnAfterGrowFromGo(void);
    void callGoWithString(void);
    */
    import "C"
    
    import (
    	"path"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    is not enclosed in parentheses, square brackets, or curly braces.
    In this rare case, the opening brace of the literal is erroneously parsed
    as the one introducing the block of statements. To resolve the ambiguity,
    the composite literal must appear within parentheses.
    </p>
    
    <pre>
    if x == (T{a,b,c}[i]) { … }
    if (x == T{a,b,c}[i]) { … }
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top