OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fake_data
(Results
1 - 4
of
4
) sorted by null
/external/autotest/client/site_tests/platform_CompressedSwap/src/
hog.c
38
char *
fake_data
= malloc(CHUNK_SIZE);
local
58
/* Fill
fake_data
with fake data so that it compresses to roughly the desired
61
read(random_fd,
fake_data
, CHUNK_SIZE / compression_factor);
63
memset(
fake_data
+ CHUNK_SIZE / compression_factor, 1,
76
memcpy(p,
fake_data
, CHUNK_SIZE);
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
test_layer1.py
85
fake_data
= tempfile.NamedTemporaryFile()
86
fake_data
.write(b'foobarbaz')
88
fake_data
.seek(2)
92
lambda *args:
fake_data
.read()
93
self.service_connection.upload_archive('vault_name',
fake_data
, 'linear_hash',
98
self.assertEqual(
fake_data
.tell(), 2)
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
hog.c
35
char *
fake_data
;
variable
70
memcpy(new_chunk,
fake_data
, CHUNK_SIZE);
143
// Fill
fake_data
with fake data so that it compresses to roughly the desired
146
fake_data
= malloc(CHUNK_SIZE);
147
read(random_fd,
fake_data
, CHUNK_SIZE / compression_factor);
149
memset(
fake_data
+ CHUNK_SIZE / compression_factor, 1,
/external/libbrillo/brillo/http/
http_utils_unittest.cc
302
std::string
fake_data
= "Some data";
local
303
auto PostHandler = [
fake_data
](const fake::ServerRequest& request,
306
EXPECT_EQ(
fake_data
.size(),
319
fake_data
,
326
EXPECT_EQ(
fake_data
, response->ExtractDataAsString());
Completed in 1662 milliseconds