Redian新闻
>
总结一下各个鸡鸡的antutu得分
avatar
总结一下各个鸡鸡的antutu得分# PDA - 掌中宝
m*r
1
买到了香椿芽,做个香椿炒蛋。
3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
饼一样,然后快速滑散炒熟出锅。
avatar
k*t
2
写个Least Recently Used Cache的Class好像是几家公司常见题。
有没有面试可用的精简一些的Sample Code?
或哪个大拿给写一个范本。谢了。
还有,copy-on-write的string class。
我这里贡献一个smart pointer class。Code来自http://www.codeproject.com/KB/cpp/SmartPointers.aspx
class RC
{
private:
int count; // Reference count
public:
void AddRef()
{
// Increment the reference count
count++;
}
int Release()
{
// Decrement the reference count and
// return the reference count.
return --count;
}
};
template < typename T > class SP
{
private:
T* pData; // pointer
RC* reference; // Reference count
public:
SP() : pData(0), reference(0)
{
// Create a new reference
reference = new RC();
// Increment the reference count
reference->AddRef();
}
SP(T* pValue) : pData(pValue), reference(0)
{
// Create a new reference
reference = new RC();
// Increment the reference count
reference->AddRef();
}
SP(const SP& sp) : pData(sp.pData), reference(sp.reference)
{
// Copy constructor
// Copy the data and reference pointer
// and increment the reference count
reference->AddRef();
}
~SP()
{
// Destructor
// Decrement the reference count
// if reference become zero delete the data
if(reference->Release() == 0)
{
delete pData;
delete reference;
}
}
T& operator* ()
{
return *pData;
}
T* operator-> ()
{
return pData;
}

SP& operator = (const SP& sp)
{
// Assignment operator
if (this != &sp) // Avoid self assignment
{
// Decrement the old reference count
// if reference become zero delete the old data
if(reference->Release() == 0)
{
delete pData;
delete reference;
}
// Copy the data and reference pointer
// and increment the reference count
pData = sp.pData;
reference = sp.reference;
reference->AddRef();
}
return *this;
}
};
// Client
void main()
{
SP p(new Person("Scott", 25));
p->Display();
{
SP q = p;
q->Display();
// Destructor of q will be called here..
SP r;
r = p;
r->Display();
// Destructor of r will be called here..
}
p->Display();
// Destructor of p will be called here
// and person pointer will be deleted
}
avatar
r*e
3
人墙后面的秘密.jpg
avatar
A*R
4
【 以下文字转载自 LosAngeles 讨论区 】
发信人: danielzh (Daniel the Husky), 信区: LosAngeles
标 题: 丹尼尔爬山历险记(完)
发信站: BBS 未名空间站 (Thu Mar 17 15:25:02 2011, 美东)
好奇心杀死狗,满足感令它还生
avatar
d*0
5
从高到低吧。
N4 4.2 17832 4核S4 Pro 1.5G (Adreno 320)
Nook HD+ CM10 9365 2核OMAP 1.5G (POWERVR SGX544)
Atrix 4G CM10 5649 2核Tegra 2 1G (GeForce ULP)
Touchpad CM9 5619 2核S3 1.2G (Adreno 220)
HTC flyer 3.0 4701 1核S3 1.5G (Adreno 205)
avatar
m*r
6
忘了贴图。。。

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
A*u
7
谢谢你贴的code
LRU啥意思
avatar
s*y
8
太腐了。
而且居然还是三人行!

【在 r*********e 的大作中提到】
: 人墙后面的秘密.jpg
avatar
A*R
9
头一回见这种颜色的husky
avatar
p*r
10
I added few devices that I have.
Dell Streak 5": 2650
Samsung ATT GS2: 5600(Android 2.3.x, GB stock rom)
HTC one X: 7050(Android 4.0.3 stock rom, Antutu 2.7.3)
HTC one X: 10030(Android 4.0.3 stock room, Antutu 3.0.2)
Nexus 7: 12919(Android 4.1.2, Antutu 3.0.3)
avatar
l*s
11
你家种的香椿吗?
包饺子也好吃
avatar
r*t
12
least recent used cache

【在 A**u 的大作中提到】
: 谢谢你贴的code
: LRU啥意思

avatar
i*s
13
忍不住笑了。。。

【在 A*********R 的大作中提到】
: 头一回见这种颜色的husky
avatar
c*y
14
nook hd+用啥SD卡?

【在 d*****0 的大作中提到】
: 从高到低吧。
: N4 4.2 17832 4核S4 Pro 1.5G (Adreno 320)
: Nook HD+ CM10 9365 2核OMAP 1.5G (POWERVR SGX544)
: Atrix 4G CM10 5649 2核Tegra 2 1G (GeForce ULP)
: Touchpad CM9 5619 2核S3 1.2G (Adreno 220)
: HTC flyer 3.0 4701 1核S3 1.5G (Adreno 205)

avatar
p*e
15

好多年没吃过了
油温可以再高一些
颜色会更美

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
k*t
16
参照网上的思路写了一个。哪位大拿给Review一下。谢了。
我平时只写C,不用C++。所以可能有初级错误:)
#include
#include // HashMap
#include
using namespace std;
// cache entry
struct Entry {
int v; // dummy structure
};
class LRU {
private:
list > mlist;
unordered_map >::iterator> mht;
int cnt;
const static int MAX_SIZE = 10000;
public:
LRU () {cnt=0;}
~LRU () {}
void addEntry (string mURL, Entry mEntry) {
mlist.push_front(make_pair(mURL, mEntry));
mht.insert(make_pair(mURL, mlist.begin()));
cnt++;
if (cnt > MAX_SIZE) {
mht.erase(mlist.back().first);
mlist.pop_back();
cnt--;
}
}
void delEntry (string mURL) {
if (mht.find(mURL)==mht.end()) return;
mlist.erase(mht[mURL]);
mht.erase(mURL);
cnt--;
}
void accessEntry (string mURL) {
if (mht.find(mURL)==mht.end()) return;
mlist.splice(mlist.begin(), mlist, mht[mURL]);
}
string recentUsed () {
if (cnt==0) return NULL;
return mlist.front().first;
}
};
Design an LRU cache with all the operations including getting the least
recently used item to be O(1).
Use a Hashmap along with doubly linked list.
Insertion: When an element is inserted into the hashmap create a new node at
the front of the
doubly linked list. The hashmap entry will have the reference to this node
in the douly linked
list. Also the node in the liked list will have a reference to the entry in
the hashmap.
So Insertion : O(1)
Deletion: Delete the entry from the hashmap and also following the reference
to the doubly
linked list, delete the node too.
So O(1)
Access: Get the element in the hashmap, follow the reference to the doubly
linked list and just
move this node in the doubly linked list to the front of the list.
Recently used: Get the first element from the linked list.
So Access: O(1)

【在 k***t 的大作中提到】
: 写个Least Recently Used Cache的Class好像是几家公司常见题。
: 有没有面试可用的精简一些的Sample Code?
: 或哪个大拿给写一个范本。谢了。
: 还有,copy-on-write的string class。
: 我这里贡献一个smart pointer class。Code来自http://www.codeproject.com/KB/cpp/SmartPointers.aspx
: class RC
: {
: private:
: int count; // Reference count
: public:

avatar
m*h
17
the dog could die

【在 i*********s 的大作中提到】
: 忍不住笑了。。。
avatar
d*0
18
sandisk 16G class4

【在 c*******y 的大作中提到】
: nook hd+用啥SD卡?
avatar
c*e
19
一直很纳闷,北方到处是臭椿,怎么香椿那么少见呢?

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
f*g
20
这哈士奇是啥眼神?哈哈
avatar
d*0
21
不会吧,你跟我用的是一个软件吗?

【在 p*********r 的大作中提到】
: I added few devices that I have.
: Dell Streak 5": 2650
: Samsung ATT GS2: 5600(Android 2.3.x, GB stock rom)
: HTC one X: 7050(Android 4.0.3 stock rom, Antutu 2.7.3)
: HTC one X: 10030(Android 4.0.3 stock room, Antutu 3.0.2)
: Nexus 7: 12919(Android 4.1.2, Antutu 3.0.3)

avatar
i*s
22
久闻香椿大名,没吃过,希望有机会能尝尝鲜。
avatar
o*l
23
albino?

【在 A*********R 的大作中提到】
: 头一回见这种颜色的husky
avatar
p*r
24

Yes, it's Antutu. Its version may be different on different device.
Just did run my on N7 again. The new version is 3.0.3.
It actually is 12919.

【在 d*****0 的大作中提到】
: 不会吧,你跟我用的是一个软件吗?
avatar
M*s
25
现在看见香椿,就想起唯一吃过的一次花椒芽,裹鸡蛋面浆炸,太香了。联想可能因为
都是春天的芽,也可能是和香椿在一起卖的。

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
m*e
26
摸摸小乖狗,大难不那个啥,必有后福,希望以后都平平安安
不厚道的想笑:腮帮子肿的照片确实很搞啊
avatar
t*n
27
Antutu 3.03
kindle fire hd 8.9 stock rom ver.8.13 9989
att samsung sII JB4.1 10083

【在 d*****0 的大作中提到】
: 从高到低吧。
: N4 4.2 17832 4核S4 Pro 1.5G (Adreno 320)
: Nook HD+ CM10 9365 2核OMAP 1.5G (POWERVR SGX544)
: Atrix 4G CM10 5649 2核Tegra 2 1G (GeForce ULP)
: Touchpad CM9 5619 2核S3 1.2G (Adreno 220)
: HTC flyer 3.0 4701 1核S3 1.5G (Adreno 205)

avatar
c*e
28
en,吃青菜,吃肉,都要吃嫩的。比如烤乳猪,没人会烤个骚气熏天的老公猪。比如嫩
黄瓜,比老黄瓜好吃。

【在 M*********s 的大作中提到】
: 现在看见香椿,就想起唯一吃过的一次花椒芽,裹鸡蛋面浆炸,太香了。联想可能因为
: 都是春天的芽,也可能是和香椿在一起卖的。

avatar
i*s
29
我知道。。。
所以我忍来着!
可是那个表情和配的词。。。

【在 m***h 的大作中提到】
: the dog could die
avatar
n*0
30
Antutu在Lumia 920上不工作.
avatar
M*s
31
你这么说,我就想想例外。好象多数菜还是要吃长熟的,嫩绿的西红柿就没熟透的好吃
。另外小牛肉是有怪味的,不如长成的好吃。乳猪应该也是有味道。绿叶菜也许口感嫩
,但也许不都更香,九层塔还是叶子长大了味道更足吧。

【在 c*********e 的大作中提到】
: en,吃青菜,吃肉,都要吃嫩的。比如烤乳猪,没人会烤个骚气熏天的老公猪。比如嫩
: 黄瓜,比老黄瓜好吃。

avatar
h*d
32
第一次看到脸肿的小哈,好可怜!
avatar
d*0
33
One X得分不会这么低吧?测之前重启一下试试?

【在 p*********r 的大作中提到】
:
: Yes, it's Antutu. Its version may be different on different device.
: Just did run my on N7 again. The new version is 3.0.3.
: It actually is 12919.

avatar
b*8
34
香椿炒鸡蛋喜欢吃,稀罕物!!!

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
h*1
35
wow 脸肿得这么大。小可怜
avatar
f*5
36
Antutu认不出lumia的分辨率,把gpu部分测试去掉就好了

[发表自未名空间手机版 - m.mitbbs.com]

【在 n*****0 的大作中提到】
: Antutu在Lumia 920上不工作.
avatar
s*a
37
香椿芽淹一下,然后炸一下也很好吃。
avatar
T*k
38
哪儿有肿啊?俺怎么米看出来?!
avatar
j*2
39
前几天50刀的HTC One V, 4597
avatar
V*D
40
记得小时候做的香椿炒鸡蛋,香椿颜色还发绿,你这个卖像太差,看起来就不新鲜。

【在 m**********r 的大作中提到】
: 忘了贴图。。。
avatar
a*t
41
天 肿了那么大一个......
avatar
n*0
42
MM厉害!
Lumia 920: 11856。

【在 f*******5 的大作中提到】
: Antutu认不出lumia的分辨率,把gpu部分测试去掉就好了
:
: [发表自未名空间手机版 - m.mitbbs.com]

avatar
c*n
43
上次谁说可以用菠菜还是啥替代来炒鸡蛋的
求确认一下 我周末来试试
avatar
a*8
44
看着真象嘟囔着嘴在思考,真好玩。
avatar
R*N
45
ATT galaxy note i717
stock ICS 4.04ROM rooted
score=8072

【在 d*****0 的大作中提到】
: 从高到低吧。
: N4 4.2 17832 4核S4 Pro 1.5G (Adreno 320)
: Nook HD+ CM10 9365 2核OMAP 1.5G (POWERVR SGX544)
: Atrix 4G CM10 5649 2核Tegra 2 1G (GeForce ULP)
: Touchpad CM9 5619 2核S3 1.2G (Adreno 220)
: HTC flyer 3.0 4701 1核S3 1.5G (Adreno 205)

avatar
l*r
46
记得小时候还有榆钱炒蛋,想起来就流口水

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
A*a
47
天,好险!
脸肿的和含着球一样。
avatar
g*n
48
我的NOOK HD+ 用class4的adata的卡,跑出来时9197
avatar
l*n
49
以前住平房时候院子里有棵香椿树。一到夏末秋初家里人就爬到树上掐些嫩芽做菜吃。
但是小孩子一般都不喜欢那个味道。我记得出于好奇我居然生吃了一小口,那个冲味真
是难忘,以后再没吃过这个东西,不管怎么做的都不觉得能吃了。。
季节可能记错了,反正是很暖和又不是太热的时候摘香椿芽

【在 m**********r 的大作中提到】
: 买到了香椿芽,做个香椿炒蛋。
: 3个蛋打散,香椿随意切小段放入蛋液混合,按口味加盐,热油锅下蛋液稍凝固,像蛋
: 饼一样,然后快速滑散炒熟出锅。

avatar
f*2
50
My Note II.

【在 d*****0 的大作中提到】
: 从高到低吧。
: N4 4.2 17832 4核S4 Pro 1.5G (Adreno 320)
: Nook HD+ CM10 9365 2核OMAP 1.5G (POWERVR SGX544)
: Atrix 4G CM10 5649 2核Tegra 2 1G (GeForce ULP)
: Touchpad CM9 5619 2核S3 1.2G (Adreno 220)
: HTC flyer 3.0 4701 1核S3 1.5G (Adreno 205)

avatar
M*s
51
还好吧? 嫩香椿不很绿的, 本来就带着发黄发棕的颜色。

【在 V**D 的大作中提到】
: 记得小时候做的香椿炒鸡蛋,香椿颜色还发绿,你这个卖像太差,看起来就不新鲜。
avatar
p*r
52
Seems like different versions of Antutu result in VERY different benchmark
number.
My HTC one X was 7000 when it's running with Antutu 2.7.3
Today I just updated Antutu to the latest version Antutu, which is 3.0.2,
and re-run the test. It give me 10030.
That's really bad for this kind of benchmark, especially it collects all the
benchmark data into its database.
avatar
t*2
53
好怀念 之前院子里有一颗香椿树
avatar
p*r
54
My Nook HD+ with CM10(12_18 build), and Samsung class 6 Micro SD
and Antutu 3.0.3: The benchmark is 9363.
avatar
p*r
55
I just re-run the test using a
Sandisk 32GB class 4.
I got 9434. Seems like the class 4 is faster than Samsung class 6
in the IO test.
avatar
m*x
56
antutu 3.0.3
optimus L9:7358
htc evo v 4g:7008.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。