摘要:
def output_mapper(line): """ 输入文件是gbk编码, 使用spark的GBKFileInputFormat读取后自动转为utf-8编码. Keys are the position in the file, and values are the line of text, 阅读全文
摘要:
#include <iostream> #include <cstring> using namespace std; class A { public: char *p; A() { p = new char[3]; }; A(const A& a) { p = new char[3]; for( 阅读全文