Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for proident (0.15 sec)

  1. src/cmd/cgo/godefs.go

    		if new := override[typ]; new != "" {
    			if id, ok := def.Go.(*ast.Ident); ok {
    				override[id.Name] = new
    			}
    		}
    	}
    
    	// Apply overrides.
    	for old, new := range override {
    		if id := goIdent[old]; id != nil {
    			id.Name = new
    		}
    	}
    
    	// Any names still using the _C syntax are not going to compile,
    	// although in general we don't know whether they all made it
    	// into the file, so we can't warn here.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    }
    
    func ExampleLastIndex() {
    	fmt.Println(bytes.Index([]byte("go gopher"), []byte("go")))
    	fmt.Println(bytes.LastIndex([]byte("go gopher"), []byte("go")))
    	fmt.Println(bytes.LastIndex([]byte("go gopher"), []byte("rodent")))
    	// Output:
    	// 0
    	// 3
    	// -1
    }
    
    func ExampleLastIndexAny() {
    	fmt.Println(bytes.LastIndexAny([]byte("go gopher"), "MüQp"))
    	fmt.Println(bytes.LastIndexAny([]byte("go 地鼠"), "地大"))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. src/cmd/cgo/gcc.go

    	goVoidPtr                              ast.Expr // unsafe.Pointer or *byte
    
    	ptrSize int64
    	intSize int64
    }
    
    var tagGen int
    var typedef = make(map[string]*Type)
    var goIdent = make(map[string]*ast.Ident)
    
    // unionWithPointer is true for a Go type that represents a C union (or class)
    // that may contain a pointer. This is used for cgo pointer checking.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top