Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rustToString (0.19 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    // license that can be found in the LICENSE file.
    
    package demangle
    
    import (
    	"fmt"
    	"math"
    	"math/bits"
    	"strings"
    	"unicode/utf8"
    )
    
    // rustToString demangles a Rust symbol.
    func rustToString(name string, options []Option) (ret string, err error) {
    	if !strings.HasPrefix(name, "_R") {
    		return "", ErrNotMangledName
    	}
    
    	// When the demangling routines encounter an error, they panic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    // If the name does not appear to be a C++ or Rust symbol name at all,
    // the error will be ErrNotMangledName.
    func ToString(name string, options ...Option) (string, error) {
    	if strings.HasPrefix(name, "_R") {
    		return rustToString(name, options)
    	}
    
    	// Check for an old-style Rust mangled name.
    	// It starts with _ZN and ends with "17h" followed by 16 hex digits
    	// followed by "E" followed by an optional suffix starting with "."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top