Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Try (0.11 sec)

  1. src/cmd/cgo/gcc.go

    	}
    }
    
    // mangle replaces references to C names in arg with the mangled names,
    // rewriting calls when it finds them.
    // It removes the corresponding references in f.Ref and f.Calls, so that we
    // don't try to do the replacement again in rewriteRef or rewriteCall.
    // If addPosition is true, add position info to the idents of C names in arg.
    func (p *Package) mangle(f *File, arg *ast.Expr, addPosition bool) (ast.Expr, bool) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		for _, window := range windows {
    			if window > len(b[i:]) {
    				window = len(b[i:])
    			}
    			// Fill the window with non-match
    			for j := 0; j < window; j++ {
    				b[i+j] = byte(100)
    			}
    			// Try to find something that doesn't exist
    			p := Count(b[i:i+window], []byte{0})
    			if p != 0 {
    				t.Errorf("TestCountByteNoMatch(%q, 0) = %d", b[i:i+window], p)
    			}
    			for j := 0; j < window; j++ {
    				b[i+j] = byte(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top