Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for scwang (1.73 sec)

  1. src/cmd/cgo/doc.go

    it is expected to work. It is disabled by default when cross-compiling
    as well as when the CC environment variable is unset and the default
    C compiler (typically gcc or clang) cannot be found on the system PATH.
    You can override the default by setting the CGO_ENABLED
    environment variable when running the go tool: set it to 1 to enable
    the use of cgo, and to 0 to disable it. The go tool will set the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    	return s.err
    }
    
    // Bytes returns the most recent token generated by a call to [Scanner.Scan].
    // The underlying array may point to data that will be overwritten
    // by a subsequent call to Scan. It does no allocation.
    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			"-ferror-limit=0",
    			// Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
    			// doesn't have -Wno-unneeded-internal-declaration, so we need yet another
    			// flag to disable the warning. Yes, really good diagnostics, clang.
    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    			// Clang embeds prototypes for some builtin functions,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    		// There is one final token to be delivered, which may be the empty string.
    		// Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this
    		// but does not trigger an error to be returned from Scan itself.
    		return 0, data, bufio.ErrFinalToken
    	}
    	scanner.Split(onComma)
    	// Scan.
    	for scanner.Scan() {
    		fmt.Printf("%q ", scanner.Text())
    	}
    	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)
  5. src/cmd/addr2line/addr2line_test.go

    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, string(out))
    	}
    	syms := make(map[string]string)
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    		f := strings.Fields(scanner.Text())
    		if len(f) < 3 {
    			continue
    		}
    		syms[f[2]] = f[0]
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading symbols: %v", err)
    	}
    	return syms
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    			tok = in.Stack.Next()
    			switch tok {
    			case ')':
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	case "PCDATA":
    		p.asmPCData(operands)
    	case "PCALIGN":
    		p.asmPCAlign(operands)
    	case "TEXT":
    		p.asmText(operands)
    	default:
    		return false
    	}
    	return true
    }
    
    // symDefRef scans a line for potential text symbol definitions and
    // references and writes symabis information to w.
    //
    // The symabis format is documented at
    // cmd/compile/internal/ssagen.ReadSymABIs.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/bufio/scan_test.go

    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    		}
    		testRuneCount := utf8.RuneCountInString(test)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. api/go1.22.txt

    pkg crypto/x509, method (OID) String() string #60665
    pkg crypto/x509, type Certificate struct, Policies []OID #60665
    pkg crypto/x509, type OID struct #60665
    pkg database/sql, method (*Null[$0]) Scan(interface{}) error #60370
    pkg database/sql, method (Null[$0]) Value() (driver.Value, error) #60370
    pkg database/sql, type Null[$0 interface{}] struct #60370
    pkg database/sql, type Null[$0 interface{}] struct, V $0 #60370
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top