返回的文本信息, 常见场景是success字符串
960709
@Override
    public PayNotifyResponse retcode(int retcode) {
        this.retcode = retcode;
        this.retinfo = PayRetCodes.retInfo(retcode);
        return this;
    }
446191
function _success(test, result) {
  process.stdout.write('.'.green);
  successes.push({ test: test, result: result });
}
709181
def succeed(self, text=None):
        
        return self.stop_and_persist(symbol=LogSymbols.SUCCESS.value, text=text)
324533
private static void extractText(Path file, BufferedWriter writer, String separator, boolean includePhrase){
        try(BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file.toFile()),"utf-8"));){
            String line;
            while( (line = reader.readLine()) != null ){
                //去除首尾空白字符
                line = line.trim();
                //忽略空行
                if(!"".equals(line)){
                    //词和词之间以空格隔开
                    String[] words = line.split("\\s+");
                    if(words == null){
                        //忽略不符合规范的行
                        continue;
                    }
                    StringBuilder phrase = new StringBuilder();
                    int phraseCount=0;
                    boolean find=false;
                    for(String word : words){
                        String[] attr = word.split("/");
                        if(attr == null || attr.length < 1){
                            //忽略不符合规范的词
                            continue;
                        }
                        if(attr[0].trim().startsWith("[")){
                            find = true;
                        }                        
                        //去掉[和]
                        String item = attr[0].replace("[", "").replace("]", "").trim();
                        writer.write(item+separator);
                        if(find){
                            phrase.append(item);
                            phraseCount++;
                        }
                        //短语标注错误
                        if(phraseCount > 10){
                            find = false;
                            phraseCount = 0;
                            phrase.setLength(0);
                        }
                        if(find && attr.length > 1 && attr[1].trim().endsWith("]")){
                            find = false;
                            if(includePhrase){
                                writer.write(phrase.toString()+separator);
                            }
                            phrase.setLength(0);
                        }
                        //词数目
                        WORD_COUNT.incrementAndGet();
                        //字符数目
                        CHAR_COUNT.addAndGet(item.length());
                    }
                    //换行
                    writer.write("\n");
                }
            }
        }catch(Exception e){
            LOGGER.info("从语料库 "+file+" 中抽取文本失败：", e);
        }        
    }
992559
function (lang) {
		if (lang_data[lang] && lang_data[lang].success_callbacks && lang_data[lang].success_callbacks.length) {
			lang_data[lang].success_callbacks.forEach(function (f) {
				f(lang);
			});
		}
	}
1362687
def success(self, request, message, extra_tags='', fail_silently=False):
        """"""
        add(self.target_name, request, constants.SUCCESS, message, extra_tags=extra_tags,
            fail_silently=fail_silently)
1050001
def print_success(msg, color=True):
    
    if color and is_posix():
        safe_print(u"%s[INFO] %s%s" % (ANSI_OK, msg, ANSI_END))
    else:
        safe_print(u"[INFO] %s" % (msg))
152015
function(options, filePaths, results, numResults) {
		var content = "{\n\t\"numResults\": " + numResults + ",\n" + 
			"\t\"creationDate\": \"" + _getISODateString() + "\",\n" + 
			"\t\"results\": {\n";

		var group = [];
		for (var file in results) {
			var groupStr = "\t\t\"" + file + "\": [\n";

			var matchGroup = [];
			for (var i=0; i<results[file].length; i++) {
				matchGroup.push("\t\t\t{\n" + 
					"\t\t\t\t\"line\": " + results[file][i].line + ",\n" + 
					"\t\t\t\t\"match\": " + "\"" + _cleanStr(results[file][i].match) + "\"" + 
					"\n\t\t\t}");
			}
			groupStr += matchGroup.join(",\n") + "\n";
			groupStr += "\t\t]"
			group.push(groupStr);
		}
		content += group.join(",\n");
		content += "\n\t}"

		if (options.outputExaminedFiles) {
			content += ",\n\t\"examinedFiles\": [\n";
			var files = [];
			for (var i=0; i<filePaths.length; i++) {
				files.push("\t\t\"" + _cleanStr(filePaths[i]) + "\"");
			}
			content += files.join(",\n");
			content += "\n\t]";
		}

		content += "\n}";

		return content;
	}
1295944
def add_success(self, group=None, type_='', field='', description=''):
        """"""
        group = group or '(200)'
        group = int(group.lower()[1:-1])
        self.retcode = self.retcode or group
        if group != self.retcode:
            raise ValueError('Two or more retcodes!')
        type_ = type_ or '{String}'
        p = Param(type_, field, description)
        self.params['responce'][p.field] = p
555955
def success(msg, *args, **kwargs):
    ''''''
    echo('{0} {1}'.format(green(OK), white(msg)), *args, **kwargs)
1150223
function successExec( doc ) {
            // console.log( self.name(), 'pathFunctionProto successExec', option.node);
            console.view( self, '- ' + option.node.xTo(), 2 );
            // console.log('successExec:', doc );
            nextTick.call( self, doc, picker, events );
        }
138868
def successful(self):
        """"""
        status = self.status
        assert status >= COMPLETED, "status is %s" % status
        return (self.status == COMPLETED)
192217
function( status, text ) {
    
                var prevStatus = statusMap[ this.id ];
    
                typeof text !== 'undefined' && (this.statusText = text);
    
                if ( status !== prevStatus ) {
                    statusMap[ this.id ] = status;
                    /**
                     * 文件状态变化
                     * @event statuschange
                     */
                    this.trigger( 'statuschange', status, prevStatus );
                }
    
            }
564042
function parseContent(options, contents, filePath, asyncMod, callback) {
    // 读取主入口路径信息
    // eg: {id: "a", path: "/Users/tankunpeng/WebSite/gulp-seajs-combo/test/src/a.js", extName: ".js"}
    var pathResult = modPathResolve(options, filePath);
    // 设置入口模块基于base的真实id
    pathResult.origId = getorigIdbyBase(options, filePath, true);
    if (asyncMod) pathResult.asyncMod = asyncMod;
    // 读取主入口依赖模块路径信息
    // [{id: "b", extName: "", path: "/Users/tankunpeng/WebSite/gulp-seajs-combo/test/src/b", origId: "./b"},...]
    var deps = parseDeps(options, contents, pathResult);
    if (deps.length) {
        readDeps(options, deps);
        callback && callback();
    } else {
        callback && callback();
    }
}
827646
function (jsonObj, successCB, failedCB) {
    var $t = this;

    var _json = jsonObj || {};

    // 传递参数
    var newJson = {
      'command': ' --port=' + $bc_$5.App.getServerPort(), // {要求string}
      'currentDirectoryPath': _json.currentDirectoryPath || '',
      'environmentDic': _json.environmentDic || {},
      'mainThread': _json.mainThread !== false
    };

    $t.exec(newJson, successCB, failedCB);
  }
416101
function (source, packToPath, fileType) {
        /*存放文件内容*/
        var packToFile,
            /*这个打包的文件是否已经存在,如果已经存在需要在fis编译组件里warming*/
            packToExist = false,
            /*内容*/
            content = '';
        /*packTo不存在则退出*/
        if (!packToPath) {
            return
        }
        /*转化成fis的file格式*/
        packToFile = wrapFile(packToPath);
        /*判断pack的文件是否存在*/
        packToExist = fis.util.isFile(packToFile.fullname);
        /*如果packTo的文件存在，给用户一个提醒*/
        if (packToExist) {
            fis.log.warning(packToFile.fullname + 'has exists. Check your result,please!');
        }
        /*对资源列表进行挨个处理，将文件合并*/
        if(fileType == 'json') {
            var jsonFile = new JSONFile();
            source.forEach(function (file){
                jsonFile.add(file._content);
            });
            content = jsonFile.content();
        }
        else {
            source.forEach(function (file){
                content += file._content;
            });
        }
        /*将内容设置进入pack的文件夹*/
        packToFile.setContent(content);
        ret.pkg[packToPath] = packToFile;
    }
332231
def success_response(**data):
    """"""
    data_out = {}
    data_out["status"] = "success"
    data_out.update(data)
    js = dumps(data_out, default=date_handler)
    return Response(js, status=200, mimetype="application/json")