This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CXxx | |
{ | |
//other code... | |
cc::CSharedMutex m_xxxMutex; // 声明要互斥变量 | |
} | |
CXxx::SomeMethod() | |
{ | |
{ //限定锁的作用域 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# author ervin | |
import sys | |
from PIL import Image | |
for input_file_name in sys.argv[1:]: | |
need_1x_image_size = [1024] | |
need_2x_image_size = [20, 29, 40, 60] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// baseclass.m | |
- (void)_fuck { | |
NSLog(@"fuck base class"); | |
} | |
// subclass.m | |
- (void)_fuck() { | |
NSLog(@"fuck sub class"); | |
} |