Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reply (0.12 sec)

  1. src/cmd/cgo/gcc.go

    			}
    			if r.Name.Kind != "type" {
    				repl = "(" + repl + ")"
    			}
    			f.Edit.Replace(f.offset(old.Pos()), f.offset(old.End()), repl)
    		}
    	}
    
    	// Remove functions only used as expressions, so their respective
    	// bridge functions are not generated.
    	for name, used := range functions {
    		if !used {
    			delete(f.Name, name)
    		}
    	}
    }
    
    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

    }
    
    func TestToValidUTF8(t *testing.T) {
    	for _, tc := range toValidUTF8Tests {
    		got := ToValidUTF8([]byte(tc.in), []byte(tc.repl))
    		if !Equal(got, []byte(tc.out)) {
    			t.Errorf("ToValidUTF8(%q, %q) = %q; want %q", tc.in, tc.repl, got, tc.out)
    		}
    	}
    }
    
    func TestTrimSpace(t *testing.T) { runStringTests(t, TrimSpace, "TrimSpace", trimSpaceTests) }
    
    type RepeatTest struct {
    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