зеркало из https://github.com/mozilla/gecko-dev.git
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin
This commit is contained in:
Родитель
e73ea32b16
Коммит
22bc4a73fd
|
@ -534,21 +534,6 @@ main(int argc, char* argv[])
|
||||||
TestSegmentedBuffer();
|
TestSegmentedBuffer();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 // obsolete old implementation
|
|
||||||
nsCOMPtr<nsIInputStream> in;
|
|
||||||
nsCOMPtr<nsIOutputStream> out;
|
|
||||||
rv = TP_NewPipe(getter_AddRefs(in), getter_AddRefs(out), 4096 * 4);
|
|
||||||
if (NS_FAILED(rv)) {
|
|
||||||
printf("TP_NewPipe failed\n");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
rv = TestPipe(in, out);
|
|
||||||
if (NS_FAILED(rv)) {
|
|
||||||
printf("TestPipe failed\n");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#if 0
|
#if 0
|
||||||
TestSearch("foo", 8);
|
TestSearch("foo", 8);
|
||||||
TestSearch("bar", 6);
|
TestSearch("bar", 6);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче