query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
string errorMessage = 2;
public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.58391654
64
string errorMessage = 2;
public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
string errorMessage = 2;
public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String errorMessage();", "private void error(String string) {\n\t\r\n}", "String getErrorMessage();", "String getErrorMessage();", "String getError(int i) {\n if (i >= 0 & i < msgs.length)\n return msgs[i];\n else\n return \"Invalid Error Code\";\n }", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getError();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "java.lang.String getErrorMessage();", "void showErrorMsg(String string);", "String getGetErrorMessage();", "java.lang.String getErr();", "public String getErrorString()\r\n\t{\r\n\t\t\r\n\t\treturn ERROR_STRING;\r\n\t}", "public void error(String string) {\n\t\t\n\t}", "String getInvalidMessage();", "private static String getMessage(int code) {\n switch (code) {\n case ME_DIV_BY_ZERO:\n return \"Attempt to divide by zero.\";\n case ME_ASSIGNLITERAL:\n return \"Attempt to assign to a literal.\";\n case ME_NONVARASSIGN:\n return \"Attempt to assign to a non-variable.\";\n default:\n return \"Unknown error.\";\n }\n }", "String getErrorsString();", "public String error();", "public String getError() {\n\treturn mistake;\n }", "private String getErrorString() {\n\t\treturn \"GUID:ERROR:\" + mErrors[0][0]\n\t\t + \":\" + mErrors[1][0]\n\t\t + \":\" + mErrors[2][0]\n\t\t + \":\" + mErrors[3][0];\n\t}", "public String getErrorMessage() \r\n\t{\r\n\t\t\r\n\t\treturn errorMessage;\r\n\t\t\r\n\t}", "public java.lang.String getErrorMessage(){\n return localErrorMessage;\n }", "java.lang.String getErrmsg();", "public String getErrorString()\n\t{\n\t\treturn errorString;\n\t}", "public static String getLastErrorMessage()\r\n\t{\n\t\treturn lastAlert;\r\n\t}", "String getMessage();", "String getMessage();", "String getMessage();", "private int getErrorId(final String message) {\n\t\tif (isLowerCase(message)) {\n\t\t\treturn ERROR_LOWER_CASE;\n\t\t} else if (isUnunsedMacro(message)) {\n\t\t\treturn ERROR_UNUSED_MACRO;\n\t\t} else if (isUnunsedVariable(message)) {\n\t\t\treturn ERROR_UNUSED_VARIABLE;\n\t\t} else if (isEndLineSpace(message) || isNoSpace(message)) {\n\t\t\treturn ERROR_NO_SPACE;\n\t\t} else if (isOneSpace(message)) {\n\t\t\treturn ERROR_ONE_SPACE;\n\t\t} else {\n\t\t\treturn ERROR_INVALID;\n\t\t}\n\t}", "public String getErrorString(String message) {\n \t\treturn getString(new StringBuffer(\"error.\").append(message).toString());\n \t}", "String getErrorMessage(E input);", "public String errorMessage()\n {\n return new String(errorMessageAsBytes());\n }", "String Message ();", "public String errorMessage() {\n return errorMessage;\n }", "void SemErr(String str);", "public String getErrorMessage()\n {\n return errorMessage;\n }", "ErrorCodes(int code){\n this.code = code;\n //this.message = message;\n }", "int getErrorCode();", "public String getErrorCode();", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n errorMessage_ = s;\n }\n return s;\n }\n }", "void showError(@StringRes int errorMessage);", "void showError(String errorMessage);", "private static int getErrorLine(String errmsg){\n\t\treturn Integer.parseInt(errmsg.substring(0,errmsg.indexOf(\":\")).substring(errmsg.substring(0,errmsg.indexOf(\":\")).lastIndexOf(\" \")+1));\n\t}", "public String errorMessage()\n {\n return edma_errorMsg;\n }", "public String getErrorMessage() {\r\n return this.errorMessage;\r\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String errorMessage() {\n return this.errorMessage;\n }", "public String getErrorMessage() {\n\t\treturn errorMessage;\n\t}", "public int getError() {\n return error;\n }", "public String getErrorMessage() {\n return this.errorMessage;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "void setErrorMessage(String errorMessage);", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "static int errorMsg(int eCode)\n {\n if (eCode == 0) return 0;\n String message = \"\";\n switch (eCode){\n case 1: message = \"Division by zero\"; break;\n case 2: message = \"Non-matching parenthesis in function\"; break;\n case 3: message = \"Must enclose negative exponents in parentheses\"; break;\n case 4: message = \"Incorrect Operator Syntax\"; break;\n case 5: message = \"Rightfunctions must use parenthesis. (example: ABS(-2);\"; break;\n case 6: message = \"Unrecognized token in function srtring.\"; break;\n case 8: message = \"Can not raise negative number to a fractional power.\"; break;\n case 10:message = \"Input a real number with no operators\"; break;\n }\n JOptionPane.showMessageDialog(null, message, \"Error \"+eCode, JOptionPane.ERROR_MESSAGE);\n return 0;\n }", "public String getError() {\n return errMsg;\n }", "public java.lang.String getErrorMessage() {\n java.lang.Object ref = errorMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n errorMessage_ = s;\n return s;\n }\n }", "public String getMsgError() {\r\n\t\treturn msgError;\r\n\t}", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "public String getErrorMessage() {\n return errorMessage;\n }", "String getFailureMessage();", "public int error() {\n return this.error;\n }", "public String getParseErrorMessage();", "public String getErrorMessage() {\n return ERROR_MESSAGE;\n }", "public String getError() {\r\n if (scriptError == null) return \"\";\r\n return scriptError;\r\n }", "private String getGUIErrorMsg(long errorcode) {\n\t\tif (errorcode == 0) {\n\t\t\treturn \"This popup shouldn't have launched!\";\n\t\t} else if (errorcode == 9) {\n\t\t\treturn \"Latitude input format incorrect!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 10) {\n\t\t\treturn \"Longitude input format incorrect!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 11) {\n\t\t\treturn \"Date input format incorrect!\\nValid dates go <year>-<month>-<day>\\nValid month values are 1- 12 and valid day values are 1 - 31.\";\n\t\t} else if (errorcode == 12) {\n\t\t\treturn \"Time input format incorrect!\\nValid times go <hour>-<minute>-<second>\\nValid hour values are 0 - 23 and valid minute and second values are 0 - 59\";\n\t\t} else if (errorcode == 1) {\n\t\t\treturn \"Invalid latitude!\\nValid Latitude values are -90 to 90 with negative values being south Latitude.\";\n\t\t} else if (errorcode == 2) {\n\t\t\treturn \"Invalid Longitude!\\nValid Longitude values are -180 to 180 with negative values being west latitude.\";\n\t\t} else if (errorcode == 3) {\n\t\t\treturn \"Invalid Year!\\nValid year values are \" + Integer.MIN_VALUE + \" - \" + Integer.MAX_VALUE + \".\";\n\t\t} else if (errorcode == 4) {\n\t\t\treturn \"Invalid Month!\\nValid month values are 1 - 12\";\n\t\t} else if (errorcode == 5) {\n\t\t\treturn \"Invalid Day!\\nValid day values are 1 - 31\";\n\t\t} else if (errorcode == 6) {\n\t\t\treturn \"Invalid Hour!\\nValid hour values are 0 - 23\";\n\t\t} else if (errorcode == 7) {\n\t\t\treturn \"Invalid Minute!\\nValid minute values are 0 - 59\";\n\t\t} else if (errorcode == 8) {\n\t\t\treturn \"Invalid Second!\\nValid second values are 0 - 59\";\n\t\t} \n\t\treturn \"Undefined Error Message!\";\n\t}", "public void setErrorMsg(String text) {\n this.errorMsg = text;\n }", "public int getErrorNo() {\n return this.errorNo;\n }", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();", "java.lang.String getMessage();" ]
[ "0.7234827", "0.68487597", "0.68242407", "0.68242407", "0.66320926", "0.6613902", "0.6613902", "0.6613902", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.65931696", "0.6587221", "0.6458624", "0.642881", "0.6387629", "0.6339448", "0.63337046", "0.6318866", "0.6310054", "0.6266495", "0.6207546", "0.6169787", "0.6162002", "0.61556125", "0.61209476", "0.6114965", "0.61042917", "0.60988075", "0.60988075", "0.60988075", "0.60916275", "0.60737956", "0.6044167", "0.60035205", "0.59917176", "0.59845275", "0.59643966", "0.5963419", "0.59538627", "0.5917793", "0.58881736", "0.58858836", "0.5880861", "0.58786815", "0.5865479", "0.5863698", "0.5842632", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.583974", "0.58391654", "0.58391654", "0.58391654", "0.5837601", "0.5828023", "0.58268774", "0.58249444", "0.5820853", "0.5818837", "0.5808825", "0.5808012", "0.5803665", "0.57976645", "0.5796016", "0.57934284", "0.57934284", "0.57934284", "0.5786855", "0.57868457", "0.5785435", "0.578205", "0.576942", "0.57514906", "0.57502955", "0.5743453", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053", "0.57404053" ]
0.0
-1
File content bytes data = 3;
@java.lang.Override public com.google.protobuf.ByteString getData() { return data_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "byte[] getData();", "byte[] getData();", "byte[] getData();", "byte[] getData();", "public void getFile(byte[] data, String name,String server) throws RemoteException;", "byte[] getByteContent() throws IOException;", "public ByteBuffer getFileData() {\n\t\treturn fileData;\n\t}", "byte[] getContent();", "byte[] getContent() throws IOException;", "public byte[] getData();", "public File getDataFile();", "byte[] readBytes();", "public byte[] getFilecontent() {\n return filecontent;\n }", "public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);", "public FileChunkReference getFileData() {\n return fileData;\n }", "byte getBlockData();", "private byte[] getContent(File f) {\n byte[] content = null;\n\n try {\n FileInputStream fis = new FileInputStream(f);\n byte[] temp = new byte[fis.available()];\n fis.read(temp);\n fis.close();\n content = temp;\n } catch (IOException e) {\n System.err.println(e.getMessage());\n }\n\n return content;\n }", "public byte[] getContent();", "public FileHandler(byte[] data) {\n this.data = data;\n }", "public ByteBuffer filedata(int pos) throws IOException\n {\n ByteBuffer buf = ByteBuffer.allocate(1024);\n \t buf.order(ByteOrder.LITTLE_ENDIAN);\n \t byte[] bytes = new byte[1024];\n f.seek(1024*pos);\n \t f.read(bytes);\n \t buf.put(bytes);\n \t return buf;\n }", "public static byte[] readId3V1Data(File file) {\n\t\tfinal byte[] buffer = new byte[128];\n\t\ttry (RandomAccessFile mp3File = new RandomAccessFile(file, \"r\")) {\n\t\t\tmp3File.seek(mp3File.length() - 128);\n\t\t\tmp3File.read(buffer, 0, 128);\n\t\t} catch (FileNotFoundException e) {\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t\treturn buffer;\n\t}", "public byte[] getFileContent() throws IOException {\n if (data != null) {\n return data;\n }\n if (tempFile != null) {\n return FileUtil.readBytes(tempFile);\n }\n return null;\n }", "FileObject getFile();", "FileObject getFile();", "public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}", "public void getData() {\n\t\tContext context = getApplicationContext();\n\t\tint ch;\n\t\tStringBuffer fileContent = new StringBuffer(\"\");\n\t\tFileInputStream fis;\n\t\ttry {\n\t\t\tfis = context.openFileInput(filename);\n\t\t\ttry {\n\t\t\t\twhile ((ch = fis.read()) != -1)\n\n\t\t\t\t\tfileContent.append((char) ch);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tdata = new String(fileContent);\n\n\t}", "public byte getData() {\n return data;\n }", "public final ByteBlock getData() { return data; }", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "byte[] getFile(String sha) throws Exception;", "void mo12945a(Data data) throws IOException;", "public byte[] read();", "com.google.protobuf.ByteString getData(int index);", "com.google.protobuf.ByteString getData(int index);", "public void data(byte[] data, int count);", "@Nullable\n public abstract byte[] getContent() throws IOException;", "void mo18920a(Data data) throws IOException;", "File getFile();", "File getFile();", "byte[] getBytes();", "byte[] getBytes();", "public byte getData() {\n return this.data;\n }", "public void onDataRecieved(byte data[]);", "public byte[] getFile() {\n return file;\n }", "private int readFdocaOneByte() {\n checkForSplitRowAndComplete(1);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readUnsignedByte();\n }", "public byte[] getData()\r\n/* 18: */ {\r\n/* 19:59 */ byte[] data = new byte[4];\r\n/* 20: */ \r\n/* 21:61 */ IntegerHelper.getTwoBytes(this.xfIndex, data, 0); int \r\n/* 22: */ \r\n/* 23: */ \r\n/* 24:64 */ tmp15_14 = 1; byte[] tmp15_13 = data;tmp15_13[tmp15_14] = ((byte)(tmp15_13[tmp15_14] | 0x80));\r\n/* 25: */ \r\n/* 26:66 */ data[2] = ((byte)this.styleNumber);\r\n/* 27: */ \r\n/* 28: */ \r\n/* 29:69 */ data[3] = -1;\r\n/* 30: */ \r\n/* 31:71 */ return data;\r\n/* 32: */ }", "private byte[] readFdocaBytes(int length) {\n\n checkForSplitRowAndComplete(length);\n\n byte[] b = new byte[length];\n dataBuffer_.readBytes(b);\n// System.arraycopy(dataBuffer_, position_, b, 0, length);\n// position_ += length;\n//\n return b;\n }", "@Column(name = \"FILE_CONTENT\" )\n @Lob\n public Byte[] getFileContent() {\n return fileContent;\n }", "public static byte[] readFile(File file, int valueType) {\n if (!file.exists()) {\n Log.e(TAG, \"The file doesn't exist\");\n }\n try {\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n FileInputStream fileInputStream = new FileInputStream(file);\n BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream);\n byte[] buf = new byte[4096];\n switch (valueType) {\n case 0:\n case 1:\n case 2:\n case 3:\n while (bufferedInputStream.read(buf) != -1) {\n byteArrayOutputStream.write(buf, 16 * valueType, 16);\n }\n break;\n case 4:\n if (!file.getName().equals(\"E_SK2\")) {\n if (!file.getName().equals(\"E_PIN2\")) {\n while (true) {\n int len = bufferedInputStream.read(buf);\n if (len == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, (len - 32) - (16 * 1));\n }\n }\n } else {\n while (true) {\n int len2 = bufferedInputStream.read(buf);\n if (len2 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, ((len2 - 32) - (16 * 1)) - PKLENGTH);\n }\n }\n }\n } else {\n while (true) {\n int len3 = bufferedInputStream.read(buf);\n if (len3 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 4, (len3 - 32) - (16 * 4));\n }\n }\n }\n case 5:\n while (true) {\n int len4 = bufferedInputStream.read(buf);\n if (len4 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, len4 - 32, 32);\n }\n }\n case PUBLICKEY /* 7 */:\n while (true) {\n int len5 = bufferedInputStream.read(buf);\n if (len5 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, (len5 - 32) - PKLENGTH, PKLENGTH);\n }\n }\n case 8:\n while (true) {\n int len6 = bufferedInputStream.read(buf);\n if (len6 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 0, len6 - 32);\n }\n }\n }\n byte[] buffer = byteArrayOutputStream.toByteArray();\n bufferedInputStream.close();\n fileInputStream.close();\n byteArrayOutputStream.close();\n return buffer;\n } catch (IOException e) {\n Log.e(TAG, \"read file exception!\" + e.getMessage());\n return new byte[0];\n }\n }", "@Override\n public int getFile() {\n return file;\n }", "public byte[] getBytes() throws IOException {\r\n return mFile.getBytes();\r\n }", "@Test\n public void testGetBytes() {\n System.out.println(\"getBytes\");\n RecordFile instance = new RecordFile();\n \n String first = \"hello\";\n String second = \"hello 2\";\n String third = \"hello 3\";\n String meta = \"hello, I'm meta!\";\n \n instance.setMeta(meta.getBytes());\n instance.write(first.getBytes(), 0);\n instance.write(second.getBytes(), 1);\n instance.write(third.getBytes(), 2);\n \n byte[] bytes = instance.getBytes();\n \n instance = new RecordFile(bytes);\n \n Assert.assertEquals(RecordFile.DEFAULT_RECORDS, instance.compacity());\n Assert.assertEquals(meta, new String(instance.getMeta()));\n Assert.assertEquals(first, new String(instance.read(0)));\n Assert.assertEquals(second, new String(instance.read(1)));\n Assert.assertEquals(third, new String(instance.read(2)));\n }", "public byte[] getByteData() { return bytedata; }", "public byte[] getbyteArray() {\n byte[] output = new byte[header_size+fileData.length];\n output[0] = (byte)((type & 0xff00)>> 8);\n output[1] = (byte)(type & 0xff);\n output[2] = (byte)((length & 0xff00)>> 8);\n\t output[3] = (byte)(length & 0xff);\n output[4] = (byte)((clientID & 0xff00)>> 8);\n output[5] = (byte)(clientID & 0xff);\n output[6] = action;\n byte[] temp2 = ByteBuffer.allocate(4).putInt(sectionLength).array();\n for(int i=0;i<4;i++) {\n output[7+i] = temp2[i]; \n }\n temp2 = ByteBuffer.allocate(4).putInt(filePosition).array();\n for(int j=0;j<4;j++) {\n output[11+j] = temp2[j]; \n }\n //copy file data\n System.arraycopy(fileData, 0,output, 15,fileData.length); \n return output;\n }", "private int readFdocaOneByte(int index) {\n\n checkForSplitRowAndComplete(1, index);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readByte();\n }", "public static byte[] readBytesFromFile(File f) {\r\n byte[] bytes = null;\r\n try {\r\n int filesize = (int) f.length();\r\n bytes = new byte[filesize];\r\n DataInputStream in = new DataInputStream(new FileInputStream(f));\r\n in.readFully(bytes);\r\n in.close();\r\n } catch (Exception e) {\r\n System.out.println(\"Error reading byte[] from file: \"\r\n + e.getMessage());\r\n return null;\r\n }\r\n return bytes;\r\n }", "public Object getContent() {\n/* 112 */ return this.buf;\n/* */ }", "com.google.protobuf.ByteString getContent();", "com.google.protobuf.ByteString getContent();", "public byte[] getFile(final String file) throws RemoteException;", "String getFile();", "String getFile();", "String getFile();", "com.google.protobuf.ByteString getContentBytes();", "public static void vu0DownloadData(int index, byte[] data) { }", "private static byte[] getFileAsByte(String pathFile) {\n\t\tFile file = new File(pathFile);\n\n\t\ttry {\n\t\t\tFileInputStream fin = new FileInputStream(file);\n\t\t\tbyte fileContent[] = new byte[(int) file.length()];\n\t\t\tfin.read(fileContent);\n\t\t\tfin.close();\n\n\t\t\treturn fileContent;\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLOGGER.error(\"File not found: \" + e);\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"Exception while reading the file: \" + e);\n\t\t}\n\t\treturn null;\n\t}", "public byte[] getData(String h) {\n String[] CATF = {\"git\", \"cat-file\", \"-p\", h};\n return exec(CATF);\n }", "private static byte[] m136428a(File file) throws IOException {\n FileInputStream fileInputStream = new FileInputStream(file);\n byte[] bArr = new byte[((int) file.length())];\n int i = 0;\n while (i < bArr.length) {\n int read = fileInputStream.read(bArr, i, bArr.length - i);\n if (read < 0) {\n break;\n }\n i += read;\n }\n if (i >= bArr.length) {\n fileInputStream.close();\n return bArr;\n }\n StringBuilder sb = new StringBuilder(\"Could not completely read file \");\n sb.append(file.getName());\n throw new IOException(sb.toString());\n }", "char[] getCharContent() throws IOException;", "public byte[] loadData(FileWindow window)\n\t\t{\n\t\t\tbyte[] result = null;\n\t\t\tFileChannel channel = getFileChannel(false);\n\t\t\tif (channel != null)\n\t\t\t{\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(window.getFilePartSize());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tchannel.read(buffer, window.getFilePartOffset());\n\t\t\t\t\tif (buffer.hasArray())\n\t\t\t\t\t{\n\t\t\t\t\t\tresult = buffer.array();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (IOException e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Error reading from file channel \" + channel, e);\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tIOUtils.closeQuietly(channel);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "byte[] getData() {\n return data;\n }", "InputStream getDataStream();", "public byte[] bytes() throws IOException {\n try(FileInputStream fis = new FileInputStream(file)) {\n return ByteStreams.toByteArray(fis);\n }\n }", "public int getFile() {\n validify();\n return Client.INSTANCE.pieceGetFile(ptr);\n }", "private byte[] readFixedLengthContent(ByteBuf in) throws UnsupportedEncodingException {\n if (in.readableBytes() < 2) {\n return new byte[]{};\n }\n int strLen = in.readableBytes();\n// if (in.readableBytes() < strLen) {\n// return null;\n// }\n byte[] strRaw = new byte[strLen];\n in.readBytes(strRaw);\n\n return strRaw;\n }", "public File getFileValue();", "void setData(byte[] data);", "public byte[] getData()\r\n/* 20: */ {\r\n/* 21:60 */ byte[] data = new byte[2];\r\n/* 22: */ \r\n/* 23:62 */ IntegerHelper.getTwoBytes(this.calcCount, data, 0);\r\n/* 24: */ \r\n/* 25:64 */ return data;\r\n/* 26: */ }", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "public byte[] getData() {\n\treturn null;\n }", "byte[] inflate(byte[] data) throws IOException;", "public byte[] getData() {\n return data;\n }", "public byte[] getData()\r\n/* 38: */ {\r\n/* 39: 98 */ byte[] data = new byte[18];\r\n/* 40: */ \r\n/* 41:100 */ int options = 0;\r\n/* 42:102 */ if (this.promptBoxVisible) {\r\n/* 43:104 */ options |= PROMPT_BOX_VISIBLE_MASK;\r\n/* 44: */ }\r\n/* 45:107 */ if (this.promptBoxAtCell) {\r\n/* 46:109 */ options |= PROMPT_BOX_AT_CELL_MASK;\r\n/* 47: */ }\r\n/* 48:112 */ if (this.validityDataCached) {\r\n/* 49:114 */ options |= VALIDITY_DATA_CACHED_MASK;\r\n/* 50: */ }\r\n/* 51:117 */ IntegerHelper.getTwoBytes(options, data, 0);\r\n/* 52: */ \r\n/* 53:119 */ IntegerHelper.getFourBytes(this.objectId, data, 10);\r\n/* 54: */ \r\n/* 55:121 */ IntegerHelper.getFourBytes(this.numDVRecords, data, 14);\r\n/* 56: */ \r\n/* 57:123 */ return data;\r\n/* 58: */ }", "public byte[] getData() {\r\n return Arrays.copyOf(data, data.length);\r\n }", "public abstract byte read_octet();", "void loadNodeData(byte[] data) throws Exception;" ]
[ "0.6709735", "0.6709735", "0.6709735", "0.6709735", "0.66785", "0.6659824", "0.6581903", "0.6383353", "0.63418925", "0.62733114", "0.62677306", "0.62643033", "0.61281914", "0.609729", "0.6084979", "0.60340255", "0.601819", "0.60013723", "0.595937", "0.59351724", "0.59279966", "0.591943", "0.589374", "0.589374", "0.5880462", "0.58455914", "0.5838588", "0.58351654", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5794297", "0.5770274", "0.5748435", "0.57187235", "0.57187235", "0.5708217", "0.56941706", "0.5679498", "0.56645906", "0.56645906", "0.56630516", "0.56630516", "0.56359535", "0.56304836", "0.56226707", "0.56213856", "0.5604026", "0.5602977", "0.5602889", "0.56022096", "0.557618", "0.5575854", "0.5548122", "0.55321366", "0.5509312", "0.5502337", "0.54915285", "0.5478545", "0.5476886", "0.5476886", "0.5475332", "0.54735583", "0.54735583", "0.54735583", "0.5462679", "0.5461663", "0.5457024", "0.5456652", "0.5419763", "0.5409318", "0.5407993", "0.54057324", "0.53989375", "0.5396377", "0.53803045", "0.53771585", "0.53761363", "0.53729665", "0.53659993", "0.53529865", "0.53529865", "0.53496736", "0.53496736", "0.5349085", "0.5349048", "0.5348476", "0.5330209", "0.53163624", "0.5310617", "0.5300257" ]
0.0
-1
File content bytes data = 3;
public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "byte[] getData();", "byte[] getData();", "byte[] getData();", "byte[] getData();", "public void getFile(byte[] data, String name,String server) throws RemoteException;", "byte[] getByteContent() throws IOException;", "public ByteBuffer getFileData() {\n\t\treturn fileData;\n\t}", "byte[] getContent();", "byte[] getContent() throws IOException;", "public byte[] getData();", "public File getDataFile();", "byte[] readBytes();", "public byte[] getFilecontent() {\n return filecontent;\n }", "public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);", "public FileChunkReference getFileData() {\n return fileData;\n }", "byte getBlockData();", "private byte[] getContent(File f) {\n byte[] content = null;\n\n try {\n FileInputStream fis = new FileInputStream(f);\n byte[] temp = new byte[fis.available()];\n fis.read(temp);\n fis.close();\n content = temp;\n } catch (IOException e) {\n System.err.println(e.getMessage());\n }\n\n return content;\n }", "public byte[] getContent();", "public FileHandler(byte[] data) {\n this.data = data;\n }", "public ByteBuffer filedata(int pos) throws IOException\n {\n ByteBuffer buf = ByteBuffer.allocate(1024);\n \t buf.order(ByteOrder.LITTLE_ENDIAN);\n \t byte[] bytes = new byte[1024];\n f.seek(1024*pos);\n \t f.read(bytes);\n \t buf.put(bytes);\n \t return buf;\n }", "public static byte[] readId3V1Data(File file) {\n\t\tfinal byte[] buffer = new byte[128];\n\t\ttry (RandomAccessFile mp3File = new RandomAccessFile(file, \"r\")) {\n\t\t\tmp3File.seek(mp3File.length() - 128);\n\t\t\tmp3File.read(buffer, 0, 128);\n\t\t} catch (FileNotFoundException e) {\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t\treturn buffer;\n\t}", "public byte[] getFileContent() throws IOException {\n if (data != null) {\n return data;\n }\n if (tempFile != null) {\n return FileUtil.readBytes(tempFile);\n }\n return null;\n }", "FileObject getFile();", "FileObject getFile();", "public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}", "public void getData() {\n\t\tContext context = getApplicationContext();\n\t\tint ch;\n\t\tStringBuffer fileContent = new StringBuffer(\"\");\n\t\tFileInputStream fis;\n\t\ttry {\n\t\t\tfis = context.openFileInput(filename);\n\t\t\ttry {\n\t\t\t\twhile ((ch = fis.read()) != -1)\n\n\t\t\t\t\tfileContent.append((char) ch);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tdata = new String(fileContent);\n\n\t}", "public byte getData() {\n return data;\n }", "public final ByteBlock getData() { return data; }", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "byte[] getFile(String sha) throws Exception;", "void mo12945a(Data data) throws IOException;", "public byte[] read();", "com.google.protobuf.ByteString getData(int index);", "com.google.protobuf.ByteString getData(int index);", "public void data(byte[] data, int count);", "@Nullable\n public abstract byte[] getContent() throws IOException;", "void mo18920a(Data data) throws IOException;", "File getFile();", "File getFile();", "byte[] getBytes();", "byte[] getBytes();", "public byte getData() {\n return this.data;\n }", "public void onDataRecieved(byte data[]);", "public byte[] getFile() {\n return file;\n }", "private int readFdocaOneByte() {\n checkForSplitRowAndComplete(1);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readUnsignedByte();\n }", "public byte[] getData()\r\n/* 18: */ {\r\n/* 19:59 */ byte[] data = new byte[4];\r\n/* 20: */ \r\n/* 21:61 */ IntegerHelper.getTwoBytes(this.xfIndex, data, 0); int \r\n/* 22: */ \r\n/* 23: */ \r\n/* 24:64 */ tmp15_14 = 1; byte[] tmp15_13 = data;tmp15_13[tmp15_14] = ((byte)(tmp15_13[tmp15_14] | 0x80));\r\n/* 25: */ \r\n/* 26:66 */ data[2] = ((byte)this.styleNumber);\r\n/* 27: */ \r\n/* 28: */ \r\n/* 29:69 */ data[3] = -1;\r\n/* 30: */ \r\n/* 31:71 */ return data;\r\n/* 32: */ }", "private byte[] readFdocaBytes(int length) {\n\n checkForSplitRowAndComplete(length);\n\n byte[] b = new byte[length];\n dataBuffer_.readBytes(b);\n// System.arraycopy(dataBuffer_, position_, b, 0, length);\n// position_ += length;\n//\n return b;\n }", "@Column(name = \"FILE_CONTENT\" )\n @Lob\n public Byte[] getFileContent() {\n return fileContent;\n }", "public static byte[] readFile(File file, int valueType) {\n if (!file.exists()) {\n Log.e(TAG, \"The file doesn't exist\");\n }\n try {\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n FileInputStream fileInputStream = new FileInputStream(file);\n BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream);\n byte[] buf = new byte[4096];\n switch (valueType) {\n case 0:\n case 1:\n case 2:\n case 3:\n while (bufferedInputStream.read(buf) != -1) {\n byteArrayOutputStream.write(buf, 16 * valueType, 16);\n }\n break;\n case 4:\n if (!file.getName().equals(\"E_SK2\")) {\n if (!file.getName().equals(\"E_PIN2\")) {\n while (true) {\n int len = bufferedInputStream.read(buf);\n if (len == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, (len - 32) - (16 * 1));\n }\n }\n } else {\n while (true) {\n int len2 = bufferedInputStream.read(buf);\n if (len2 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, ((len2 - 32) - (16 * 1)) - PKLENGTH);\n }\n }\n }\n } else {\n while (true) {\n int len3 = bufferedInputStream.read(buf);\n if (len3 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 4, (len3 - 32) - (16 * 4));\n }\n }\n }\n case 5:\n while (true) {\n int len4 = bufferedInputStream.read(buf);\n if (len4 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, len4 - 32, 32);\n }\n }\n case PUBLICKEY /* 7 */:\n while (true) {\n int len5 = bufferedInputStream.read(buf);\n if (len5 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, (len5 - 32) - PKLENGTH, PKLENGTH);\n }\n }\n case 8:\n while (true) {\n int len6 = bufferedInputStream.read(buf);\n if (len6 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 0, len6 - 32);\n }\n }\n }\n byte[] buffer = byteArrayOutputStream.toByteArray();\n bufferedInputStream.close();\n fileInputStream.close();\n byteArrayOutputStream.close();\n return buffer;\n } catch (IOException e) {\n Log.e(TAG, \"read file exception!\" + e.getMessage());\n return new byte[0];\n }\n }", "@Override\n public int getFile() {\n return file;\n }", "public byte[] getBytes() throws IOException {\r\n return mFile.getBytes();\r\n }", "@Test\n public void testGetBytes() {\n System.out.println(\"getBytes\");\n RecordFile instance = new RecordFile();\n \n String first = \"hello\";\n String second = \"hello 2\";\n String third = \"hello 3\";\n String meta = \"hello, I'm meta!\";\n \n instance.setMeta(meta.getBytes());\n instance.write(first.getBytes(), 0);\n instance.write(second.getBytes(), 1);\n instance.write(third.getBytes(), 2);\n \n byte[] bytes = instance.getBytes();\n \n instance = new RecordFile(bytes);\n \n Assert.assertEquals(RecordFile.DEFAULT_RECORDS, instance.compacity());\n Assert.assertEquals(meta, new String(instance.getMeta()));\n Assert.assertEquals(first, new String(instance.read(0)));\n Assert.assertEquals(second, new String(instance.read(1)));\n Assert.assertEquals(third, new String(instance.read(2)));\n }", "public byte[] getByteData() { return bytedata; }", "public byte[] getbyteArray() {\n byte[] output = new byte[header_size+fileData.length];\n output[0] = (byte)((type & 0xff00)>> 8);\n output[1] = (byte)(type & 0xff);\n output[2] = (byte)((length & 0xff00)>> 8);\n\t output[3] = (byte)(length & 0xff);\n output[4] = (byte)((clientID & 0xff00)>> 8);\n output[5] = (byte)(clientID & 0xff);\n output[6] = action;\n byte[] temp2 = ByteBuffer.allocate(4).putInt(sectionLength).array();\n for(int i=0;i<4;i++) {\n output[7+i] = temp2[i]; \n }\n temp2 = ByteBuffer.allocate(4).putInt(filePosition).array();\n for(int j=0;j<4;j++) {\n output[11+j] = temp2[j]; \n }\n //copy file data\n System.arraycopy(fileData, 0,output, 15,fileData.length); \n return output;\n }", "private int readFdocaOneByte(int index) {\n\n checkForSplitRowAndComplete(1, index);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readByte();\n }", "public static byte[] readBytesFromFile(File f) {\r\n byte[] bytes = null;\r\n try {\r\n int filesize = (int) f.length();\r\n bytes = new byte[filesize];\r\n DataInputStream in = new DataInputStream(new FileInputStream(f));\r\n in.readFully(bytes);\r\n in.close();\r\n } catch (Exception e) {\r\n System.out.println(\"Error reading byte[] from file: \"\r\n + e.getMessage());\r\n return null;\r\n }\r\n return bytes;\r\n }", "public Object getContent() {\n/* 112 */ return this.buf;\n/* */ }", "com.google.protobuf.ByteString getContent();", "com.google.protobuf.ByteString getContent();", "public byte[] getFile(final String file) throws RemoteException;", "String getFile();", "String getFile();", "String getFile();", "com.google.protobuf.ByteString getContentBytes();", "public static void vu0DownloadData(int index, byte[] data) { }", "private static byte[] getFileAsByte(String pathFile) {\n\t\tFile file = new File(pathFile);\n\n\t\ttry {\n\t\t\tFileInputStream fin = new FileInputStream(file);\n\t\t\tbyte fileContent[] = new byte[(int) file.length()];\n\t\t\tfin.read(fileContent);\n\t\t\tfin.close();\n\n\t\t\treturn fileContent;\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLOGGER.error(\"File not found: \" + e);\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"Exception while reading the file: \" + e);\n\t\t}\n\t\treturn null;\n\t}", "public byte[] getData(String h) {\n String[] CATF = {\"git\", \"cat-file\", \"-p\", h};\n return exec(CATF);\n }", "private static byte[] m136428a(File file) throws IOException {\n FileInputStream fileInputStream = new FileInputStream(file);\n byte[] bArr = new byte[((int) file.length())];\n int i = 0;\n while (i < bArr.length) {\n int read = fileInputStream.read(bArr, i, bArr.length - i);\n if (read < 0) {\n break;\n }\n i += read;\n }\n if (i >= bArr.length) {\n fileInputStream.close();\n return bArr;\n }\n StringBuilder sb = new StringBuilder(\"Could not completely read file \");\n sb.append(file.getName());\n throw new IOException(sb.toString());\n }", "char[] getCharContent() throws IOException;", "public byte[] loadData(FileWindow window)\n\t\t{\n\t\t\tbyte[] result = null;\n\t\t\tFileChannel channel = getFileChannel(false);\n\t\t\tif (channel != null)\n\t\t\t{\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(window.getFilePartSize());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tchannel.read(buffer, window.getFilePartOffset());\n\t\t\t\t\tif (buffer.hasArray())\n\t\t\t\t\t{\n\t\t\t\t\t\tresult = buffer.array();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (IOException e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Error reading from file channel \" + channel, e);\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tIOUtils.closeQuietly(channel);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "byte[] getData() {\n return data;\n }", "InputStream getDataStream();", "public byte[] bytes() throws IOException {\n try(FileInputStream fis = new FileInputStream(file)) {\n return ByteStreams.toByteArray(fis);\n }\n }", "public int getFile() {\n validify();\n return Client.INSTANCE.pieceGetFile(ptr);\n }", "private byte[] readFixedLengthContent(ByteBuf in) throws UnsupportedEncodingException {\n if (in.readableBytes() < 2) {\n return new byte[]{};\n }\n int strLen = in.readableBytes();\n// if (in.readableBytes() < strLen) {\n// return null;\n// }\n byte[] strRaw = new byte[strLen];\n in.readBytes(strRaw);\n\n return strRaw;\n }", "public File getFileValue();", "void setData(byte[] data);", "public byte[] getData()\r\n/* 20: */ {\r\n/* 21:60 */ byte[] data = new byte[2];\r\n/* 22: */ \r\n/* 23:62 */ IntegerHelper.getTwoBytes(this.calcCount, data, 0);\r\n/* 24: */ \r\n/* 25:64 */ return data;\r\n/* 26: */ }", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "public byte[] getData() {\n\treturn null;\n }", "byte[] inflate(byte[] data) throws IOException;", "public byte[] getData() {\n return data;\n }", "public byte[] getData()\r\n/* 38: */ {\r\n/* 39: 98 */ byte[] data = new byte[18];\r\n/* 40: */ \r\n/* 41:100 */ int options = 0;\r\n/* 42:102 */ if (this.promptBoxVisible) {\r\n/* 43:104 */ options |= PROMPT_BOX_VISIBLE_MASK;\r\n/* 44: */ }\r\n/* 45:107 */ if (this.promptBoxAtCell) {\r\n/* 46:109 */ options |= PROMPT_BOX_AT_CELL_MASK;\r\n/* 47: */ }\r\n/* 48:112 */ if (this.validityDataCached) {\r\n/* 49:114 */ options |= VALIDITY_DATA_CACHED_MASK;\r\n/* 50: */ }\r\n/* 51:117 */ IntegerHelper.getTwoBytes(options, data, 0);\r\n/* 52: */ \r\n/* 53:119 */ IntegerHelper.getFourBytes(this.objectId, data, 10);\r\n/* 54: */ \r\n/* 55:121 */ IntegerHelper.getFourBytes(this.numDVRecords, data, 14);\r\n/* 56: */ \r\n/* 57:123 */ return data;\r\n/* 58: */ }", "public byte[] getData() {\r\n return Arrays.copyOf(data, data.length);\r\n }", "public abstract byte read_octet();", "void loadNodeData(byte[] data) throws Exception;" ]
[ "0.6709735", "0.6709735", "0.6709735", "0.6709735", "0.66785", "0.6659824", "0.6581903", "0.6383353", "0.63418925", "0.62733114", "0.62677306", "0.62643033", "0.61281914", "0.609729", "0.6084979", "0.60340255", "0.601819", "0.60013723", "0.595937", "0.59351724", "0.59279966", "0.591943", "0.589374", "0.589374", "0.5880462", "0.58455914", "0.5838588", "0.58351654", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5794297", "0.5770274", "0.5748435", "0.57187235", "0.57187235", "0.5708217", "0.56941706", "0.5679498", "0.56645906", "0.56645906", "0.56630516", "0.56630516", "0.56359535", "0.56304836", "0.56226707", "0.56213856", "0.5604026", "0.5602977", "0.5602889", "0.56022096", "0.557618", "0.5575854", "0.5548122", "0.55321366", "0.5509312", "0.5502337", "0.54915285", "0.5478545", "0.5476886", "0.5476886", "0.5475332", "0.54735583", "0.54735583", "0.54735583", "0.5462679", "0.5461663", "0.5457024", "0.5456652", "0.5419763", "0.5409318", "0.5407993", "0.54057324", "0.53989375", "0.5396377", "0.53803045", "0.53771585", "0.53761363", "0.53729665", "0.53659993", "0.53529865", "0.53529865", "0.53496736", "0.53496736", "0.5349085", "0.5349048", "0.5348476", "0.5330209", "0.53163624", "0.5310617", "0.5300257" ]
0.0
-1
File content bytes data = 3;
public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "byte[] getData();", "byte[] getData();", "byte[] getData();", "byte[] getData();", "public void getFile(byte[] data, String name,String server) throws RemoteException;", "byte[] getByteContent() throws IOException;", "public ByteBuffer getFileData() {\n\t\treturn fileData;\n\t}", "byte[] getContent();", "byte[] getContent() throws IOException;", "public byte[] getData();", "public File getDataFile();", "byte[] readBytes();", "public byte[] getFilecontent() {\n return filecontent;\n }", "public void OnFileDataReceived(byte[] data,int read, int length, int downloaded);", "public FileChunkReference getFileData() {\n return fileData;\n }", "byte getBlockData();", "private byte[] getContent(File f) {\n byte[] content = null;\n\n try {\n FileInputStream fis = new FileInputStream(f);\n byte[] temp = new byte[fis.available()];\n fis.read(temp);\n fis.close();\n content = temp;\n } catch (IOException e) {\n System.err.println(e.getMessage());\n }\n\n return content;\n }", "public byte[] getContent();", "public FileHandler(byte[] data) {\n this.data = data;\n }", "public ByteBuffer filedata(int pos) throws IOException\n {\n ByteBuffer buf = ByteBuffer.allocate(1024);\n \t buf.order(ByteOrder.LITTLE_ENDIAN);\n \t byte[] bytes = new byte[1024];\n f.seek(1024*pos);\n \t f.read(bytes);\n \t buf.put(bytes);\n \t return buf;\n }", "public static byte[] readId3V1Data(File file) {\n\t\tfinal byte[] buffer = new byte[128];\n\t\ttry (RandomAccessFile mp3File = new RandomAccessFile(file, \"r\")) {\n\t\t\tmp3File.seek(mp3File.length() - 128);\n\t\t\tmp3File.read(buffer, 0, 128);\n\t\t} catch (FileNotFoundException e) {\n\n\t\t} catch (IOException e) {\n\n\t\t}\n\t\treturn buffer;\n\t}", "public byte[] getFileContent() throws IOException {\n if (data != null) {\n return data;\n }\n if (tempFile != null) {\n return FileUtil.readBytes(tempFile);\n }\n return null;\n }", "FileObject getFile();", "FileObject getFile();", "public byte[] getFileBytes(){\n\t\treturn fileBytes;\n\t}", "public void getData() {\n\t\tContext context = getApplicationContext();\n\t\tint ch;\n\t\tStringBuffer fileContent = new StringBuffer(\"\");\n\t\tFileInputStream fis;\n\t\ttry {\n\t\t\tfis = context.openFileInput(filename);\n\t\t\ttry {\n\t\t\t\twhile ((ch = fis.read()) != -1)\n\n\t\t\t\t\tfileContent.append((char) ch);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tdata = new String(fileContent);\n\n\t}", "public byte getData() {\n return data;\n }", "public final ByteBlock getData() { return data; }", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "byte[] getFile(String sha) throws Exception;", "void mo12945a(Data data) throws IOException;", "public byte[] read();", "com.google.protobuf.ByteString getData(int index);", "com.google.protobuf.ByteString getData(int index);", "public void data(byte[] data, int count);", "@Nullable\n public abstract byte[] getContent() throws IOException;", "void mo18920a(Data data) throws IOException;", "File getFile();", "File getFile();", "byte[] getBytes();", "byte[] getBytes();", "public byte getData() {\n return this.data;\n }", "public void onDataRecieved(byte data[]);", "public byte[] getFile() {\n return file;\n }", "private int readFdocaOneByte() {\n checkForSplitRowAndComplete(1);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readUnsignedByte();\n }", "public byte[] getData()\r\n/* 18: */ {\r\n/* 19:59 */ byte[] data = new byte[4];\r\n/* 20: */ \r\n/* 21:61 */ IntegerHelper.getTwoBytes(this.xfIndex, data, 0); int \r\n/* 22: */ \r\n/* 23: */ \r\n/* 24:64 */ tmp15_14 = 1; byte[] tmp15_13 = data;tmp15_13[tmp15_14] = ((byte)(tmp15_13[tmp15_14] | 0x80));\r\n/* 25: */ \r\n/* 26:66 */ data[2] = ((byte)this.styleNumber);\r\n/* 27: */ \r\n/* 28: */ \r\n/* 29:69 */ data[3] = -1;\r\n/* 30: */ \r\n/* 31:71 */ return data;\r\n/* 32: */ }", "private byte[] readFdocaBytes(int length) {\n\n checkForSplitRowAndComplete(length);\n\n byte[] b = new byte[length];\n dataBuffer_.readBytes(b);\n// System.arraycopy(dataBuffer_, position_, b, 0, length);\n// position_ += length;\n//\n return b;\n }", "@Column(name = \"FILE_CONTENT\" )\n @Lob\n public Byte[] getFileContent() {\n return fileContent;\n }", "public static byte[] readFile(File file, int valueType) {\n if (!file.exists()) {\n Log.e(TAG, \"The file doesn't exist\");\n }\n try {\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n FileInputStream fileInputStream = new FileInputStream(file);\n BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream);\n byte[] buf = new byte[4096];\n switch (valueType) {\n case 0:\n case 1:\n case 2:\n case 3:\n while (bufferedInputStream.read(buf) != -1) {\n byteArrayOutputStream.write(buf, 16 * valueType, 16);\n }\n break;\n case 4:\n if (!file.getName().equals(\"E_SK2\")) {\n if (!file.getName().equals(\"E_PIN2\")) {\n while (true) {\n int len = bufferedInputStream.read(buf);\n if (len == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, (len - 32) - (16 * 1));\n }\n }\n } else {\n while (true) {\n int len2 = bufferedInputStream.read(buf);\n if (len2 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 1, ((len2 - 32) - (16 * 1)) - PKLENGTH);\n }\n }\n }\n } else {\n while (true) {\n int len3 = bufferedInputStream.read(buf);\n if (len3 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 16 * 4, (len3 - 32) - (16 * 4));\n }\n }\n }\n case 5:\n while (true) {\n int len4 = bufferedInputStream.read(buf);\n if (len4 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, len4 - 32, 32);\n }\n }\n case PUBLICKEY /* 7 */:\n while (true) {\n int len5 = bufferedInputStream.read(buf);\n if (len5 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, (len5 - 32) - PKLENGTH, PKLENGTH);\n }\n }\n case 8:\n while (true) {\n int len6 = bufferedInputStream.read(buf);\n if (len6 == -1) {\n break;\n } else {\n byteArrayOutputStream.write(buf, 0, len6 - 32);\n }\n }\n }\n byte[] buffer = byteArrayOutputStream.toByteArray();\n bufferedInputStream.close();\n fileInputStream.close();\n byteArrayOutputStream.close();\n return buffer;\n } catch (IOException e) {\n Log.e(TAG, \"read file exception!\" + e.getMessage());\n return new byte[0];\n }\n }", "@Override\n public int getFile() {\n return file;\n }", "public byte[] getBytes() throws IOException {\r\n return mFile.getBytes();\r\n }", "@Test\n public void testGetBytes() {\n System.out.println(\"getBytes\");\n RecordFile instance = new RecordFile();\n \n String first = \"hello\";\n String second = \"hello 2\";\n String third = \"hello 3\";\n String meta = \"hello, I'm meta!\";\n \n instance.setMeta(meta.getBytes());\n instance.write(first.getBytes(), 0);\n instance.write(second.getBytes(), 1);\n instance.write(third.getBytes(), 2);\n \n byte[] bytes = instance.getBytes();\n \n instance = new RecordFile(bytes);\n \n Assert.assertEquals(RecordFile.DEFAULT_RECORDS, instance.compacity());\n Assert.assertEquals(meta, new String(instance.getMeta()));\n Assert.assertEquals(first, new String(instance.read(0)));\n Assert.assertEquals(second, new String(instance.read(1)));\n Assert.assertEquals(third, new String(instance.read(2)));\n }", "public byte[] getByteData() { return bytedata; }", "public byte[] getbyteArray() {\n byte[] output = new byte[header_size+fileData.length];\n output[0] = (byte)((type & 0xff00)>> 8);\n output[1] = (byte)(type & 0xff);\n output[2] = (byte)((length & 0xff00)>> 8);\n\t output[3] = (byte)(length & 0xff);\n output[4] = (byte)((clientID & 0xff00)>> 8);\n output[5] = (byte)(clientID & 0xff);\n output[6] = action;\n byte[] temp2 = ByteBuffer.allocate(4).putInt(sectionLength).array();\n for(int i=0;i<4;i++) {\n output[7+i] = temp2[i]; \n }\n temp2 = ByteBuffer.allocate(4).putInt(filePosition).array();\n for(int j=0;j<4;j++) {\n output[11+j] = temp2[j]; \n }\n //copy file data\n System.arraycopy(fileData, 0,output, 15,fileData.length); \n return output;\n }", "private int readFdocaOneByte(int index) {\n\n checkForSplitRowAndComplete(1, index);\n //return dataBuffer_[position_++] & 0xff;\n return dataBuffer_.readByte();\n }", "public static byte[] readBytesFromFile(File f) {\r\n byte[] bytes = null;\r\n try {\r\n int filesize = (int) f.length();\r\n bytes = new byte[filesize];\r\n DataInputStream in = new DataInputStream(new FileInputStream(f));\r\n in.readFully(bytes);\r\n in.close();\r\n } catch (Exception e) {\r\n System.out.println(\"Error reading byte[] from file: \"\r\n + e.getMessage());\r\n return null;\r\n }\r\n return bytes;\r\n }", "public Object getContent() {\n/* 112 */ return this.buf;\n/* */ }", "com.google.protobuf.ByteString getContent();", "com.google.protobuf.ByteString getContent();", "public byte[] getFile(final String file) throws RemoteException;", "String getFile();", "String getFile();", "String getFile();", "com.google.protobuf.ByteString getContentBytes();", "public static void vu0DownloadData(int index, byte[] data) { }", "private static byte[] getFileAsByte(String pathFile) {\n\t\tFile file = new File(pathFile);\n\n\t\ttry {\n\t\t\tFileInputStream fin = new FileInputStream(file);\n\t\t\tbyte fileContent[] = new byte[(int) file.length()];\n\t\t\tfin.read(fileContent);\n\t\t\tfin.close();\n\n\t\t\treturn fileContent;\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLOGGER.error(\"File not found: \" + e);\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"Exception while reading the file: \" + e);\n\t\t}\n\t\treturn null;\n\t}", "public byte[] getData(String h) {\n String[] CATF = {\"git\", \"cat-file\", \"-p\", h};\n return exec(CATF);\n }", "private static byte[] m136428a(File file) throws IOException {\n FileInputStream fileInputStream = new FileInputStream(file);\n byte[] bArr = new byte[((int) file.length())];\n int i = 0;\n while (i < bArr.length) {\n int read = fileInputStream.read(bArr, i, bArr.length - i);\n if (read < 0) {\n break;\n }\n i += read;\n }\n if (i >= bArr.length) {\n fileInputStream.close();\n return bArr;\n }\n StringBuilder sb = new StringBuilder(\"Could not completely read file \");\n sb.append(file.getName());\n throw new IOException(sb.toString());\n }", "char[] getCharContent() throws IOException;", "public byte[] loadData(FileWindow window)\n\t\t{\n\t\t\tbyte[] result = null;\n\t\t\tFileChannel channel = getFileChannel(false);\n\t\t\tif (channel != null)\n\t\t\t{\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(window.getFilePartSize());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tchannel.read(buffer, window.getFilePartOffset());\n\t\t\t\t\tif (buffer.hasArray())\n\t\t\t\t\t{\n\t\t\t\t\t\tresult = buffer.array();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (IOException e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Error reading from file channel \" + channel, e);\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tIOUtils.closeQuietly(channel);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "byte[] getData() {\n return data;\n }", "InputStream getDataStream();", "public byte[] bytes() throws IOException {\n try(FileInputStream fis = new FileInputStream(file)) {\n return ByteStreams.toByteArray(fis);\n }\n }", "public int getFile() {\n validify();\n return Client.INSTANCE.pieceGetFile(ptr);\n }", "private byte[] readFixedLengthContent(ByteBuf in) throws UnsupportedEncodingException {\n if (in.readableBytes() < 2) {\n return new byte[]{};\n }\n int strLen = in.readableBytes();\n// if (in.readableBytes() < strLen) {\n// return null;\n// }\n byte[] strRaw = new byte[strLen];\n in.readBytes(strRaw);\n\n return strRaw;\n }", "public File getFileValue();", "void setData(byte[] data);", "public byte[] getData()\r\n/* 20: */ {\r\n/* 21:60 */ byte[] data = new byte[2];\r\n/* 22: */ \r\n/* 23:62 */ IntegerHelper.getTwoBytes(this.calcCount, data, 0);\r\n/* 24: */ \r\n/* 25:64 */ return data;\r\n/* 26: */ }", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "com.google.protobuf.ByteString\n getContentBytes();", "public byte[] getData() {\n\treturn null;\n }", "byte[] inflate(byte[] data) throws IOException;", "public byte[] getData() {\n return data;\n }", "public byte[] getData()\r\n/* 38: */ {\r\n/* 39: 98 */ byte[] data = new byte[18];\r\n/* 40: */ \r\n/* 41:100 */ int options = 0;\r\n/* 42:102 */ if (this.promptBoxVisible) {\r\n/* 43:104 */ options |= PROMPT_BOX_VISIBLE_MASK;\r\n/* 44: */ }\r\n/* 45:107 */ if (this.promptBoxAtCell) {\r\n/* 46:109 */ options |= PROMPT_BOX_AT_CELL_MASK;\r\n/* 47: */ }\r\n/* 48:112 */ if (this.validityDataCached) {\r\n/* 49:114 */ options |= VALIDITY_DATA_CACHED_MASK;\r\n/* 50: */ }\r\n/* 51:117 */ IntegerHelper.getTwoBytes(options, data, 0);\r\n/* 52: */ \r\n/* 53:119 */ IntegerHelper.getFourBytes(this.objectId, data, 10);\r\n/* 54: */ \r\n/* 55:121 */ IntegerHelper.getFourBytes(this.numDVRecords, data, 14);\r\n/* 56: */ \r\n/* 57:123 */ return data;\r\n/* 58: */ }", "public byte[] getData() {\r\n return Arrays.copyOf(data, data.length);\r\n }", "public abstract byte read_octet();", "void loadNodeData(byte[] data) throws Exception;" ]
[ "0.6709735", "0.6709735", "0.6709735", "0.6709735", "0.66785", "0.6659824", "0.6581903", "0.6383353", "0.63418925", "0.62733114", "0.62677306", "0.62643033", "0.61281914", "0.609729", "0.6084979", "0.60340255", "0.601819", "0.60013723", "0.595937", "0.59351724", "0.59279966", "0.591943", "0.589374", "0.589374", "0.5880462", "0.58455914", "0.5838588", "0.58351654", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5813266", "0.5794297", "0.5770274", "0.5748435", "0.57187235", "0.57187235", "0.5708217", "0.56941706", "0.5679498", "0.56645906", "0.56645906", "0.56630516", "0.56630516", "0.56359535", "0.56304836", "0.56226707", "0.56213856", "0.5604026", "0.5602977", "0.5602889", "0.56022096", "0.557618", "0.5575854", "0.5548122", "0.55321366", "0.5509312", "0.5502337", "0.54915285", "0.5478545", "0.5476886", "0.5476886", "0.5475332", "0.54735583", "0.54735583", "0.54735583", "0.5462679", "0.5461663", "0.5457024", "0.5456652", "0.5419763", "0.5409318", "0.5407993", "0.54057324", "0.53989375", "0.5396377", "0.53803045", "0.53771585", "0.53761363", "0.53729665", "0.53659993", "0.53529865", "0.53529865", "0.53496736", "0.53496736", "0.5349085", "0.5349048", "0.5348476", "0.5330209", "0.53163624", "0.5310617", "0.5300257" ]
0.0
-1
.Message.Type type = 1;
int getTypeValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "messages.Basemessage.BaseMessage.Type getType();", "public void setMessageType(MessageType messageType) {\n this.messageType = messageType;\n }", "com.mycompany.midtermproject2.proto.ServerMessageOuterClass.ServerMessage.MsgType getType();", "MessageProto.MSG getType();", "entities.Torrent.Message.Type getType();", "public MessageType getMessageType() {\n return messageType;\n }", "public void setMessageType(Integer messageType) {\n this.messageType = messageType;\n }", "com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType();", "public void setMessageType(String messageType)\r\n\t{\r\n\t\tthis.messageType = messageType;\r\n\t}", "public int getMessageType()\r\n {\r\n return msgType;\r\n }", "public abstract MessageType getType();", "public abstract MessageType getType();", "public void setMessageType(MessageType messageType) {\n\t\tthis.messageType = messageType;\n\t}", "public int getMsgType(){\r\n return localMsgType;\r\n }", "MessagesType createMessagesType();", "public interface MessageType {\n\n /**\n * 心跳消息\n */\n byte PING = 1;\n\n /**\n * 心跳回复\n */\n byte PONG = 2;\n\n /**\n * 业务数据\n */\n byte BUSINESS = 3;\n}", "org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type getType();", "public void setMessageType(java.lang.String messageType) {\r\n this.messageType = messageType;\r\n }", "public void setMsgType(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n \r\n if (param==java.lang.Integer.MIN_VALUE) {\r\n localMsgTypeTracker = false;\r\n \r\n } else {\r\n localMsgTypeTracker = true;\r\n }\r\n \r\n this.localMsgType=param;\r\n \r\n\r\n }", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "MessageType getType();", "com.randomm.server.ProtoBufMessage.Message.InputType getType();", "MessageType createMessageType();", "public static void typeMessage(String message) {\n\n }", "public Message(String type, Object message) {\n\t\tthis.type = type;\n\t\tthis.message = message;\n\t}", "messages.Statusmessage.StatusMessage getStatus();", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "public Integer getMessageType() {\n return messageType;\n }", "private MessageType(String value) {\n\t\tthis.value = value;\n\t}", "public MessageType getType() {\n return msgType;\n }", "public abstract String getMessageType();", "public Builder setMsgType(int value) {\n\n msgType_ = value;\n onChanged();\n return this;\n }", "public TrackedMessage(int messageType) {\n\tsuper(messageType);\n }", "@Test\n public void messageTypeTest() {\n // TODO: test messageType\n }", "int getMsgType();", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "void mo80456b(Message message);", "void mo23214a(Message message);", "public String getMessageType()\r\n\t{\r\n\t\treturn this.messageType;\r\n\t}", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "public interface MqttMessageType {\n}", "public Utils.MessageType getMessageType() {\n return messageType;\n }", "protected abstract MessageType getMessageType();", "public int getMsgType() {\n return msgType_;\n }", "TransmissionProtocol.Type getType();", "public Builder setType(MessageProto.MSG value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "void mo80453a(Message message);", "com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType.Enum getType();", "public void setMsgType(int msgType) {\n\t\tthis.msgType = msgType;\n\t}", "GetMessagesType(Message message) {\n super(message);\n }", "public MessageType getType() {\n return m_type;\n }", "com.felania.msldb.MsgSummonOuterClass.MsgSummon.SummonType getType();", "public Builder setType(org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public java.lang.String getMessageType() {\r\n return messageType;\r\n }", "public Message newMessage(String type) {\n\tString address = null;\n\n\t/*\n * Provide the default address from the original open.\n */\n\n\tif (((m_mode & Connector.WRITE) > 0) && (host != null)) {\n\t address = ADDRESS_PREFIX + host;\n\t if (m_iport != 0) {\n\t\taddress = address + \":\" + String.valueOf(m_iport);\n\t }\n\t}\n\n\treturn newMessage(type, address);\n }", "public ServerMessage(int type)\n\t{\n\t\tthis.type = type;\n\t\tthis.key = Tools.generateUniqueKey();\n\t}", "public Builder setMsgType(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msgType_ = value;\n onChanged();\n return this;\n }", "private String getType(){\r\n return type;\r\n }", "public int getMsgType() {\n\t\treturn msgType;\n\t}", "public int getMsgType() {\n return msgType_;\n }", "com.czht.face.recognition.Czhtdev.MessageType getType();", "public Builder setType(com.czht.face.recognition.Czhtdev.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "proto.MessagesProtos.ClientRequest.MessageType getType();", "void setType(Type type)\n {\n this.type = type;\n }", "int getChatTypeValue();", "public static MessageType getType(String type){\n\t\t\tMessageType msgType = PING;\n\t\t\tswitch(type){\n\t\t\tcase \"login\" : msgType = LOGIN; break;\n\t\t\tcase \"get\" : msgType = GET_TOPIC; break;\n\t\t\tcase \"new\" : msgType = NEW; break;\n\t\t\tcase \"ping\" : msgType = PING; break;\n\t\t\tcase \"select\" : msgType = SELECT; break;\n\t\t\tcase \"append\" : msgType = APPEND; break;\n\t\t\t}\n\t\t\treturn msgType;\n\t\t}", "AcknowledgementType createAcknowledgementType();", "public ChatMessage(MessageType type, Object message) {\n m_type = type;\n m_message = message;\n }", "public void setCodetypemessage(java.lang.String codetypemessage) {\r\n\t\tthis.codetypemessage = codetypemessage;\r\n\t}", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "void handleMessage(byte messageType, Object message);", "messages.Clienthello.ClientHello getClientHello();", "public MessageType getMessageType() {\n\t\treturn messageType;\n\t}", "@java.lang.Override\n public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "public Builder setType(entities.Torrent.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public interface RequestMessage extends Message{\n}", "public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "messages.Statusmessage.StatusMessageOrBuilder getStatusOrBuilder();", "public MessageClackData(String userName, String message, int type) {\n super(userName, type);\n this.message = message;\n }", "public Builder setType(proto.MessagesProtos.ClientRequest.MessageType value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\ttype_ = value.getNumber();\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public MessageFactory(int type) {\n super(type);\n }", "public Builder setType(com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value;\n onChanged();\n return this;\n }", "MessageRefType createMessageRefType();", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "void setType(String type) {\n this.type = type;\n }", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "public org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type getType() {\n org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type result = org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.valueOf(type_);\n return result == null ? org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.MESSAGE : result;\n }", "public int getType() { return type; }", "public int getType() { return type; }", "public OutMessage voiceTypeMsg(InMessage msg) {\n\t\treturn null;\n\t}", "private void SendMessage(Object m, MessageType type)\n\t{\n\t\tMessage message = new Message();\n\t\tmessage.messageType = type;\n\t\tmessage.message = m;\n\t\t\n\t\ttry {\n\t\t\tout.writeObject(message);\n\t\t\tout.flush();\n\t\t} catch (IOException e) {\n\t\t\tApplicationManager.textChat.write(\"Cant send message\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public String getMessageType() {\n return type.getMessage().getName();\n }", "@java.lang.Override public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "void xsetType(\n com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType type);", "public String getType() {return type;}", "public void setReplyType(String rt) {\n/* 318 */ getCOSObject().setName(\"RT\", rt);\n/* */ }", "MessageDef getMessageDef();", "public String getType() { return type; }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type){\n \tthis.type = type;\n }" ]
[ "0.76834935", "0.7161924", "0.70100325", "0.7006431", "0.68929917", "0.6785468", "0.67662466", "0.67096376", "0.66822636", "0.6639946", "0.65447265", "0.65447265", "0.6533048", "0.65253127", "0.6489351", "0.64224726", "0.6416736", "0.64089113", "0.6403562", "0.639956", "0.63863814", "0.6372553", "0.636792", "0.63554", "0.6352845", "0.6309444", "0.62186754", "0.62135017", "0.6175804", "0.61714685", "0.6151079", "0.614499", "0.6133628", "0.61299497", "0.61257756", "0.6091832", "0.6059728", "0.60416305", "0.6020069", "0.60116404", "0.6010109", "0.60086036", "0.59990335", "0.5996914", "0.5991604", "0.59668684", "0.5957386", "0.59338063", "0.5930317", "0.59136236", "0.59084713", "0.58940005", "0.58925015", "0.58834237", "0.588014", "0.5870751", "0.5853789", "0.5840657", "0.5821761", "0.5795684", "0.57834977", "0.57816994", "0.57796675", "0.5779503", "0.57681215", "0.5763239", "0.5760106", "0.57596815", "0.5745686", "0.57402146", "0.57204777", "0.571773", "0.5714876", "0.5688004", "0.5680468", "0.56770366", "0.56743056", "0.566644", "0.5655351", "0.5648978", "0.5637215", "0.56311643", "0.56310236", "0.56252176", "0.562439", "0.5604949", "0.5588309", "0.5566066", "0.556538", "0.556538", "0.5562787", "0.55599236", "0.5557447", "0.55431515", "0.5542843", "0.55426425", "0.5530866", "0.5523494", "0.55103534", "0.5507555", "0.55005246" ]
0.0
-1
.Message.Type type = 1;
entities.Torrent.Message.Type getType();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "messages.Basemessage.BaseMessage.Type getType();", "public void setMessageType(MessageType messageType) {\n this.messageType = messageType;\n }", "com.mycompany.midtermproject2.proto.ServerMessageOuterClass.ServerMessage.MsgType getType();", "MessageProto.MSG getType();", "public MessageType getMessageType() {\n return messageType;\n }", "public void setMessageType(Integer messageType) {\n this.messageType = messageType;\n }", "com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType();", "public void setMessageType(String messageType)\r\n\t{\r\n\t\tthis.messageType = messageType;\r\n\t}", "public int getMessageType()\r\n {\r\n return msgType;\r\n }", "public abstract MessageType getType();", "public abstract MessageType getType();", "public void setMessageType(MessageType messageType) {\n\t\tthis.messageType = messageType;\n\t}", "public int getMsgType(){\r\n return localMsgType;\r\n }", "MessagesType createMessagesType();", "public interface MessageType {\n\n /**\n * 心跳消息\n */\n byte PING = 1;\n\n /**\n * 心跳回复\n */\n byte PONG = 2;\n\n /**\n * 业务数据\n */\n byte BUSINESS = 3;\n}", "org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type getType();", "public void setMessageType(java.lang.String messageType) {\r\n this.messageType = messageType;\r\n }", "public void setMsgType(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n \r\n if (param==java.lang.Integer.MIN_VALUE) {\r\n localMsgTypeTracker = false;\r\n \r\n } else {\r\n localMsgTypeTracker = true;\r\n }\r\n \r\n this.localMsgType=param;\r\n \r\n\r\n }", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "MessageType getType();", "com.randomm.server.ProtoBufMessage.Message.InputType getType();", "MessageType createMessageType();", "public static void typeMessage(String message) {\n\n }", "public Message(String type, Object message) {\n\t\tthis.type = type;\n\t\tthis.message = message;\n\t}", "messages.Statusmessage.StatusMessage getStatus();", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "public Integer getMessageType() {\n return messageType;\n }", "private MessageType(String value) {\n\t\tthis.value = value;\n\t}", "public MessageType getType() {\n return msgType;\n }", "public abstract String getMessageType();", "public Builder setMsgType(int value) {\n\n msgType_ = value;\n onChanged();\n return this;\n }", "public TrackedMessage(int messageType) {\n\tsuper(messageType);\n }", "@Test\n public void messageTypeTest() {\n // TODO: test messageType\n }", "int getMsgType();", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "void mo80456b(Message message);", "void mo23214a(Message message);", "public String getMessageType()\r\n\t{\r\n\t\treturn this.messageType;\r\n\t}", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "public interface MqttMessageType {\n}", "public Utils.MessageType getMessageType() {\n return messageType;\n }", "protected abstract MessageType getMessageType();", "public int getMsgType() {\n return msgType_;\n }", "TransmissionProtocol.Type getType();", "public Builder setType(MessageProto.MSG value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "void mo80453a(Message message);", "com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType.Enum getType();", "public void setMsgType(int msgType) {\n\t\tthis.msgType = msgType;\n\t}", "GetMessagesType(Message message) {\n super(message);\n }", "public MessageType getType() {\n return m_type;\n }", "com.felania.msldb.MsgSummonOuterClass.MsgSummon.SummonType getType();", "public Builder setType(org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public java.lang.String getMessageType() {\r\n return messageType;\r\n }", "public Message newMessage(String type) {\n\tString address = null;\n\n\t/*\n * Provide the default address from the original open.\n */\n\n\tif (((m_mode & Connector.WRITE) > 0) && (host != null)) {\n\t address = ADDRESS_PREFIX + host;\n\t if (m_iport != 0) {\n\t\taddress = address + \":\" + String.valueOf(m_iport);\n\t }\n\t}\n\n\treturn newMessage(type, address);\n }", "public ServerMessage(int type)\n\t{\n\t\tthis.type = type;\n\t\tthis.key = Tools.generateUniqueKey();\n\t}", "public Builder setMsgType(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msgType_ = value;\n onChanged();\n return this;\n }", "private String getType(){\r\n return type;\r\n }", "public int getMsgType() {\n\t\treturn msgType;\n\t}", "public int getMsgType() {\n return msgType_;\n }", "com.czht.face.recognition.Czhtdev.MessageType getType();", "public Builder setType(com.czht.face.recognition.Czhtdev.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "proto.MessagesProtos.ClientRequest.MessageType getType();", "void setType(Type type)\n {\n this.type = type;\n }", "int getChatTypeValue();", "public static MessageType getType(String type){\n\t\t\tMessageType msgType = PING;\n\t\t\tswitch(type){\n\t\t\tcase \"login\" : msgType = LOGIN; break;\n\t\t\tcase \"get\" : msgType = GET_TOPIC; break;\n\t\t\tcase \"new\" : msgType = NEW; break;\n\t\t\tcase \"ping\" : msgType = PING; break;\n\t\t\tcase \"select\" : msgType = SELECT; break;\n\t\t\tcase \"append\" : msgType = APPEND; break;\n\t\t\t}\n\t\t\treturn msgType;\n\t\t}", "AcknowledgementType createAcknowledgementType();", "public ChatMessage(MessageType type, Object message) {\n m_type = type;\n m_message = message;\n }", "public void setCodetypemessage(java.lang.String codetypemessage) {\r\n\t\tthis.codetypemessage = codetypemessage;\r\n\t}", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "void handleMessage(byte messageType, Object message);", "messages.Clienthello.ClientHello getClientHello();", "public MessageType getMessageType() {\n\t\treturn messageType;\n\t}", "@java.lang.Override\n public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "public Builder setType(entities.Torrent.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public interface RequestMessage extends Message{\n}", "public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "messages.Statusmessage.StatusMessageOrBuilder getStatusOrBuilder();", "public MessageClackData(String userName, String message, int type) {\n super(userName, type);\n this.message = message;\n }", "public Builder setType(proto.MessagesProtos.ClientRequest.MessageType value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\ttype_ = value.getNumber();\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public MessageFactory(int type) {\n super(type);\n }", "public Builder setType(com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value;\n onChanged();\n return this;\n }", "MessageRefType createMessageRefType();", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "void setType(String type) {\n this.type = type;\n }", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "public org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type getType() {\n org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type result = org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.valueOf(type_);\n return result == null ? org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.MESSAGE : result;\n }", "public int getType() { return type; }", "public int getType() { return type; }", "public OutMessage voiceTypeMsg(InMessage msg) {\n\t\treturn null;\n\t}", "private void SendMessage(Object m, MessageType type)\n\t{\n\t\tMessage message = new Message();\n\t\tmessage.messageType = type;\n\t\tmessage.message = m;\n\t\t\n\t\ttry {\n\t\t\tout.writeObject(message);\n\t\t\tout.flush();\n\t\t} catch (IOException e) {\n\t\t\tApplicationManager.textChat.write(\"Cant send message\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public String getMessageType() {\n return type.getMessage().getName();\n }", "@java.lang.Override public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "void xsetType(\n com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType type);", "public String getType() {return type;}", "public void setReplyType(String rt) {\n/* 318 */ getCOSObject().setName(\"RT\", rt);\n/* */ }", "MessageDef getMessageDef();", "public String getType() { return type; }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type){\n \tthis.type = type;\n }" ]
[ "0.76834935", "0.7161924", "0.70100325", "0.7006431", "0.6785468", "0.67662466", "0.67096376", "0.66822636", "0.6639946", "0.65447265", "0.65447265", "0.6533048", "0.65253127", "0.6489351", "0.64224726", "0.6416736", "0.64089113", "0.6403562", "0.639956", "0.63863814", "0.6372553", "0.636792", "0.63554", "0.6352845", "0.6309444", "0.62186754", "0.62135017", "0.6175804", "0.61714685", "0.6151079", "0.614499", "0.6133628", "0.61299497", "0.61257756", "0.6091832", "0.6059728", "0.60416305", "0.6020069", "0.60116404", "0.6010109", "0.60086036", "0.59990335", "0.5996914", "0.5991604", "0.59668684", "0.5957386", "0.59338063", "0.5930317", "0.59136236", "0.59084713", "0.58940005", "0.58925015", "0.58834237", "0.588014", "0.5870751", "0.5853789", "0.5840657", "0.5821761", "0.5795684", "0.57834977", "0.57816994", "0.57796675", "0.5779503", "0.57681215", "0.5763239", "0.5760106", "0.57596815", "0.5745686", "0.57402146", "0.57204777", "0.571773", "0.5714876", "0.5688004", "0.5680468", "0.56770366", "0.56743056", "0.566644", "0.5655351", "0.5648978", "0.5637215", "0.56311643", "0.56310236", "0.56252176", "0.562439", "0.5604949", "0.5588309", "0.5566066", "0.556538", "0.556538", "0.5562787", "0.55599236", "0.5557447", "0.55431515", "0.5542843", "0.55426425", "0.5530866", "0.5523494", "0.55103534", "0.5507555", "0.55005246" ]
0.68929917
4
.LocalSearchRequest localSearchRequest = 2;
boolean hasLocalSearchRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.758188", "0.6840027", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62284523", "0.62255126", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.56329113", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.67533076
2
.LocalSearchRequest localSearchRequest = 2;
entities.Torrent.LocalSearchRequest getLocalSearchRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "boolean hasLocalSearchRequest();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.6840027", "0.67533076", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62284523", "0.62255126", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.56329113", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.758188
0
.LocalSearchRequest localSearchRequest = 2;
entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "boolean hasLocalSearchRequest();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.758188", "0.67533076", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62284523", "0.62255126", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.56329113", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.6840027
1
.LocalSearchResponse localSearchResponse = 3;
boolean hasLocalSearchResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.73214024", "0.68718565", "0.6722185", "0.6442964", "0.643585", "0.63652", "0.61791974", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.58895", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.54605144", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.6493662
3
.LocalSearchResponse localSearchResponse = 3;
entities.Torrent.LocalSearchResponse getLocalSearchResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "boolean hasLocalSearchResponse();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.68718565", "0.6722185", "0.6493662", "0.6442964", "0.643585", "0.63652", "0.61791974", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.58895", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.54605144", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.73214024
0
.LocalSearchResponse localSearchResponse = 3;
entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "boolean hasLocalSearchResponse();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.73214024", "0.68718565", "0.6493662", "0.6442964", "0.643585", "0.63652", "0.61791974", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.58895", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.54605144", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.6722185
2
.SearchRequest searchRequest = 4;
boolean hasSearchRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "entities.Torrent.SearchRequest getSearchRequest();", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6664904", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.60291916", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.62142056
27
.SearchRequest searchRequest = 4;
entities.Torrent.SearchRequest getSearchRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "boolean hasSearchRequest();", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.62142056", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.60291916", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.6664904
7
.SearchRequest searchRequest = 4;
entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "entities.Torrent.SearchRequest getSearchRequest();", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "boolean hasSearchRequest();", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6664904", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.62142056", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.60291916
42
.SearchResponse searchResponse = 5;
boolean hasSearchResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6232891", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.583642", "0.5817738", "0.5806966", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.5350071", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.580537
20
.SearchResponse searchResponse = 5;
entities.Torrent.SearchResponse getSearchResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "boolean hasSearchResponse();", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.583642", "0.5817738", "0.5806966", "0.580537", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.5350071", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.6232891
2
.SearchResponse searchResponse = 5;
entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "boolean hasSearchResponse();", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6232891", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.5817738", "0.5806966", "0.580537", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.5350071", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.583642
17
.UploadRequest uploadRequest = 6;
boolean hasUploadRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadRequest getUploadRequest();", "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "@java.lang.Override\n public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n return getUploadRequest();\n }", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "@java.lang.Override\n public entities.Torrent.UploadRequest getUploadRequest() {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@java.lang.Override\n public boolean hasUploadRequest() {\n return uploadRequest_ != null;\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.70964265", "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.6464168", "0.64300054", "0.6418312", "0.6365194", "0.63628614", "0.6355573", "0.62850815", "0.6267337", "0.6265699", "0.6223719", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.57380676", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.6373819
14
.UploadRequest uploadRequest = 6;
entities.Torrent.UploadRequest getUploadRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "boolean hasUploadRequest();", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "@java.lang.Override\n public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n return getUploadRequest();\n }", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "@java.lang.Override\n public entities.Torrent.UploadRequest getUploadRequest() {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@java.lang.Override\n public boolean hasUploadRequest() {\n return uploadRequest_ != null;\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.6464168", "0.64300054", "0.6418312", "0.6373819", "0.6365194", "0.63628614", "0.6355573", "0.62850815", "0.6267337", "0.6265699", "0.6223719", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.57380676", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.70964265
0
.UploadRequest uploadRequest = 6;
entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadRequest getUploadRequest();", "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "boolean hasUploadRequest();", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "@java.lang.Override\n public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n return getUploadRequest();\n }", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "@java.lang.Override\n public entities.Torrent.UploadRequest getUploadRequest() {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@java.lang.Override\n public boolean hasUploadRequest() {\n return uploadRequest_ != null;\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.70964265", "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.64300054", "0.6418312", "0.6373819", "0.6365194", "0.63628614", "0.6355573", "0.62850815", "0.6267337", "0.6265699", "0.6223719", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.57380676", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.6464168
11
.UploadResponse uploadResponse = 7;
boolean hasUploadResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadResponse getUploadResponse();", "void uploadSuccessful(long bytes);", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@java.lang.Override\n public entities.Torrent.UploadResponse getUploadResponse() {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@java.lang.Override\n public boolean hasUploadResponse() {\n return uploadResponse_ != null;\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.7199142", "0.69364697", "0.68303025", "0.66983545", "0.66971314", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6509106", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60895157", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.6654241
5
.UploadResponse uploadResponse = 7;
entities.Torrent.UploadResponse getUploadResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void uploadSuccessful(long bytes);", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "boolean hasUploadResponse();", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@java.lang.Override\n public entities.Torrent.UploadResponse getUploadResponse() {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@java.lang.Override\n public boolean hasUploadResponse() {\n return uploadResponse_ != null;\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.69364697", "0.68303025", "0.66983545", "0.66971314", "0.6654241", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6509106", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60895157", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.7199142
0
.UploadResponse uploadResponse = 7;
entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadResponse getUploadResponse();", "void uploadSuccessful(long bytes);", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "boolean hasUploadResponse();", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@java.lang.Override\n public entities.Torrent.UploadResponse getUploadResponse() {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@java.lang.Override\n public boolean hasUploadResponse() {\n return uploadResponse_ != null;\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.7199142", "0.69364697", "0.66983545", "0.66971314", "0.6654241", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6509106", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60895157", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.68303025
2
.ReplicateRequest replicateRequest = 8;
boolean hasReplicateRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequest getReplicateRequest();", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateResponse getReplicateResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.7421276", "0.6885489", "0.6537161", "0.6239497", "0.6200185", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5902852", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.52858937", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.63882685
3
.ReplicateRequest replicateRequest = 8;
entities.Torrent.ReplicateRequest getReplicateRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasReplicateRequest();", "entities.Torrent.ReplicateResponse getReplicateResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.6885489", "0.6537161", "0.63882685", "0.6239497", "0.6200185", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5902852", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.52858937", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.7421276
0
.ReplicateRequest replicateRequest = 8;
entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequest getReplicateRequest();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasReplicateRequest();", "entities.Torrent.ReplicateResponse getReplicateResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.7421276", "0.6537161", "0.63882685", "0.6239497", "0.6200185", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5902852", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.52858937", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.6885489
1
.ReplicateResponse replicateResponse = 9;
boolean hasReplicateResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponse getReplicateResponse();", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "@java.lang.Override\n public entities.Torrent.ReplicateResponse getReplicateResponse() {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "@java.lang.Override\n public boolean hasReplicateResponse() {\n return replicateResponse_ != null;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7519346", "0.7038346", "0.68342257", "0.67136896", "0.6543369", "0.6298907", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.5915559", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.55587965", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.6664406
4
.ReplicateResponse replicateResponse = 9;
entities.Torrent.ReplicateResponse getReplicateResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "boolean hasReplicateResponse();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "@java.lang.Override\n public entities.Torrent.ReplicateResponse getReplicateResponse() {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "@java.lang.Override\n public boolean hasReplicateResponse() {\n return replicateResponse_ != null;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7038346", "0.68342257", "0.67136896", "0.6664406", "0.6543369", "0.6298907", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.5915559", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.55587965", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.7519346
0
.ReplicateResponse replicateResponse = 9;
entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponse getReplicateResponse();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "boolean hasReplicateResponse();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "@java.lang.Override\n public entities.Torrent.ReplicateResponse getReplicateResponse() {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "@java.lang.Override\n public boolean hasReplicateResponse() {\n return replicateResponse_ != null;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7519346", "0.68342257", "0.67136896", "0.6664406", "0.6543369", "0.6298907", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.5915559", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.55587965", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.7038346
1
.ChunkRequest chunkRequest = 10;
boolean hasChunkRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n return getChunkRequest();\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequest getChunkRequest() {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.7170581", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.6248034", "0.62428814", "0.6169934", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58374727", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5751858", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.6155265
13
.ChunkRequest chunkRequest = 10;
entities.Torrent.ChunkRequest getChunkRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "boolean hasChunkRequest();", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n return getChunkRequest();\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequest getChunkRequest() {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.6248034", "0.62428814", "0.6169934", "0.6155265", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58374727", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5751858", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.7170581
1
.ChunkRequest chunkRequest = 10;
entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "boolean hasChunkRequest();", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n return getChunkRequest();\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequest getChunkRequest() {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.7170581", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.62428814", "0.6169934", "0.6155265", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58374727", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5751858", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.6248034
10
.ChunkResponse chunkResponse = 11;
boolean hasChunkResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponse getChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "@java.lang.Override\n public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n return getChunkResponse();\n }", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "@java.lang.Override\n public entities.Torrent.ChunkResponse getChunkResponse() {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "@java.lang.Override\n public boolean hasChunkResponse() {\n return chunkResponse_ != null;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.76127803", "0.689421", "0.68631434", "0.67847973", "0.6521442", "0.6472285", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.61997634", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.6058618", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.6827106
3
.ChunkResponse chunkResponse = 11;
entities.Torrent.ChunkResponse getChunkResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "boolean hasChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "@java.lang.Override\n public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n return getChunkResponse();\n }", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "@java.lang.Override\n public entities.Torrent.ChunkResponse getChunkResponse() {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "@java.lang.Override\n public boolean hasChunkResponse() {\n return chunkResponse_ != null;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.689421", "0.68631434", "0.6827106", "0.67847973", "0.6521442", "0.6472285", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.61997634", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.6058618", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.76127803
0
.ChunkResponse chunkResponse = 11;
entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponse getChunkResponse();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "boolean hasChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "@java.lang.Override\n public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n return getChunkResponse();\n }", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "@java.lang.Override\n public entities.Torrent.ChunkResponse getChunkResponse() {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "@java.lang.Override\n public boolean hasChunkResponse() {\n return chunkResponse_ != null;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.76127803", "0.68631434", "0.6827106", "0.67847973", "0.6521442", "0.6472285", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.61997634", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.6058618", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.689421
1
.DownloadRequest downloadRequest = 12;
boolean hasDownloadRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.DownloadRequest getDownloadRequest();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "@java.lang.Override\n public boolean hasDownloadRequest() {\n return downloadRequest_ != null;\n }", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7072586", "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6346663", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.59924924", "0.5991619", "0.59850454", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5903274", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.5360622", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.5981307
28
.DownloadRequest downloadRequest = 12;
entities.Torrent.DownloadRequest getDownloadRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "boolean hasDownloadRequest();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "@java.lang.Override\n public boolean hasDownloadRequest() {\n return downloadRequest_ != null;\n }", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6346663", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.59924924", "0.5991619", "0.59850454", "0.5981307", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5903274", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.5360622", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.7072586
0
.DownloadRequest downloadRequest = 12;
entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.DownloadRequest getDownloadRequest();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "boolean hasDownloadRequest();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "@java.lang.Override\n public boolean hasDownloadRequest() {\n return downloadRequest_ != null;\n }", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7072586", "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.59924924", "0.5991619", "0.59850454", "0.5981307", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5903274", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.5360622", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.6346663
12
.DownloadResponse downloadResponse = 13;
boolean hasDownloadResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@java.lang.Override\n public boolean hasDownloadResponse() {\n return downloadResponse_ != null;\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6789641", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6286553", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5959001", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57466197", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54370564", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.6071757
17
.DownloadResponse downloadResponse = 13;
entities.Torrent.DownloadResponse getDownloadResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "boolean hasDownloadResponse();", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@java.lang.Override\n public boolean hasDownloadResponse() {\n return downloadResponse_ != null;\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6286553", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.6071757", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5959001", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57466197", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54370564", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.6789641
1
.DownloadResponse downloadResponse = 13;
entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "boolean hasDownloadResponse();", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@java.lang.Override\n public boolean hasDownloadResponse() {\n return downloadResponse_ != null;\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6789641", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.6071757", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5959001", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57466197", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54370564", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.6286553
11
.RegistrationRequest registrationRequest = 14;
boolean hasRegistrationRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequest getRegistrationRequest();", "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@java.lang.Override\n public boolean hasRegistrationRequest() {\n return registrationRequest_ != null;\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.7233358", "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.6677461", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.6344257", "0.62753135", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57810074", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.65441483
8
.RegistrationRequest registrationRequest = 14;
entities.Torrent.RegistrationRequest getRegistrationRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "boolean hasRegistrationRequest();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@java.lang.Override\n public boolean hasRegistrationRequest() {\n return registrationRequest_ != null;\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.6677461", "0.65441483", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.6344257", "0.62753135", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57810074", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.7233358
0
.RegistrationRequest registrationRequest = 14;
entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequest getRegistrationRequest();", "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "boolean hasRegistrationRequest();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@java.lang.Override\n public boolean hasRegistrationRequest() {\n return registrationRequest_ != null;\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.7233358", "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.65441483", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.6344257", "0.62753135", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57810074", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.6677461
7
.RegistrationResponse registrationResponse = 15;
boolean hasRegistrationResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public void setRegisterResponse(Response registerResponse){\n\t\tthis.registerResponse=registerResponse;\n\t}", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public Builder setRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationResponse_ = value;\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public Response getRegisterResponse(){\n\t\treturn this.registerResponse;\n\t}", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "private void setRegistrationFlowResponse(final RegistrationFlowResponse registrationFlowResponse) {\n if (registrationFlowResponse != null) {\n mRegistrationResponse = registrationFlowResponse;\n }\n }", "public Builder setRegistrationResponse(\n entities.Torrent.RegistrationResponse.Builder builderForValue) {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = builderForValue.build();\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }", "Register.Req getRegisterReq();", "public void confirmRegistration(RegistrationData d) {}", "public RegistrationInfo getRegistrationInfo();", "public ResponseRegister() {\n }", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n } else {\n return registrationResponseBuilder_.getMessage();\n }\n }", "entities.Torrent.RegistrationRequest getRegistrationRequest();", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n if (registrationResponseBuilder_ != null) {\n return registrationResponseBuilder_.getMessageOrBuilder();\n } else {\n return registrationResponse_ == null ?\n entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public boolean hasRegistrationResponse() {\n return registrationResponse_ != null;\n }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "public UserRegisterResponse() {\n }", "@Override\n public void onRegistrationFail(RegistrationResponse response) {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors() && response.getErrors().size() > 0) {\n for (Error e : response.getErrors()) {\n\n if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG001.toString())) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG002.toString())) {\n signUpBinding.txtUserName.setErrorEnabled(true);\n signUpBinding.txtUserName.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG003.toString())) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG004.toString())) {\n signUpBinding.txtPassword.setErrorEnabled(true);\n signUpBinding.txtPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG005.toString())) {\n signUpBinding.txtConfPassword.setErrorEnabled(true);\n signUpBinding.txtConfPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG006.toString())) {\n\n if (signUpBinding.txtUserId.isErrorEnabled() && signUpBinding.txtUserId.getError().toString().equalsIgnoreCase(getString(R.string.user_id_already))) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(getString(R.string.user_id_already));\n } else {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n }\n\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public boolean hasRegistrationResponse() {\n return registrationResponseBuilder_ != null || registrationResponse_ != null;\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "boolean hasRegistrationRequest();", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "Register.Res getRegisterRes();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>\n getRegistrationResponseFieldBuilder() {\n if (registrationResponseBuilder_ == null) {\n registrationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>(\n getRegistrationResponse(),\n getParentForChildren(),\n isClean());\n registrationResponse_ = null;\n }\n return registrationResponseBuilder_;\n }", "void onNewRegistrationId(String registrationId);", "private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "@Override\n protected JSONObject doInBackground(Void... params) {\n\n try {\n response = Requestor.requestRegister(requestQueue, REGISTER_URL, phone, name, email, password);\n // response = JSONParser.Register(REGISTER_URL, phone, name, email, password);\n Log.d(\"TEST\", response.toString());\n code = response.getString(CODE);\n msg = response.getString(MESSAGE);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n return response;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public Builder clearRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = null;\n onChanged();\n } else {\n registrationResponse_ = null;\n registrationResponseBuilder_ = null;\n }\n\n return this;\n }", "private void handleRegister(Business business) {\n\n Call<String> call = rtfBase.register(business); //we get id\n call.enqueue(new Callback<String>() {\n @Override\n public void onResponse(Call<String> call, Response<String> response) {\n if(response.code() == 200)\n {\n // business.setId(response.body());\n // Toast.makeText(RegisterNewBusiness.this, \"registered successfully\",Toast.LENGTH_LONG).show();\n\n connectToApp(business);\n\n\n }\n if(response.code() == 400)\n {\n Toast.makeText(RegisterNewBusiness.this, \"you already registered\",Toast.LENGTH_LONG).show();\n\n }\n if(response.code() == 404)\n {\n Toast.makeText(RegisterNewBusiness.this, \"something wrong\",Toast.LENGTH_LONG).show();\n\n }\n }\n\n\n @Override\n public void onFailure(Call<String> call, Throwable t) {\n Toast.makeText(RegisterNewBusiness.this, t.getMessage(),Toast.LENGTH_LONG).show();\n }\n });\n }", "@Override\n public void OnServerRespondedCallback(InternalRequest response) {\n switch (response.Status){\n case InternalRequest.STATUS_OK:\n Log.i(MY_TAG, \"got server callback registration ok\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, true);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_SUCCESS);\n break;\n case InternalRequest.STATUS_FAIL:\n Log.i(MY_TAG, \"got server callback registration fail\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, false);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_FAIL);\n break;\n default:\n Log.i(MY_TAG, \"unexpected callback status from server!\");\n return;\n }\n// sendBroadcast(intent);\n }", "@Override\n public void onResponse(String response) {\n Log.d(\"RESPONSE\", response);\n\n if (response.equals(\"success\")) {\n loading.dismiss();\n Intent intent = new Intent(RegisterActivity.this, LoginActivity.class);\n Toasty.success(RegisterActivity.this, \"Registration successful\", Toast.LENGTH_SHORT).show();\n startActivity(intent);\n } else if (response.equals(\"exists\")) {\n\n Toasty.warning(RegisterActivity.this, \"User already exists!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n\n else if (response.equals(\"failure\")) {\n\n Toasty.error(RegisterActivity.this, \"Registration Failed!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "public Builder mergeRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (registrationResponse_ != null) {\n registrationResponse_ =\n entities.Torrent.RegistrationResponse.newBuilder(registrationResponse_).mergeFrom(value).buildPartial();\n } else {\n registrationResponse_ = value;\n }\n onChanged();\n } else {\n registrationResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "public String mo56450e() {\n return \"registration\";\n }", "public void register(RegistrationData d) {}", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "@Test\n public void testRepeatRegistration(){\n UserRegisterKYC userRegister = new UserRegisterKYC(\"hello\", validId2, \"26/02/1995\",\"738583\");\n int requestResponse = userRegister.sendRegisterRequest();\n requestResponse = userRegister.sendRegisterRequest();\n assertEquals(500,requestResponse);\n }", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public RegisterStatus() {\n registerStatus=NOT_REGISTERED;\n }", "public void registrationPost(String regID){\n String type = \"android\";\n String name = LoginActivity.username;\n Callback<Events> callback = new Callback<Events>() {\n\n @Override\n public void success(Events serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceEventServerResponse(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.postRegistration(regID, type, name, callback);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "private void userSignUp(final int id, String agentNm, String fName, String sta, String localG, String tow, String phoneNm, String fmMr, String cbRg, String memSiz, String cggNam, String cFarmZz, String fcRg, String inFarm, String riceVarr, String qttyHarr, String afRg,\n String fertTldd, String noRzz, String qtyApll, String alRg, String szLoaa, String srcRicc, String qtyPdyRicc, String majByrss, String comSolcc, String qttyByy, String howMcc, String prcBb, String incDs,\n String reasnn, String hwSpyy, String stRg, String ysSptrr, String fm1, String t11, String cstCs11, String fm2, String t22, String cstCs22, String fm3, String t33, String cstCs33, String infPrcc, String salesDmm,\n String avgQtFcc, String whnCp, String whyCp, String whnEx, String whyExx, String mjCh, String adCh, String timSe, String othSe, String adInn) {\n Call<ResponseBody> call = RetrofitClient2\n .getInstance()\n .getNaSurvey()\n .submitResponse(agentNm, fName, sta, localG, tow, phoneNm, fmMr, cbRg, memSiz, cggNam, cFarmZz, fcRg, inFarm, riceVarr, qttyHarr, afRg, fertTldd, noRzz, qtyApll, alRg, szLoaa, srcRicc, qtyPdyRicc, majByrss, comSolcc, qttyByy, howMcc, prcBb, incDs, reasnn, hwSpyy, stRg, ysSptrr, fm1, t11, cstCs11,\n fm2, t22, cstCs22, fm3, t33, cstCs33, infPrcc, salesDmm, avgQtFcc, whnCp, whyCp, whnEx, whyExx, mjCh, adCh, timSe, othSe, adInn);\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n\n try {\n JSONObject obj = new JSONObject(String.valueOf(response));\n if (!obj.getBoolean(\"error\")) {\n //updating the status in sqlite\n db.updateNameStatus(id, SurveyActivity.SYNC_STATUS_OK);\n\n //sending the broadcast to refresh the list\n context.sendBroadcast(new Intent(SurveyActivity.DATA_SAVED_BROADCAST));\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Map<String, String> params = new HashMap<>();\n params.put(\"agentNm\", agentNm);\n params.put(\"fname\", fName);\n params.put(\"state\", sta);\n params.put(\"lga\", localG);\n params.put(\"town\", tow);\n params.put(\"phoneNm\", phoneNm);\n params.put(\"farmer\", fmMr);\n params.put(\"cogp\", cbRg);\n params.put(\"memsz\", memSiz);\n params.put(\"cgnam\", cggNam);\n params.put(\"cofmsz\", cFarmZz);\n params.put(\"frmcol\", fcRg);\n params.put(\"invfz\", inFarm);\n params.put(\"ricev\", riceVarr);\n params.put(\"qtyhv\", qttyHarr);\n params.put(\"apfert\", afRg);\n params.put(\"ysyld\", fertTldd);\n params.put(\"norz\", noRzz);\n params.put(\"qtyap\", qtyApll);\n params.put(\"aploa\", alRg);\n params.put(\"szloa\", szLoaa);\n params.put(\"srcric\", srcRicc);\n params.put(\"qtypdrc\", qtyPdyRicc);\n params.put(\"majby\", majByrss);\n params.put(\"comso\", comSolcc);\n params.put(\"qtby\", qttyByy);\n params.put(\"hwmch\", howMcc);\n params.put(\"pricbf\", prcBb);\n params.put(\"indcr\", incDs);\n params.put(\"rsn\", reasnn);\n params.put(\"hwspl\", hwSpyy);\n params.put(\"chsp\", stRg);\n params.put(\"yssptr\", ysSptrr);\n params.put(\"frm1\", fm1);\n params.put(\"to1\", t11);\n params.put(\"costc1\", cstCs11);\n params.put(\"frm2\", fm2);\n params.put(\"to2\", t22);\n params.put(\"costcs2\", cstCs22);\n params.put(\"frm3\", fm3);\n params.put(\"to3\", t33);\n params.put(\"costcs3\", cstCs33);\n params.put(\"infpr\", infPrcc);\n params.put(\"salsdm\", salesDmm);\n params.put(\"avqtf\", avgQtFcc);\n params.put(\"wncp\", whnCp);\n params.put(\"wycp\", whyCp);\n params.put(\"wnex\", whnEx);\n params.put(\"wyex\", whyExx);\n params.put(\"majch\", mjCh);\n params.put(\"addch\", adCh);\n params.put(\"timsl\",timSe);\n params.put(\"othsl\",othSe);\n params.put(\"adin\",adInn);\n\n return;\n }\n });\n\n }", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "@Override\n public void onResponse(BaseBean response) {\n Log.i(\"TAG\", \"response=\" + response);\n progress.dismissAllowingStateLoss();\n if (tag == 0) {\n /** TAG==0表示这是验证验证码 */\n// if (response.getCode() == 0) {\n// String urlPath = FinalData.URL_VALUE + \"register\";\n// Map<String, Object> map = new HashMap<String, Object>();\n// map.put(\"mobile\", etPhone.getText().toString().trim());\n// try {\n// map.put(\"password\", etPassword);\n// } catch (Exception e) {\n// // TODO Auto-generated catch block\n// e.printStackTrace();\n// }\n// GsonRequest<BaseBean> custom = new GsonRequest<BaseBean>(Request.Method.POST, urlPath, BaseBean.class, map, getVerifyListener(1), getVerifyErrorListener(1));\n// VolleySingleton.getInstance(getActivity().getApplicationContext()).addToRequestQueue(custom);\n// } else {\n// ToastUtils.showToast(getActivity(), response.getMsg());\n// }\n } else if (tag == 1) {\n /** TAG==1 表示这是注册 */\n if (response.getCode() == 0) {\n ToastUtils.showToast(context, response.getMsg());\n\n }\n }\n }", "public interface LoginRegistrationCallBack {\n\n void onResponseSuccess(String token);\n void onResponseError();\n\n}", "private ResponseRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "public AuthResponse registerAccount(Account acc){\n Call<AuthResponse> call = endpoints.registerAcc(acc);\n AuthResponse serverResponse = null;\n try {\n serverResponse = call.execute().body();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return serverResponse;\n }", "public ChangeRegistrationResponse(Hashtable<String, Object> hash) {\r\n super(hash);\r\n }", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "private void setRegisterRes(\n Register.Res.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 7;\n }", "net.nyhm.protonet.example.proto.LoginProto.RegisterResponse.Decision getDecision();", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "public Register.Res getRegisterRes() {\n if (rspCase_ == 7) {\n return (Register.Res) rsp_;\n }\n return Register.Res.getDefaultInstance();\n }", "public ChangeRegistrationResponse(@NonNull Boolean success, @NonNull Result resultCode) {\r\n\t\tthis();\r\n\t\tsetSuccess(success);\r\n\t\tsetResultCode(resultCode);\r\n\t}", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "private CallResponse() {\n initFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "interface ViewUserRegistration {\n void showLoading();\n\n void hideLoading();\n\n void userRegistrationSuccess(UserRegisterResponse userRegisterResponse);\n\n void userRegistrationError(String error);\n }", "@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] response) {\n // Hide Progress Dialog\n prgDialog.hide();\n // try {\n // JSON Object\n// String str=new String(response);\n// JSONObject obj = new JSONObject(str);\n // When the JSON response has status boolean value assigned with true\n if(statusCode==200){\n\n // Display successfully registered message using Toast\n Toast.makeText(getApplicationContext(), \"Thanks for the Donation.Our representative will contact you shortly :)\", Toast.LENGTH_LONG).show();\n navigateToHomeActivity();\n }\n\n }", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@Override\n public void onRegistrationSuccess() {\n listener.onUsernameAvailabilityChecked(false);\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@PostMapping(path = \"/online-sales-service/registerForAnEvent\")\n\tpublic ResponseEntity<?> eventRegistration(@RequestBody final EventRegistration eventReg, final HttpServletRequest request,\n\t\t\tfinal HttpServletResponse response) {\n\t\tResponseEntity<?> responseEntity;\n\t\tEventRegistration thisEvent = null;\n\t\ttry {\n\t\t\tthisEvent = eventRegistrationService.createEventRegistration(eventReg);\n\t\t} catch (Exception e) {\n\t\t\tresponseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.NOT_FOUND);\n\t\t}\n\t\tresponseEntity = new ResponseEntity<EventRegistration>(thisEvent, HttpStatus.OK);\n\t\treturn responseEntity;\n\t}", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public static RegistrationVO getRegistrationVO() {\r\n\t\treturn registrationVO;\r\n\t}", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "public void saveRegistrationInfo(RegistrationDTO registrationDTO)\r\n\t\t\tthrows Exception {\n\t}", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "@Override\r\n\tpublic void onFinishGetVerifyCode(int reg17FoxReturn) {\n\r\n\t\tswitch (reg17FoxReturn) {\r\n\t\tcase 103:\r\n\t\t\tdisplayRegisterResult(\"authKey出错\");\r\n\t\t\tbreak;\r\n\t\tcase 104:\r\n\t\t\tdisplayRegisterResult(\"参数不全\");\r\n\t\t\tbreak;\r\n\t\tcase 105:\r\n\t\t\tdisplayRegisterResult(\"手机格式错误\");\r\n\t\t\tbreak;\r\n\t\tcase 106:\r\n\t\t\tdisplayRegisterResult(\"此手机号已经注册\");\r\n\t\t\tbreak;\r\n\t\tcase 107:\r\n\t\t\tdisplayRegisterResult(\"此手机号不存在\");\r\n\t\t\tbreak;\r\n\t\tcase 108:\r\n\t\t\tToast.makeText(this, \"验证短信稍后发送到您手机\", Toast.LENGTH_LONG).show();\r\n\t\t\tbreak;\r\n\t\tcase 109:\r\n\t\t\tdisplayRegisterResult(\"短信发送失败\");\r\n\t\t\tbreak;\r\n\t\tcase 110:\r\n\t\t\tdisplayRegisterResult(\"短信验证码超时,请重新获取验证码\");\r\n\t\t\tbreak;\r\n\t\tcase 111:\r\n\t\t\tdisplayRegisterResult(\"短信验证码不正确\");\r\n\t\t\tbreak;\r\n\t\tcase 112:\r\n\t\t\tdisplayRegisterResult(\"短信验证通过\");\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tdisplayRegisterResult(\"服务器内部错误\");\r\n\t\t}\r\n\t\tenableYzBtnHandler.sendEmptyMessageDelayed(1, 1000);\r\n\t}", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "private void sendRegistrationToServer(String token) {\n }" ]
[ "0.7318", "0.72834706", "0.6999633", "0.69554013", "0.694663", "0.69263613", "0.68704987", "0.67842513", "0.67171884", "0.6681477", "0.66677725", "0.65256006", "0.65217024", "0.6508144", "0.64968556", "0.6471097", "0.6426032", "0.6403649", "0.6398991", "0.6394312", "0.6355629", "0.6338359", "0.62917954", "0.62898946", "0.6252552", "0.62231576", "0.6201459", "0.6152857", "0.61239725", "0.60927355", "0.6092429", "0.607144", "0.6030716", "0.60304034", "0.6029398", "0.6027351", "0.60250914", "0.60087824", "0.60006815", "0.5975901", "0.5963247", "0.5936041", "0.5920562", "0.59048766", "0.5874698", "0.5862446", "0.5855555", "0.58501863", "0.5838247", "0.5837567", "0.58336854", "0.58271754", "0.5821312", "0.58021617", "0.57991564", "0.578513", "0.57737017", "0.5773256", "0.57665735", "0.5758664", "0.57346123", "0.57319164", "0.5728281", "0.5723886", "0.57182544", "0.5694033", "0.56902754", "0.5662591", "0.5642736", "0.5626005", "0.5625632", "0.5623964", "0.5623601", "0.5620659", "0.5605209", "0.5601017", "0.5597681", "0.5593491", "0.55819285", "0.557775", "0.55764633", "0.5570555", "0.5569714", "0.5563907", "0.55513847", "0.5547127", "0.55446255", "0.553952", "0.55329645", "0.55299026", "0.5529278", "0.5525127", "0.55149424", "0.55131716", "0.5509585", "0.55066067", "0.55039567", "0.5498068", "0.5490506", "0.5485802" ]
0.682534
7
.RegistrationResponse registrationResponse = 15;
entities.Torrent.RegistrationResponse getRegistrationResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public void setRegisterResponse(Response registerResponse){\n\t\tthis.registerResponse=registerResponse;\n\t}", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public Builder setRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationResponse_ = value;\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "boolean hasRegistrationResponse();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public Response getRegisterResponse(){\n\t\treturn this.registerResponse;\n\t}", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "private void setRegistrationFlowResponse(final RegistrationFlowResponse registrationFlowResponse) {\n if (registrationFlowResponse != null) {\n mRegistrationResponse = registrationFlowResponse;\n }\n }", "public Builder setRegistrationResponse(\n entities.Torrent.RegistrationResponse.Builder builderForValue) {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = builderForValue.build();\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }", "Register.Req getRegisterReq();", "public void confirmRegistration(RegistrationData d) {}", "public RegistrationInfo getRegistrationInfo();", "public ResponseRegister() {\n }", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n } else {\n return registrationResponseBuilder_.getMessage();\n }\n }", "entities.Torrent.RegistrationRequest getRegistrationRequest();", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n if (registrationResponseBuilder_ != null) {\n return registrationResponseBuilder_.getMessageOrBuilder();\n } else {\n return registrationResponse_ == null ?\n entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public boolean hasRegistrationResponse() {\n return registrationResponse_ != null;\n }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "public UserRegisterResponse() {\n }", "@Override\n public void onRegistrationFail(RegistrationResponse response) {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors() && response.getErrors().size() > 0) {\n for (Error e : response.getErrors()) {\n\n if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG001.toString())) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG002.toString())) {\n signUpBinding.txtUserName.setErrorEnabled(true);\n signUpBinding.txtUserName.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG003.toString())) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG004.toString())) {\n signUpBinding.txtPassword.setErrorEnabled(true);\n signUpBinding.txtPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG005.toString())) {\n signUpBinding.txtConfPassword.setErrorEnabled(true);\n signUpBinding.txtConfPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG006.toString())) {\n\n if (signUpBinding.txtUserId.isErrorEnabled() && signUpBinding.txtUserId.getError().toString().equalsIgnoreCase(getString(R.string.user_id_already))) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(getString(R.string.user_id_already));\n } else {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n }\n\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public boolean hasRegistrationResponse() {\n return registrationResponseBuilder_ != null || registrationResponse_ != null;\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "boolean hasRegistrationRequest();", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "Register.Res getRegisterRes();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>\n getRegistrationResponseFieldBuilder() {\n if (registrationResponseBuilder_ == null) {\n registrationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>(\n getRegistrationResponse(),\n getParentForChildren(),\n isClean());\n registrationResponse_ = null;\n }\n return registrationResponseBuilder_;\n }", "void onNewRegistrationId(String registrationId);", "private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "@Override\n protected JSONObject doInBackground(Void... params) {\n\n try {\n response = Requestor.requestRegister(requestQueue, REGISTER_URL, phone, name, email, password);\n // response = JSONParser.Register(REGISTER_URL, phone, name, email, password);\n Log.d(\"TEST\", response.toString());\n code = response.getString(CODE);\n msg = response.getString(MESSAGE);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n return response;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public Builder clearRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = null;\n onChanged();\n } else {\n registrationResponse_ = null;\n registrationResponseBuilder_ = null;\n }\n\n return this;\n }", "private void handleRegister(Business business) {\n\n Call<String> call = rtfBase.register(business); //we get id\n call.enqueue(new Callback<String>() {\n @Override\n public void onResponse(Call<String> call, Response<String> response) {\n if(response.code() == 200)\n {\n // business.setId(response.body());\n // Toast.makeText(RegisterNewBusiness.this, \"registered successfully\",Toast.LENGTH_LONG).show();\n\n connectToApp(business);\n\n\n }\n if(response.code() == 400)\n {\n Toast.makeText(RegisterNewBusiness.this, \"you already registered\",Toast.LENGTH_LONG).show();\n\n }\n if(response.code() == 404)\n {\n Toast.makeText(RegisterNewBusiness.this, \"something wrong\",Toast.LENGTH_LONG).show();\n\n }\n }\n\n\n @Override\n public void onFailure(Call<String> call, Throwable t) {\n Toast.makeText(RegisterNewBusiness.this, t.getMessage(),Toast.LENGTH_LONG).show();\n }\n });\n }", "@Override\n public void OnServerRespondedCallback(InternalRequest response) {\n switch (response.Status){\n case InternalRequest.STATUS_OK:\n Log.i(MY_TAG, \"got server callback registration ok\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, true);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_SUCCESS);\n break;\n case InternalRequest.STATUS_FAIL:\n Log.i(MY_TAG, \"got server callback registration fail\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, false);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_FAIL);\n break;\n default:\n Log.i(MY_TAG, \"unexpected callback status from server!\");\n return;\n }\n// sendBroadcast(intent);\n }", "@Override\n public void onResponse(String response) {\n Log.d(\"RESPONSE\", response);\n\n if (response.equals(\"success\")) {\n loading.dismiss();\n Intent intent = new Intent(RegisterActivity.this, LoginActivity.class);\n Toasty.success(RegisterActivity.this, \"Registration successful\", Toast.LENGTH_SHORT).show();\n startActivity(intent);\n } else if (response.equals(\"exists\")) {\n\n Toasty.warning(RegisterActivity.this, \"User already exists!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n\n else if (response.equals(\"failure\")) {\n\n Toasty.error(RegisterActivity.this, \"Registration Failed!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "public Builder mergeRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (registrationResponse_ != null) {\n registrationResponse_ =\n entities.Torrent.RegistrationResponse.newBuilder(registrationResponse_).mergeFrom(value).buildPartial();\n } else {\n registrationResponse_ = value;\n }\n onChanged();\n } else {\n registrationResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "public String mo56450e() {\n return \"registration\";\n }", "public void register(RegistrationData d) {}", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "@Test\n public void testRepeatRegistration(){\n UserRegisterKYC userRegister = new UserRegisterKYC(\"hello\", validId2, \"26/02/1995\",\"738583\");\n int requestResponse = userRegister.sendRegisterRequest();\n requestResponse = userRegister.sendRegisterRequest();\n assertEquals(500,requestResponse);\n }", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public RegisterStatus() {\n registerStatus=NOT_REGISTERED;\n }", "public void registrationPost(String regID){\n String type = \"android\";\n String name = LoginActivity.username;\n Callback<Events> callback = new Callback<Events>() {\n\n @Override\n public void success(Events serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceEventServerResponse(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.postRegistration(regID, type, name, callback);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "private void userSignUp(final int id, String agentNm, String fName, String sta, String localG, String tow, String phoneNm, String fmMr, String cbRg, String memSiz, String cggNam, String cFarmZz, String fcRg, String inFarm, String riceVarr, String qttyHarr, String afRg,\n String fertTldd, String noRzz, String qtyApll, String alRg, String szLoaa, String srcRicc, String qtyPdyRicc, String majByrss, String comSolcc, String qttyByy, String howMcc, String prcBb, String incDs,\n String reasnn, String hwSpyy, String stRg, String ysSptrr, String fm1, String t11, String cstCs11, String fm2, String t22, String cstCs22, String fm3, String t33, String cstCs33, String infPrcc, String salesDmm,\n String avgQtFcc, String whnCp, String whyCp, String whnEx, String whyExx, String mjCh, String adCh, String timSe, String othSe, String adInn) {\n Call<ResponseBody> call = RetrofitClient2\n .getInstance()\n .getNaSurvey()\n .submitResponse(agentNm, fName, sta, localG, tow, phoneNm, fmMr, cbRg, memSiz, cggNam, cFarmZz, fcRg, inFarm, riceVarr, qttyHarr, afRg, fertTldd, noRzz, qtyApll, alRg, szLoaa, srcRicc, qtyPdyRicc, majByrss, comSolcc, qttyByy, howMcc, prcBb, incDs, reasnn, hwSpyy, stRg, ysSptrr, fm1, t11, cstCs11,\n fm2, t22, cstCs22, fm3, t33, cstCs33, infPrcc, salesDmm, avgQtFcc, whnCp, whyCp, whnEx, whyExx, mjCh, adCh, timSe, othSe, adInn);\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n\n try {\n JSONObject obj = new JSONObject(String.valueOf(response));\n if (!obj.getBoolean(\"error\")) {\n //updating the status in sqlite\n db.updateNameStatus(id, SurveyActivity.SYNC_STATUS_OK);\n\n //sending the broadcast to refresh the list\n context.sendBroadcast(new Intent(SurveyActivity.DATA_SAVED_BROADCAST));\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Map<String, String> params = new HashMap<>();\n params.put(\"agentNm\", agentNm);\n params.put(\"fname\", fName);\n params.put(\"state\", sta);\n params.put(\"lga\", localG);\n params.put(\"town\", tow);\n params.put(\"phoneNm\", phoneNm);\n params.put(\"farmer\", fmMr);\n params.put(\"cogp\", cbRg);\n params.put(\"memsz\", memSiz);\n params.put(\"cgnam\", cggNam);\n params.put(\"cofmsz\", cFarmZz);\n params.put(\"frmcol\", fcRg);\n params.put(\"invfz\", inFarm);\n params.put(\"ricev\", riceVarr);\n params.put(\"qtyhv\", qttyHarr);\n params.put(\"apfert\", afRg);\n params.put(\"ysyld\", fertTldd);\n params.put(\"norz\", noRzz);\n params.put(\"qtyap\", qtyApll);\n params.put(\"aploa\", alRg);\n params.put(\"szloa\", szLoaa);\n params.put(\"srcric\", srcRicc);\n params.put(\"qtypdrc\", qtyPdyRicc);\n params.put(\"majby\", majByrss);\n params.put(\"comso\", comSolcc);\n params.put(\"qtby\", qttyByy);\n params.put(\"hwmch\", howMcc);\n params.put(\"pricbf\", prcBb);\n params.put(\"indcr\", incDs);\n params.put(\"rsn\", reasnn);\n params.put(\"hwspl\", hwSpyy);\n params.put(\"chsp\", stRg);\n params.put(\"yssptr\", ysSptrr);\n params.put(\"frm1\", fm1);\n params.put(\"to1\", t11);\n params.put(\"costc1\", cstCs11);\n params.put(\"frm2\", fm2);\n params.put(\"to2\", t22);\n params.put(\"costcs2\", cstCs22);\n params.put(\"frm3\", fm3);\n params.put(\"to3\", t33);\n params.put(\"costcs3\", cstCs33);\n params.put(\"infpr\", infPrcc);\n params.put(\"salsdm\", salesDmm);\n params.put(\"avqtf\", avgQtFcc);\n params.put(\"wncp\", whnCp);\n params.put(\"wycp\", whyCp);\n params.put(\"wnex\", whnEx);\n params.put(\"wyex\", whyExx);\n params.put(\"majch\", mjCh);\n params.put(\"addch\", adCh);\n params.put(\"timsl\",timSe);\n params.put(\"othsl\",othSe);\n params.put(\"adin\",adInn);\n\n return;\n }\n });\n\n }", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "@Override\n public void onResponse(BaseBean response) {\n Log.i(\"TAG\", \"response=\" + response);\n progress.dismissAllowingStateLoss();\n if (tag == 0) {\n /** TAG==0表示这是验证验证码 */\n// if (response.getCode() == 0) {\n// String urlPath = FinalData.URL_VALUE + \"register\";\n// Map<String, Object> map = new HashMap<String, Object>();\n// map.put(\"mobile\", etPhone.getText().toString().trim());\n// try {\n// map.put(\"password\", etPassword);\n// } catch (Exception e) {\n// // TODO Auto-generated catch block\n// e.printStackTrace();\n// }\n// GsonRequest<BaseBean> custom = new GsonRequest<BaseBean>(Request.Method.POST, urlPath, BaseBean.class, map, getVerifyListener(1), getVerifyErrorListener(1));\n// VolleySingleton.getInstance(getActivity().getApplicationContext()).addToRequestQueue(custom);\n// } else {\n// ToastUtils.showToast(getActivity(), response.getMsg());\n// }\n } else if (tag == 1) {\n /** TAG==1 表示这是注册 */\n if (response.getCode() == 0) {\n ToastUtils.showToast(context, response.getMsg());\n\n }\n }\n }", "public interface LoginRegistrationCallBack {\n\n void onResponseSuccess(String token);\n void onResponseError();\n\n}", "private ResponseRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "public AuthResponse registerAccount(Account acc){\n Call<AuthResponse> call = endpoints.registerAcc(acc);\n AuthResponse serverResponse = null;\n try {\n serverResponse = call.execute().body();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return serverResponse;\n }", "public ChangeRegistrationResponse(Hashtable<String, Object> hash) {\r\n super(hash);\r\n }", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "private void setRegisterRes(\n Register.Res.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 7;\n }", "net.nyhm.protonet.example.proto.LoginProto.RegisterResponse.Decision getDecision();", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "public Register.Res getRegisterRes() {\n if (rspCase_ == 7) {\n return (Register.Res) rsp_;\n }\n return Register.Res.getDefaultInstance();\n }", "public ChangeRegistrationResponse(@NonNull Boolean success, @NonNull Result resultCode) {\r\n\t\tthis();\r\n\t\tsetSuccess(success);\r\n\t\tsetResultCode(resultCode);\r\n\t}", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "private CallResponse() {\n initFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "interface ViewUserRegistration {\n void showLoading();\n\n void hideLoading();\n\n void userRegistrationSuccess(UserRegisterResponse userRegisterResponse);\n\n void userRegistrationError(String error);\n }", "@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] response) {\n // Hide Progress Dialog\n prgDialog.hide();\n // try {\n // JSON Object\n// String str=new String(response);\n// JSONObject obj = new JSONObject(str);\n // When the JSON response has status boolean value assigned with true\n if(statusCode==200){\n\n // Display successfully registered message using Toast\n Toast.makeText(getApplicationContext(), \"Thanks for the Donation.Our representative will contact you shortly :)\", Toast.LENGTH_LONG).show();\n navigateToHomeActivity();\n }\n\n }", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@Override\n public void onRegistrationSuccess() {\n listener.onUsernameAvailabilityChecked(false);\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@PostMapping(path = \"/online-sales-service/registerForAnEvent\")\n\tpublic ResponseEntity<?> eventRegistration(@RequestBody final EventRegistration eventReg, final HttpServletRequest request,\n\t\t\tfinal HttpServletResponse response) {\n\t\tResponseEntity<?> responseEntity;\n\t\tEventRegistration thisEvent = null;\n\t\ttry {\n\t\t\tthisEvent = eventRegistrationService.createEventRegistration(eventReg);\n\t\t} catch (Exception e) {\n\t\t\tresponseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.NOT_FOUND);\n\t\t}\n\t\tresponseEntity = new ResponseEntity<EventRegistration>(thisEvent, HttpStatus.OK);\n\t\treturn responseEntity;\n\t}", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public static RegistrationVO getRegistrationVO() {\r\n\t\treturn registrationVO;\r\n\t}", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "public void saveRegistrationInfo(RegistrationDTO registrationDTO)\r\n\t\t\tthrows Exception {\n\t}", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "@Override\r\n\tpublic void onFinishGetVerifyCode(int reg17FoxReturn) {\n\r\n\t\tswitch (reg17FoxReturn) {\r\n\t\tcase 103:\r\n\t\t\tdisplayRegisterResult(\"authKey出错\");\r\n\t\t\tbreak;\r\n\t\tcase 104:\r\n\t\t\tdisplayRegisterResult(\"参数不全\");\r\n\t\t\tbreak;\r\n\t\tcase 105:\r\n\t\t\tdisplayRegisterResult(\"手机格式错误\");\r\n\t\t\tbreak;\r\n\t\tcase 106:\r\n\t\t\tdisplayRegisterResult(\"此手机号已经注册\");\r\n\t\t\tbreak;\r\n\t\tcase 107:\r\n\t\t\tdisplayRegisterResult(\"此手机号不存在\");\r\n\t\t\tbreak;\r\n\t\tcase 108:\r\n\t\t\tToast.makeText(this, \"验证短信稍后发送到您手机\", Toast.LENGTH_LONG).show();\r\n\t\t\tbreak;\r\n\t\tcase 109:\r\n\t\t\tdisplayRegisterResult(\"短信发送失败\");\r\n\t\t\tbreak;\r\n\t\tcase 110:\r\n\t\t\tdisplayRegisterResult(\"短信验证码超时,请重新获取验证码\");\r\n\t\t\tbreak;\r\n\t\tcase 111:\r\n\t\t\tdisplayRegisterResult(\"短信验证码不正确\");\r\n\t\t\tbreak;\r\n\t\tcase 112:\r\n\t\t\tdisplayRegisterResult(\"短信验证通过\");\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tdisplayRegisterResult(\"服务器内部错误\");\r\n\t\t}\r\n\t\tenableYzBtnHandler.sendEmptyMessageDelayed(1, 1000);\r\n\t}", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "private void sendRegistrationToServer(String token) {\n }" ]
[ "0.7318", "0.6999633", "0.69554013", "0.694663", "0.69263613", "0.68704987", "0.682534", "0.67842513", "0.67171884", "0.6681477", "0.66677725", "0.65256006", "0.65217024", "0.6508144", "0.64968556", "0.6471097", "0.6426032", "0.6403649", "0.6398991", "0.6394312", "0.6355629", "0.6338359", "0.62917954", "0.62898946", "0.6252552", "0.62231576", "0.6201459", "0.6152857", "0.61239725", "0.60927355", "0.6092429", "0.607144", "0.6030716", "0.60304034", "0.6029398", "0.6027351", "0.60250914", "0.60087824", "0.60006815", "0.5975901", "0.5963247", "0.5936041", "0.5920562", "0.59048766", "0.5874698", "0.5862446", "0.5855555", "0.58501863", "0.5838247", "0.5837567", "0.58336854", "0.58271754", "0.5821312", "0.58021617", "0.57991564", "0.578513", "0.57737017", "0.5773256", "0.57665735", "0.5758664", "0.57346123", "0.57319164", "0.5728281", "0.5723886", "0.57182544", "0.5694033", "0.56902754", "0.5662591", "0.5642736", "0.5626005", "0.5625632", "0.5623964", "0.5623601", "0.5620659", "0.5605209", "0.5601017", "0.5597681", "0.5593491", "0.55819285", "0.557775", "0.55764633", "0.5570555", "0.5569714", "0.5563907", "0.55513847", "0.5547127", "0.55446255", "0.553952", "0.55329645", "0.55299026", "0.5529278", "0.5525127", "0.55149424", "0.55131716", "0.5509585", "0.55066067", "0.55039567", "0.5498068", "0.5490506", "0.5485802" ]
0.72834706
1
.RegistrationResponse registrationResponse = 15;
entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public void setRegisterResponse(Response registerResponse){\n\t\tthis.registerResponse=registerResponse;\n\t}", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public Builder setRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationResponse_ = value;\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "boolean hasRegistrationResponse();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public Response getRegisterResponse(){\n\t\treturn this.registerResponse;\n\t}", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "private void setRegistrationFlowResponse(final RegistrationFlowResponse registrationFlowResponse) {\n if (registrationFlowResponse != null) {\n mRegistrationResponse = registrationFlowResponse;\n }\n }", "public Builder setRegistrationResponse(\n entities.Torrent.RegistrationResponse.Builder builderForValue) {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = builderForValue.build();\n onChanged();\n } else {\n registrationResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }", "Register.Req getRegisterReq();", "public void confirmRegistration(RegistrationData d) {}", "public RegistrationInfo getRegistrationInfo();", "public ResponseRegister() {\n }", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationResponse getRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n return registrationResponse_ == null ? entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n } else {\n return registrationResponseBuilder_.getMessage();\n }\n }", "entities.Torrent.RegistrationRequest getRegistrationRequest();", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n if (registrationResponseBuilder_ != null) {\n return registrationResponseBuilder_.getMessageOrBuilder();\n } else {\n return registrationResponse_ == null ?\n entities.Torrent.RegistrationResponse.getDefaultInstance() : registrationResponse_;\n }\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public boolean hasRegistrationResponse() {\n return registrationResponse_ != null;\n }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "public UserRegisterResponse() {\n }", "@Override\n public void onRegistrationFail(RegistrationResponse response) {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors() && response.getErrors().size() > 0) {\n for (Error e : response.getErrors()) {\n\n if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG001.toString())) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG002.toString())) {\n signUpBinding.txtUserName.setErrorEnabled(true);\n signUpBinding.txtUserName.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG003.toString())) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG004.toString())) {\n signUpBinding.txtPassword.setErrorEnabled(true);\n signUpBinding.txtPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG005.toString())) {\n signUpBinding.txtConfPassword.setErrorEnabled(true);\n signUpBinding.txtConfPassword.setError(e.getMessage());\n\n } else if (e.getCode().equalsIgnoreCase(ERROR_CODE.REG006.toString())) {\n\n if (signUpBinding.txtUserId.isErrorEnabled() && signUpBinding.txtUserId.getError().toString().equalsIgnoreCase(getString(R.string.user_id_already))) {\n signUpBinding.txtUserId.setErrorEnabled(true);\n signUpBinding.txtUserId.setError(getString(R.string.user_id_already));\n } else {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n }\n\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "public boolean hasRegistrationResponse() {\n return registrationResponseBuilder_ != null || registrationResponse_ != null;\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "boolean hasRegistrationRequest();", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "Register.Res getRegisterRes();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>\n getRegistrationResponseFieldBuilder() {\n if (registrationResponseBuilder_ == null) {\n registrationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.RegistrationResponse, entities.Torrent.RegistrationResponse.Builder, entities.Torrent.RegistrationResponseOrBuilder>(\n getRegistrationResponse(),\n getParentForChildren(),\n isClean());\n registrationResponse_ = null;\n }\n return registrationResponseBuilder_;\n }", "void onNewRegistrationId(String registrationId);", "private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "@Override\n protected JSONObject doInBackground(Void... params) {\n\n try {\n response = Requestor.requestRegister(requestQueue, REGISTER_URL, phone, name, email, password);\n // response = JSONParser.Register(REGISTER_URL, phone, name, email, password);\n Log.d(\"TEST\", response.toString());\n code = response.getString(CODE);\n msg = response.getString(MESSAGE);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n return response;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public Builder clearRegistrationResponse() {\n if (registrationResponseBuilder_ == null) {\n registrationResponse_ = null;\n onChanged();\n } else {\n registrationResponse_ = null;\n registrationResponseBuilder_ = null;\n }\n\n return this;\n }", "private void handleRegister(Business business) {\n\n Call<String> call = rtfBase.register(business); //we get id\n call.enqueue(new Callback<String>() {\n @Override\n public void onResponse(Call<String> call, Response<String> response) {\n if(response.code() == 200)\n {\n // business.setId(response.body());\n // Toast.makeText(RegisterNewBusiness.this, \"registered successfully\",Toast.LENGTH_LONG).show();\n\n connectToApp(business);\n\n\n }\n if(response.code() == 400)\n {\n Toast.makeText(RegisterNewBusiness.this, \"you already registered\",Toast.LENGTH_LONG).show();\n\n }\n if(response.code() == 404)\n {\n Toast.makeText(RegisterNewBusiness.this, \"something wrong\",Toast.LENGTH_LONG).show();\n\n }\n }\n\n\n @Override\n public void onFailure(Call<String> call, Throwable t) {\n Toast.makeText(RegisterNewBusiness.this, t.getMessage(),Toast.LENGTH_LONG).show();\n }\n });\n }", "@Override\n public void OnServerRespondedCallback(InternalRequest response) {\n switch (response.Status){\n case InternalRequest.STATUS_OK:\n Log.i(MY_TAG, \"got server callback registration ok\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, true);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_SUCCESS);\n break;\n case InternalRequest.STATUS_FAIL:\n Log.i(MY_TAG, \"got server callback registration fail\");\n CommonUtil.PutCommonPreferenceIsRegisteredDevice(this, false);\n// intent.putExtra(ServicesBroadcastReceiver.BROADCAST_REC_EXTRA_ACTION_KEY,\n// ServicesBroadcastReceiver.ACTION_CODE_REGISTRATION_FAIL);\n break;\n default:\n Log.i(MY_TAG, \"unexpected callback status from server!\");\n return;\n }\n// sendBroadcast(intent);\n }", "@Override\n public void onResponse(String response) {\n Log.d(\"RESPONSE\", response);\n\n if (response.equals(\"success\")) {\n loading.dismiss();\n Intent intent = new Intent(RegisterActivity.this, LoginActivity.class);\n Toasty.success(RegisterActivity.this, \"Registration successful\", Toast.LENGTH_SHORT).show();\n startActivity(intent);\n } else if (response.equals(\"exists\")) {\n\n Toasty.warning(RegisterActivity.this, \"User already exists!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n\n else if (response.equals(\"failure\")) {\n\n Toasty.error(RegisterActivity.this, \"Registration Failed!\", Toast.LENGTH_SHORT).show();\n loading.dismiss();\n\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "public Builder mergeRegistrationResponse(entities.Torrent.RegistrationResponse value) {\n if (registrationResponseBuilder_ == null) {\n if (registrationResponse_ != null) {\n registrationResponse_ =\n entities.Torrent.RegistrationResponse.newBuilder(registrationResponse_).mergeFrom(value).buildPartial();\n } else {\n registrationResponse_ = value;\n }\n onChanged();\n } else {\n registrationResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "public String mo56450e() {\n return \"registration\";\n }", "public void register(RegistrationData d) {}", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "@Test\n public void testRepeatRegistration(){\n UserRegisterKYC userRegister = new UserRegisterKYC(\"hello\", validId2, \"26/02/1995\",\"738583\");\n int requestResponse = userRegister.sendRegisterRequest();\n requestResponse = userRegister.sendRegisterRequest();\n assertEquals(500,requestResponse);\n }", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public RegisterStatus() {\n registerStatus=NOT_REGISTERED;\n }", "public void registrationPost(String regID){\n String type = \"android\";\n String name = LoginActivity.username;\n Callback<Events> callback = new Callback<Events>() {\n\n @Override\n public void success(Events serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceEventServerResponse(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.postRegistration(regID, type, name, callback);\n }", "@Override\r\n\r\n public void getResult(String result) {\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "private void userSignUp(final int id, String agentNm, String fName, String sta, String localG, String tow, String phoneNm, String fmMr, String cbRg, String memSiz, String cggNam, String cFarmZz, String fcRg, String inFarm, String riceVarr, String qttyHarr, String afRg,\n String fertTldd, String noRzz, String qtyApll, String alRg, String szLoaa, String srcRicc, String qtyPdyRicc, String majByrss, String comSolcc, String qttyByy, String howMcc, String prcBb, String incDs,\n String reasnn, String hwSpyy, String stRg, String ysSptrr, String fm1, String t11, String cstCs11, String fm2, String t22, String cstCs22, String fm3, String t33, String cstCs33, String infPrcc, String salesDmm,\n String avgQtFcc, String whnCp, String whyCp, String whnEx, String whyExx, String mjCh, String adCh, String timSe, String othSe, String adInn) {\n Call<ResponseBody> call = RetrofitClient2\n .getInstance()\n .getNaSurvey()\n .submitResponse(agentNm, fName, sta, localG, tow, phoneNm, fmMr, cbRg, memSiz, cggNam, cFarmZz, fcRg, inFarm, riceVarr, qttyHarr, afRg, fertTldd, noRzz, qtyApll, alRg, szLoaa, srcRicc, qtyPdyRicc, majByrss, comSolcc, qttyByy, howMcc, prcBb, incDs, reasnn, hwSpyy, stRg, ysSptrr, fm1, t11, cstCs11,\n fm2, t22, cstCs22, fm3, t33, cstCs33, infPrcc, salesDmm, avgQtFcc, whnCp, whyCp, whnEx, whyExx, mjCh, adCh, timSe, othSe, adInn);\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n\n try {\n JSONObject obj = new JSONObject(String.valueOf(response));\n if (!obj.getBoolean(\"error\")) {\n //updating the status in sqlite\n db.updateNameStatus(id, SurveyActivity.SYNC_STATUS_OK);\n\n //sending the broadcast to refresh the list\n context.sendBroadcast(new Intent(SurveyActivity.DATA_SAVED_BROADCAST));\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Map<String, String> params = new HashMap<>();\n params.put(\"agentNm\", agentNm);\n params.put(\"fname\", fName);\n params.put(\"state\", sta);\n params.put(\"lga\", localG);\n params.put(\"town\", tow);\n params.put(\"phoneNm\", phoneNm);\n params.put(\"farmer\", fmMr);\n params.put(\"cogp\", cbRg);\n params.put(\"memsz\", memSiz);\n params.put(\"cgnam\", cggNam);\n params.put(\"cofmsz\", cFarmZz);\n params.put(\"frmcol\", fcRg);\n params.put(\"invfz\", inFarm);\n params.put(\"ricev\", riceVarr);\n params.put(\"qtyhv\", qttyHarr);\n params.put(\"apfert\", afRg);\n params.put(\"ysyld\", fertTldd);\n params.put(\"norz\", noRzz);\n params.put(\"qtyap\", qtyApll);\n params.put(\"aploa\", alRg);\n params.put(\"szloa\", szLoaa);\n params.put(\"srcric\", srcRicc);\n params.put(\"qtypdrc\", qtyPdyRicc);\n params.put(\"majby\", majByrss);\n params.put(\"comso\", comSolcc);\n params.put(\"qtby\", qttyByy);\n params.put(\"hwmch\", howMcc);\n params.put(\"pricbf\", prcBb);\n params.put(\"indcr\", incDs);\n params.put(\"rsn\", reasnn);\n params.put(\"hwspl\", hwSpyy);\n params.put(\"chsp\", stRg);\n params.put(\"yssptr\", ysSptrr);\n params.put(\"frm1\", fm1);\n params.put(\"to1\", t11);\n params.put(\"costc1\", cstCs11);\n params.put(\"frm2\", fm2);\n params.put(\"to2\", t22);\n params.put(\"costcs2\", cstCs22);\n params.put(\"frm3\", fm3);\n params.put(\"to3\", t33);\n params.put(\"costcs3\", cstCs33);\n params.put(\"infpr\", infPrcc);\n params.put(\"salsdm\", salesDmm);\n params.put(\"avqtf\", avgQtFcc);\n params.put(\"wncp\", whnCp);\n params.put(\"wycp\", whyCp);\n params.put(\"wnex\", whnEx);\n params.put(\"wyex\", whyExx);\n params.put(\"majch\", mjCh);\n params.put(\"addch\", adCh);\n params.put(\"timsl\",timSe);\n params.put(\"othsl\",othSe);\n params.put(\"adin\",adInn);\n\n return;\n }\n });\n\n }", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "@Override\n public void onResponse(BaseBean response) {\n Log.i(\"TAG\", \"response=\" + response);\n progress.dismissAllowingStateLoss();\n if (tag == 0) {\n /** TAG==0表示这是验证验证码 */\n// if (response.getCode() == 0) {\n// String urlPath = FinalData.URL_VALUE + \"register\";\n// Map<String, Object> map = new HashMap<String, Object>();\n// map.put(\"mobile\", etPhone.getText().toString().trim());\n// try {\n// map.put(\"password\", etPassword);\n// } catch (Exception e) {\n// // TODO Auto-generated catch block\n// e.printStackTrace();\n// }\n// GsonRequest<BaseBean> custom = new GsonRequest<BaseBean>(Request.Method.POST, urlPath, BaseBean.class, map, getVerifyListener(1), getVerifyErrorListener(1));\n// VolleySingleton.getInstance(getActivity().getApplicationContext()).addToRequestQueue(custom);\n// } else {\n// ToastUtils.showToast(getActivity(), response.getMsg());\n// }\n } else if (tag == 1) {\n /** TAG==1 表示这是注册 */\n if (response.getCode() == 0) {\n ToastUtils.showToast(context, response.getMsg());\n\n }\n }\n }", "public interface LoginRegistrationCallBack {\n\n void onResponseSuccess(String token);\n void onResponseError();\n\n}", "private ResponseRegister(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "public AuthResponse registerAccount(Account acc){\n Call<AuthResponse> call = endpoints.registerAcc(acc);\n AuthResponse serverResponse = null;\n try {\n serverResponse = call.execute().body();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return serverResponse;\n }", "public ChangeRegistrationResponse(Hashtable<String, Object> hash) {\r\n super(hash);\r\n }", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "private void setRegisterRes(\n Register.Res.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 7;\n }", "net.nyhm.protonet.example.proto.LoginProto.RegisterResponse.Decision getDecision();", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "public Register.Res getRegisterRes() {\n if (rspCase_ == 7) {\n return (Register.Res) rsp_;\n }\n return Register.Res.getDefaultInstance();\n }", "public ChangeRegistrationResponse(@NonNull Boolean success, @NonNull Result resultCode) {\r\n\t\tthis();\r\n\t\tsetSuccess(success);\r\n\t\tsetResultCode(resultCode);\r\n\t}", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "private CallResponse() {\n initFields();\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "interface ViewUserRegistration {\n void showLoading();\n\n void hideLoading();\n\n void userRegistrationSuccess(UserRegisterResponse userRegisterResponse);\n\n void userRegistrationError(String error);\n }", "@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] response) {\n // Hide Progress Dialog\n prgDialog.hide();\n // try {\n // JSON Object\n// String str=new String(response);\n// JSONObject obj = new JSONObject(str);\n // When the JSON response has status boolean value assigned with true\n if(statusCode==200){\n\n // Display successfully registered message using Toast\n Toast.makeText(getApplicationContext(), \"Thanks for the Donation.Our representative will contact you shortly :)\", Toast.LENGTH_LONG).show();\n navigateToHomeActivity();\n }\n\n }", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@Override\n public void onRegistrationSuccess() {\n listener.onUsernameAvailabilityChecked(false);\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@PostMapping(path = \"/online-sales-service/registerForAnEvent\")\n\tpublic ResponseEntity<?> eventRegistration(@RequestBody final EventRegistration eventReg, final HttpServletRequest request,\n\t\t\tfinal HttpServletResponse response) {\n\t\tResponseEntity<?> responseEntity;\n\t\tEventRegistration thisEvent = null;\n\t\ttry {\n\t\t\tthisEvent = eventRegistrationService.createEventRegistration(eventReg);\n\t\t} catch (Exception e) {\n\t\t\tresponseEntity = new ResponseEntity<String>(e.getMessage(), HttpStatus.NOT_FOUND);\n\t\t}\n\t\tresponseEntity = new ResponseEntity<EventRegistration>(thisEvent, HttpStatus.OK);\n\t\treturn responseEntity;\n\t}", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public static RegistrationVO getRegistrationVO() {\r\n\t\treturn registrationVO;\r\n\t}", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "public void saveRegistrationInfo(RegistrationDTO registrationDTO)\r\n\t\t\tthrows Exception {\n\t}", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "@Override\r\n\tpublic void onFinishGetVerifyCode(int reg17FoxReturn) {\n\r\n\t\tswitch (reg17FoxReturn) {\r\n\t\tcase 103:\r\n\t\t\tdisplayRegisterResult(\"authKey出错\");\r\n\t\t\tbreak;\r\n\t\tcase 104:\r\n\t\t\tdisplayRegisterResult(\"参数不全\");\r\n\t\t\tbreak;\r\n\t\tcase 105:\r\n\t\t\tdisplayRegisterResult(\"手机格式错误\");\r\n\t\t\tbreak;\r\n\t\tcase 106:\r\n\t\t\tdisplayRegisterResult(\"此手机号已经注册\");\r\n\t\t\tbreak;\r\n\t\tcase 107:\r\n\t\t\tdisplayRegisterResult(\"此手机号不存在\");\r\n\t\t\tbreak;\r\n\t\tcase 108:\r\n\t\t\tToast.makeText(this, \"验证短信稍后发送到您手机\", Toast.LENGTH_LONG).show();\r\n\t\t\tbreak;\r\n\t\tcase 109:\r\n\t\t\tdisplayRegisterResult(\"短信发送失败\");\r\n\t\t\tbreak;\r\n\t\tcase 110:\r\n\t\t\tdisplayRegisterResult(\"短信验证码超时,请重新获取验证码\");\r\n\t\t\tbreak;\r\n\t\tcase 111:\r\n\t\t\tdisplayRegisterResult(\"短信验证码不正确\");\r\n\t\t\tbreak;\r\n\t\tcase 112:\r\n\t\t\tdisplayRegisterResult(\"短信验证通过\");\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tdisplayRegisterResult(\"服务器内部错误\");\r\n\t\t}\r\n\t\tenableYzBtnHandler.sendEmptyMessageDelayed(1, 1000);\r\n\t}", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "private void sendRegistrationToServer(String token) {\n }" ]
[ "0.7318", "0.72834706", "0.6999633", "0.69554013", "0.694663", "0.68704987", "0.682534", "0.67842513", "0.67171884", "0.6681477", "0.66677725", "0.65256006", "0.65217024", "0.6508144", "0.64968556", "0.6471097", "0.6426032", "0.6403649", "0.6398991", "0.6394312", "0.6355629", "0.6338359", "0.62917954", "0.62898946", "0.6252552", "0.62231576", "0.6201459", "0.6152857", "0.61239725", "0.60927355", "0.6092429", "0.607144", "0.6030716", "0.60304034", "0.6029398", "0.6027351", "0.60250914", "0.60087824", "0.60006815", "0.5975901", "0.5963247", "0.5936041", "0.5920562", "0.59048766", "0.5874698", "0.5862446", "0.5855555", "0.58501863", "0.5838247", "0.5837567", "0.58336854", "0.58271754", "0.5821312", "0.58021617", "0.57991564", "0.578513", "0.57737017", "0.5773256", "0.57665735", "0.5758664", "0.57346123", "0.57319164", "0.5728281", "0.5723886", "0.57182544", "0.5694033", "0.56902754", "0.5662591", "0.5642736", "0.5626005", "0.5625632", "0.5623964", "0.5623601", "0.5620659", "0.5605209", "0.5601017", "0.5597681", "0.5593491", "0.55819285", "0.557775", "0.55764633", "0.5570555", "0.5569714", "0.5563907", "0.55513847", "0.5547127", "0.55446255", "0.553952", "0.55329645", "0.55299026", "0.5529278", "0.5525127", "0.55149424", "0.55131716", "0.5509585", "0.55066067", "0.55039567", "0.5498068", "0.5490506", "0.5485802" ]
0.69263613
5
.SubnetRequest subnetRequest = 16;
boolean hasSubnetRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetRequest getSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "java.lang.String getSubnet();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "boolean hasSubnetResponse();", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public SubnetInner subnet() {\n return this.subnet;\n }", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public String subnetId() {\n return this.subnetId;\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "byte[] networkMask();", "public TeIpv6() {\n }", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "void setNetworkMask(byte[] networkMask);", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>\n getSubnetRequestFieldBuilder() {\n if (subnetRequestBuilder_ == null) {\n subnetRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>(\n getSubnetRequest(),\n getParentForChildren(),\n isClean());\n subnetRequest_ = null;\n }\n return subnetRequestBuilder_;\n }", "public VirtualNetworksLayer(String name, Parameters params) {\n\t\tsuper(name,params);\n\t\tSystem.out.println(\"Virtual networks layer : \"+params);\n\t\trand = new Random();\n\t\tint maxNetNum = 0;\n\t\tString names[] = params.names();\n\t\tint numNets = names.length;\n\t\tnetworks = new short[numNets][2];\n\t\tfor(int i=0;i<numNets;i++) {\n\t\t\tString subName = names[i];\n\t\t\tshort subNumber = (short)0;\n\t\t\ttry {subNumber = params.getShort(subName);}\n\t\t\tcatch(ParamDoesNotExistException pdnee) {\n\t\t\t\tthrow new RuntimeException(\"Invalid parameter for subnet \"+subName+\".\");\n\t\t\t}\n\t\t\tnetworks[i][0] = Short.parseShort(subName);\n\t\t\tnetworks[i][1] = subNumber;\n\t\t\tSystem.out.println(\"-> Add subnetwork: \"+subName+\"-\"+subNumber);\n\t\t\tif(networks[i][0] > maxNetNum) maxNetNum = networks[i][0];\n\t\t}\n\t\tint numNetBytes = (short)(maxNetNum >> 3) + 1;\n\t\tnetBits = new byte[numNetBytes];\n\t\tfor(int i = 0; i < numNets; i++) {\n\t\t\tint nByte = networks[i][0] >> 3; // division par 8\n\t\t\tint nBit = networks[i][0] & 7; // modulo 8\n\t\t\tnetBits[nByte] = (byte)(netBits[nByte] | (1 << nBit)); // set the corresponding bit\n\t\t}\n }", "private void sumbit(String ip){\n }", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public EthernetStaticIP() {\n }", "public String getNetwork() {\n String[] ipOctets = ipAddress.split(\"\\\\.\");\n String[] subnetOctets = subnetMask.split(\"\\\\.\");\n String[] result = ipOctets;\n\n for (int i = 0; i < 4; i++) {\n if (!\"255\".equals(subnetOctets[i])) {\n int sub = Integer.parseInt(subnetOctets[i]);\n int ip = Integer.parseInt(ipOctets[i]);\n result[i] = String.format(\"%s\", (ip & sub));\n }\n }\n\n return String.join(\".\", result);\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "int getS1Ip();", "@Test(expected = IllegalArgumentException.class)\n public void testInvalidMakeNegativeMaskPrefixIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.makeMaskPrefix(-1);\n }", "public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets) {\n this.subnets = subnets;\n return this;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "Subnet(String subnetString, Map<String,NetNode> addresses) {\n\t\t\tthis.members = members(subnetString, addresses);\n\t\t\tthis.groups = groups(subnetString, members);\n\t\t}", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "LabNetworkProfile networkProfile();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "NetworkInterfaceIpConfiguration destinationNetworkInterfaceIpConfiguration();", "public void enableIpv6(boolean val);", "public int\n setBitRate(int bitRate);", "public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "@Override\n public void buildNetwork() {\n }", "public DefaultCniNetworkInner() {\n }", "public Call inviteAddress(Address addr);", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "protected void addVpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReferencePropertyDescriptor(\n\t\t\tObject object) {\n\t\titemPropertyDescriptors.add(createItemPropertyDescriptor(\n\t\t\t\t((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),\n\t\t\t\tgetString(\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\"),\n\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_type\"),\n\t\t\t\tAwsworkbenchPackage.Literals.APPLICATION_LOAD_BALANCER_BUILDER_ELASTICLOADBALANCINGV2__VPC_SUBNETS_WITH_SUBNET_SELECTION_SOFTWARE_AMAZON_AWSCDK_SERVICES_EC2_SUBNET_SELECTION_AS_REFERENCE,\n\t\t\t\ttrue, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\n\t}", "public void setSubnetArn(String subnetArn) {\n this.subnetArn = subnetArn;\n }", "public TestBSSVRequest() {\r\n }", "@Test\n public void sipAddressTest() {\n // TODO: test sipAddress\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public static void putDelegatedSubnet(com.azure.resourcemanager.delegatednetwork.DelegatedNetworkManager manager) {\n manager\n .delegatedSubnetServices()\n .define(\"delegated1\")\n .withRegion(\"West US\")\n .withExistingResourceGroup(\"TestRG\")\n .withSubnetDetails(\n new SubnetDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet\"))\n .withControllerDetails(\n new ControllerDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller\"))\n .create();\n }" ]
[ "0.79386127", "0.70161825", "0.6881657", "0.68414843", "0.67907566", "0.67907566", "0.67907566", "0.678423", "0.6778312", "0.67452836", "0.6509426", "0.6475419", "0.6475419", "0.6475419", "0.63659567", "0.63659567", "0.6365822", "0.6313081", "0.63101864", "0.62503815", "0.62501603", "0.62501603", "0.6217703", "0.6172369", "0.6127176", "0.60970443", "0.60570663", "0.6049343", "0.596633", "0.59616446", "0.59117144", "0.5905863", "0.58951944", "0.58830285", "0.58707196", "0.5853389", "0.5852561", "0.5849698", "0.58419013", "0.5841874", "0.583815", "0.5777234", "0.5774304", "0.5703013", "0.568731", "0.56587374", "0.56587374", "0.56587374", "0.5639432", "0.5602681", "0.55441946", "0.5462927", "0.5447908", "0.5420193", "0.535556", "0.5345242", "0.529866", "0.5286624", "0.52759427", "0.5268537", "0.5248087", "0.5226913", "0.52179223", "0.52047557", "0.520161", "0.5193373", "0.5150651", "0.51399666", "0.51238334", "0.50897264", "0.5057333", "0.50550455", "0.50508374", "0.50344324", "0.501738", "0.501426", "0.50073177", "0.50069237", "0.49969852", "0.498906", "0.49734187", "0.49515942", "0.49198756", "0.48868835", "0.48820335", "0.48781446", "0.48655596", "0.48631108", "0.48598573", "0.48457688", "0.48357537", "0.48356536", "0.4827102", "0.48084155", "0.47985503", "0.4794464", "0.478343", "0.4783339", "0.47632483", "0.47625104" ]
0.70175767
1
.SubnetRequest subnetRequest = 16;
entities.Torrent.SubnetRequest getSubnetRequest();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "java.lang.String getSubnet();", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "boolean hasSubnetResponse();", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public SubnetInner subnet() {\n return this.subnet;\n }", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public String subnetId() {\n return this.subnetId;\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "byte[] networkMask();", "public TeIpv6() {\n }", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "void setNetworkMask(byte[] networkMask);", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>\n getSubnetRequestFieldBuilder() {\n if (subnetRequestBuilder_ == null) {\n subnetRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>(\n getSubnetRequest(),\n getParentForChildren(),\n isClean());\n subnetRequest_ = null;\n }\n return subnetRequestBuilder_;\n }", "public VirtualNetworksLayer(String name, Parameters params) {\n\t\tsuper(name,params);\n\t\tSystem.out.println(\"Virtual networks layer : \"+params);\n\t\trand = new Random();\n\t\tint maxNetNum = 0;\n\t\tString names[] = params.names();\n\t\tint numNets = names.length;\n\t\tnetworks = new short[numNets][2];\n\t\tfor(int i=0;i<numNets;i++) {\n\t\t\tString subName = names[i];\n\t\t\tshort subNumber = (short)0;\n\t\t\ttry {subNumber = params.getShort(subName);}\n\t\t\tcatch(ParamDoesNotExistException pdnee) {\n\t\t\t\tthrow new RuntimeException(\"Invalid parameter for subnet \"+subName+\".\");\n\t\t\t}\n\t\t\tnetworks[i][0] = Short.parseShort(subName);\n\t\t\tnetworks[i][1] = subNumber;\n\t\t\tSystem.out.println(\"-> Add subnetwork: \"+subName+\"-\"+subNumber);\n\t\t\tif(networks[i][0] > maxNetNum) maxNetNum = networks[i][0];\n\t\t}\n\t\tint numNetBytes = (short)(maxNetNum >> 3) + 1;\n\t\tnetBits = new byte[numNetBytes];\n\t\tfor(int i = 0; i < numNets; i++) {\n\t\t\tint nByte = networks[i][0] >> 3; // division par 8\n\t\t\tint nBit = networks[i][0] & 7; // modulo 8\n\t\t\tnetBits[nByte] = (byte)(netBits[nByte] | (1 << nBit)); // set the corresponding bit\n\t\t}\n }", "private void sumbit(String ip){\n }", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public EthernetStaticIP() {\n }", "public String getNetwork() {\n String[] ipOctets = ipAddress.split(\"\\\\.\");\n String[] subnetOctets = subnetMask.split(\"\\\\.\");\n String[] result = ipOctets;\n\n for (int i = 0; i < 4; i++) {\n if (!\"255\".equals(subnetOctets[i])) {\n int sub = Integer.parseInt(subnetOctets[i]);\n int ip = Integer.parseInt(ipOctets[i]);\n result[i] = String.format(\"%s\", (ip & sub));\n }\n }\n\n return String.join(\".\", result);\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "int getS1Ip();", "@Test(expected = IllegalArgumentException.class)\n public void testInvalidMakeNegativeMaskPrefixIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.makeMaskPrefix(-1);\n }", "public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets) {\n this.subnets = subnets;\n return this;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "Subnet(String subnetString, Map<String,NetNode> addresses) {\n\t\t\tthis.members = members(subnetString, addresses);\n\t\t\tthis.groups = groups(subnetString, members);\n\t\t}", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "LabNetworkProfile networkProfile();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "NetworkInterfaceIpConfiguration destinationNetworkInterfaceIpConfiguration();", "public void enableIpv6(boolean val);", "public int\n setBitRate(int bitRate);", "public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "@Override\n public void buildNetwork() {\n }", "public DefaultCniNetworkInner() {\n }", "public Call inviteAddress(Address addr);", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "protected void addVpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReferencePropertyDescriptor(\n\t\t\tObject object) {\n\t\titemPropertyDescriptors.add(createItemPropertyDescriptor(\n\t\t\t\t((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),\n\t\t\t\tgetString(\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\"),\n\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_type\"),\n\t\t\t\tAwsworkbenchPackage.Literals.APPLICATION_LOAD_BALANCER_BUILDER_ELASTICLOADBALANCINGV2__VPC_SUBNETS_WITH_SUBNET_SELECTION_SOFTWARE_AMAZON_AWSCDK_SERVICES_EC2_SUBNET_SELECTION_AS_REFERENCE,\n\t\t\t\ttrue, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\n\t}", "public void setSubnetArn(String subnetArn) {\n this.subnetArn = subnetArn;\n }", "public TestBSSVRequest() {\r\n }", "@Test\n public void sipAddressTest() {\n // TODO: test sipAddress\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public static void putDelegatedSubnet(com.azure.resourcemanager.delegatednetwork.DelegatedNetworkManager manager) {\n manager\n .delegatedSubnetServices()\n .define(\"delegated1\")\n .withRegion(\"West US\")\n .withExistingResourceGroup(\"TestRG\")\n .withSubnetDetails(\n new SubnetDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet\"))\n .withControllerDetails(\n new ControllerDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller\"))\n .create();\n }" ]
[ "0.70175767", "0.70161825", "0.6881657", "0.68414843", "0.67907566", "0.67907566", "0.67907566", "0.678423", "0.6778312", "0.67452836", "0.6509426", "0.6475419", "0.6475419", "0.6475419", "0.63659567", "0.63659567", "0.6365822", "0.6313081", "0.63101864", "0.62503815", "0.62501603", "0.62501603", "0.6217703", "0.6172369", "0.6127176", "0.60970443", "0.60570663", "0.6049343", "0.596633", "0.59616446", "0.59117144", "0.5905863", "0.58951944", "0.58830285", "0.58707196", "0.5853389", "0.5852561", "0.5849698", "0.58419013", "0.5841874", "0.583815", "0.5777234", "0.5774304", "0.5703013", "0.568731", "0.56587374", "0.56587374", "0.56587374", "0.5639432", "0.5602681", "0.55441946", "0.5462927", "0.5447908", "0.5420193", "0.535556", "0.5345242", "0.529866", "0.5286624", "0.52759427", "0.5268537", "0.5248087", "0.5226913", "0.52179223", "0.52047557", "0.520161", "0.5193373", "0.5150651", "0.51399666", "0.51238334", "0.50897264", "0.5057333", "0.50550455", "0.50508374", "0.50344324", "0.501738", "0.501426", "0.50073177", "0.50069237", "0.49969852", "0.498906", "0.49734187", "0.49515942", "0.49198756", "0.48868835", "0.48820335", "0.48781446", "0.48655596", "0.48631108", "0.48598573", "0.48457688", "0.48357537", "0.48356536", "0.4827102", "0.48084155", "0.47985503", "0.4794464", "0.478343", "0.4783339", "0.47632483", "0.47625104" ]
0.79386127
0
.SubnetRequest subnetRequest = 16;
entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetRequest getSubnetRequest();", "boolean hasSubnetRequest();", "@Required\n public String getSubnet() {\n return subnet;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetResponse getSubnetResponse();", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "java.lang.String getSubnet();", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "boolean hasSubnetResponse();", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public SubnetInner subnet() {\n return this.subnet;\n }", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public String subnetId() {\n return this.subnetId;\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "byte[] networkMask();", "public TeIpv6() {\n }", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "void setNetworkMask(byte[] networkMask);", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>\n getSubnetRequestFieldBuilder() {\n if (subnetRequestBuilder_ == null) {\n subnetRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetRequest, entities.Torrent.SubnetRequest.Builder, entities.Torrent.SubnetRequestOrBuilder>(\n getSubnetRequest(),\n getParentForChildren(),\n isClean());\n subnetRequest_ = null;\n }\n return subnetRequestBuilder_;\n }", "public VirtualNetworksLayer(String name, Parameters params) {\n\t\tsuper(name,params);\n\t\tSystem.out.println(\"Virtual networks layer : \"+params);\n\t\trand = new Random();\n\t\tint maxNetNum = 0;\n\t\tString names[] = params.names();\n\t\tint numNets = names.length;\n\t\tnetworks = new short[numNets][2];\n\t\tfor(int i=0;i<numNets;i++) {\n\t\t\tString subName = names[i];\n\t\t\tshort subNumber = (short)0;\n\t\t\ttry {subNumber = params.getShort(subName);}\n\t\t\tcatch(ParamDoesNotExistException pdnee) {\n\t\t\t\tthrow new RuntimeException(\"Invalid parameter for subnet \"+subName+\".\");\n\t\t\t}\n\t\t\tnetworks[i][0] = Short.parseShort(subName);\n\t\t\tnetworks[i][1] = subNumber;\n\t\t\tSystem.out.println(\"-> Add subnetwork: \"+subName+\"-\"+subNumber);\n\t\t\tif(networks[i][0] > maxNetNum) maxNetNum = networks[i][0];\n\t\t}\n\t\tint numNetBytes = (short)(maxNetNum >> 3) + 1;\n\t\tnetBits = new byte[numNetBytes];\n\t\tfor(int i = 0; i < numNets; i++) {\n\t\t\tint nByte = networks[i][0] >> 3; // division par 8\n\t\t\tint nBit = networks[i][0] & 7; // modulo 8\n\t\t\tnetBits[nByte] = (byte)(netBits[nByte] | (1 << nBit)); // set the corresponding bit\n\t\t}\n }", "private void sumbit(String ip){\n }", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public EthernetStaticIP() {\n }", "public String getNetwork() {\n String[] ipOctets = ipAddress.split(\"\\\\.\");\n String[] subnetOctets = subnetMask.split(\"\\\\.\");\n String[] result = ipOctets;\n\n for (int i = 0; i < 4; i++) {\n if (!\"255\".equals(subnetOctets[i])) {\n int sub = Integer.parseInt(subnetOctets[i]);\n int ip = Integer.parseInt(ipOctets[i]);\n result[i] = String.format(\"%s\", (ip & sub));\n }\n }\n\n return String.join(\".\", result);\n }", "public Inet4Address getNetworkAddress() {\n\t\treturn subnetAddress;\n\t}", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public interface Constants {\n public static final short NET_MASK_MAX_LENGTH = 32;\n}", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public boolean isInSubnet(Inet4Address address) {\n\t\tbyte[] sb = subnetAddress.getAddress();\n\t\tint subnet_int = ((sb[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((sb[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((sb[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((sb[3] & 0xFF) << 0);\n\t\t\n\t\tbyte[] b = address.getAddress();\n\t\tint address_int = ((b[0] & 0xFF) << 24) |\n\t\t\t\t\t\t((b[1] & 0xFF) << 16) |\n\t\t\t\t\t\t((b[2] & 0xFF) << 8) |\n\t\t\t\t\t\t((b[3] & 0xFF) << 0);\n\t\t\n\t\tint bitmask = -1 << (32 - mask);\n\t\t\n\t\tif ((subnet_int & bitmask) == (address_int & bitmask)) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "int getS1Ip();", "@Test(expected = IllegalArgumentException.class)\n public void testInvalidMakeNegativeMaskPrefixIPv4() {\n Ip4Address ipAddress;\n\n ipAddress = Ip4Address.makeMaskPrefix(-1);\n }", "public PrivateAccessVirtualNetwork withSubnets(List<PrivateAccessSubnet> subnets) {\n this.subnets = subnets;\n return this;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public static void main(String[] args) {\n byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2};\n byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0};\n byte[] netAddress = getNetAddress(ip, mask);\n print(ip); //11000000 10101000 00000001 00000010\n print(mask); //11111111 11111111 11111110 00000000\n print(netAddress); //11000000 10101000 00000000 00000000\n }", "Subnet(String subnetString, Map<String,NetNode> addresses) {\n\t\t\tthis.members = members(subnetString, addresses);\n\t\t\tthis.groups = groups(subnetString, members);\n\t\t}", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "LabNetworkProfile networkProfile();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "NetworkInterfaceIpConfiguration destinationNetworkInterfaceIpConfiguration();", "public void enableIpv6(boolean val);", "public int\n setBitRate(int bitRate);", "public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "public SubnetAddress(Controller controller, Inet4Address subnetAddress, int mask, long subnetID, String bridgeName) throws Exception {\n\t\tthis.controller = controller;\n\t\tthis.subnetAddress = subnetAddress;\n\t\tthis.mask = mask;\n\t\tthis.usedAddresses = new ArrayList<Inet4Address>();\n\t\tthis.state = BridgeState.NON_EXISTENT;\n\t\t\n\t\t//add broadcast and gateway to usedAddress\n\t\tthis.usedAddresses.add(getNetworkAddress());\n\t\tthis.usedAddresses.add(getGatewayAddress());\n\t\tthis.usedAddresses.add(getBroadcastAddress());\n\t\t\n\t\tthis.subnetID = subnetID;\n\t\tthis.bridgeName = bridgeName;\n\n\t\tthis.scriptDirectory = controller.configMap.get(\"LocScript\");\n\t\tthis.processMap = new HashMap<>();\n\t\t\n\t\tthis.updateTimer = new Timer();\n\t\tthis.updateTask = new UpdateStateTask();\n\t\t\n\t\t// create bridge on host machine\n\t\tif (createBridgeOnHost() == 0) {\n\t\t\tDebug.redDebug(\"createBridgeOnHost() FAILED!\");\n\t\t\tthrow new Exception(\"Error when creating a bridge on host for the subnet: \" + subnetID);\n\t\t}\n\t}", "int netid() {\n\t\t\treturn address & (-1 << mask);\n\t\t}", "@Override\n public void buildNetwork() {\n }", "public DefaultCniNetworkInner() {\n }", "public Call inviteAddress(Address addr);", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "protected void addVpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReferencePropertyDescriptor(\n\t\t\tObject object) {\n\t\titemPropertyDescriptors.add(createItemPropertyDescriptor(\n\t\t\t\t((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),\n\t\t\t\tgetString(\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\"),\n\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_vpcSubnetsWithSubnetSelection_software_amazon_awscdk_services_ec2_SubnetSelection_AsReference_feature\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_type\"),\n\t\t\t\tAwsworkbenchPackage.Literals.APPLICATION_LOAD_BALANCER_BUILDER_ELASTICLOADBALANCINGV2__VPC_SUBNETS_WITH_SUBNET_SELECTION_SOFTWARE_AMAZON_AWSCDK_SERVICES_EC2_SUBNET_SELECTION_AS_REFERENCE,\n\t\t\t\ttrue, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\n\t}", "public void setSubnetArn(String subnetArn) {\n this.subnetArn = subnetArn;\n }", "public TestBSSVRequest() {\r\n }", "@Test\n public void sipAddressTest() {\n // TODO: test sipAddress\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "public static void putDelegatedSubnet(com.azure.resourcemanager.delegatednetwork.DelegatedNetworkManager manager) {\n manager\n .delegatedSubnetServices()\n .define(\"delegated1\")\n .withRegion(\"West US\")\n .withExistingResourceGroup(\"TestRG\")\n .withSubnetDetails(\n new SubnetDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet\"))\n .withControllerDetails(\n new ControllerDetails()\n .withId(\n \"/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller\"))\n .create();\n }" ]
[ "0.79386127", "0.70175767", "0.70161825", "0.6881657", "0.68414843", "0.67907566", "0.67907566", "0.67907566", "0.678423", "0.67452836", "0.6509426", "0.6475419", "0.6475419", "0.6475419", "0.63659567", "0.63659567", "0.6365822", "0.6313081", "0.63101864", "0.62503815", "0.62501603", "0.62501603", "0.6217703", "0.6172369", "0.6127176", "0.60970443", "0.60570663", "0.6049343", "0.596633", "0.59616446", "0.59117144", "0.5905863", "0.58951944", "0.58830285", "0.58707196", "0.5853389", "0.5852561", "0.5849698", "0.58419013", "0.5841874", "0.583815", "0.5777234", "0.5774304", "0.5703013", "0.568731", "0.56587374", "0.56587374", "0.56587374", "0.5639432", "0.5602681", "0.55441946", "0.5462927", "0.5447908", "0.5420193", "0.535556", "0.5345242", "0.529866", "0.5286624", "0.52759427", "0.5268537", "0.5248087", "0.5226913", "0.52179223", "0.52047557", "0.520161", "0.5193373", "0.5150651", "0.51399666", "0.51238334", "0.50897264", "0.5057333", "0.50550455", "0.50508374", "0.50344324", "0.501738", "0.501426", "0.50073177", "0.50069237", "0.49969852", "0.498906", "0.49734187", "0.49515942", "0.49198756", "0.48868835", "0.48820335", "0.48781446", "0.48655596", "0.48631108", "0.48598573", "0.48457688", "0.48357537", "0.48356536", "0.4827102", "0.48084155", "0.47985503", "0.4794464", "0.478343", "0.4783339", "0.47632483", "0.47625104" ]
0.6778312
9
.SubnetResponse subnetResponse = 17;
boolean hasSubnetResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetResponse getSubnetResponse();", "entities.Torrent.SubnetRequest getSubnetRequest();", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "@Required\n public String getSubnet() {\n return subnet;\n }", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "java.lang.String getSubnet();", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "boolean hasSubnetRequest();", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public SubnetInner subnet() {\n return this.subnet;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "public String subnetId() {\n return this.subnetId;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public void receiveResultsub(\n loadbalance.LoadBalanceStub.SubResponse result\n ) {\n }", "public void receiveResultsub2(\n loadbalance.LoadBalanceStub.Sub2Response result\n ) {\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "@JSON(serialize=false)\r\n\tpublic String listShowHuaSanSubnet() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public void receiveResultsub3(\n loadbalance.LoadBalanceStub.Sub3Response result\n ) {\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "public interface BleReadRssiResponse extends BleResponse<Integer> {\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "com.ubtrobot.phone.PhoneCall.ResponseType getResponseType();", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "@Test\n public void testReceiverRegionEndpointBloodType() {\n ResponseEntity response = dataController.getReceiverDataRegion(null, \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void receiveResultloadBalancer(\n loadbalance.LoadBalanceStub.LoadBalancerResponse result\n ) {\n }", "@Override\n public void onResponse(Call<Response> call, retrofit2.Response<Response> response) {\n }", "public HashMap<String, String> getSubnetAddressDetail() {\n\t\tHashMap<String, String> subnetDetailMap = new HashMap<>();\n\t\tif (state == BridgeState.NON_EXISTENT) {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\t// checks if this subnet is properly running\n\t\tif (state == BridgeState.RUNNING) {\n\t\t\tsubnetDetailMap.put(\"state\", \"running\");\n\t\t\tsubnetDetailMap.put(\"network_address\", getNetworkAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"netmask\", getNetMask().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"broadcast_address\", getBroadcastAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"gateway_address\", getGatewayAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"num_ip\", Integer.toString(usedAddresses.size()));\n\t\t\tsubnetDetailMap.put(\"bridge\", bridgeName);\n\t\t}else {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\treturn subnetDetailMap;\n\t}", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "public BtcRpcGetAddressInfoEmbeddedResponse() {\n super();\n }", "@JsonSetter(\"subaccount_id\")\r\n public void setSubaccountId (int value) { \r\n this.subaccountId = value;\r\n }", "private void setFriendlistRes(\n FriendList.Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 10;\n }", "@Test\n public void testReceiverRegionEndpointCombo() {\n ResponseEntity response = dataController.getReceiverDataRegion(\"F\", \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "@GET\n @Path(\"/{version:[vV][1]}/subnetCapabilityQuery\")\n @Operation(description = \"Provides subnet capability based on subnet types\", responses = @ApiResponse(\n content = @Content(array = @ArraySchema(schema = @Schema(implementation = Response.class)))))\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n public Response getSliceSubnetCapabilities(QuerySubnetCapability request, @PathParam(\"version\") String version)\n throws ApiException {\n logger.debug(\"Request received {}\", request);\n List<SubnetTypes> subnetTypes = request.getSubnetTypes();\n return getSubnetCapabilities(subnetTypes, version);\n }", "com.google.protobuf.ByteString getResponseAddress();", "private void setS2InfoRsp(\n PToP.S2InfoRelay.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 25;\n }", "public Animal getSIP(){\n return sIP;\n }", "public int getResponse() {return response;}", "@Override\n public void onFailure(Call<List<NbaResults>> call, Throwable t) {\n\n\n }", "private void setS1Rsp(\n PToP.S1Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 22;\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "@Override\n public void onFailure(Call<BeaconResponse> call, Throwable t) {\n }", "lightpay.lnd.grpc.NewAddressRequest.AddressType getType();", "protected StochasticSamplingSubnetLayer(@Nonnull final JsonObject json, Map<CharSequence, byte[]> rs) {\n super(json, rs);\n samples = json.getAsJsonPrimitive(\"samples\").getAsInt();\n seed = json.getAsJsonPrimitive(\"seed\").getAsInt();\n layerSeed = json.getAsJsonPrimitive(\"layerSeed\").getAsInt();\n this.precision = Precision.valueOf(json.getAsJsonPrimitive(\"precision\").getAsString());\n }", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "@Override\r\n protected IQ processRequest(IQ iq) {\n return iq.createResult(new Reachability(addresses));\r\n }", "public void receiveResultaddition(\n loadbalance.LoadBalanceStub.AdditionResponse result\n ) {\n }" ]
[ "0.80094415", "0.7316418", "0.70941913", "0.6913148", "0.6758578", "0.6656061", "0.6636072", "0.6636072", "0.6636072", "0.6625", "0.6561992", "0.64939827", "0.64691067", "0.6444723", "0.6444312", "0.64112115", "0.6392961", "0.63906795", "0.6339518", "0.6339518", "0.6339518", "0.63058805", "0.6305288", "0.6305288", "0.6290188", "0.62598944", "0.62598944", "0.6259801", "0.6139454", "0.6127022", "0.6103149", "0.6045881", "0.6009128", "0.59910786", "0.5970031", "0.59358037", "0.59152865", "0.58726203", "0.58142984", "0.5758658", "0.5686976", "0.56856835", "0.5673864", "0.566707", "0.5622551", "0.5588529", "0.5582166", "0.55127573", "0.5446455", "0.54356813", "0.54356813", "0.54356813", "0.5421622", "0.5380341", "0.53753316", "0.53592855", "0.53556913", "0.53283983", "0.5309167", "0.52720684", "0.5265198", "0.5261006", "0.5247202", "0.5226841", "0.5203047", "0.51922965", "0.5160736", "0.51027024", "0.5057624", "0.5046455", "0.5031164", "0.50066626", "0.5000196", "0.4929497", "0.4919928", "0.4915548", "0.48970777", "0.4894673", "0.48855895", "0.48679003", "0.48467362", "0.48419526", "0.48280776", "0.48279998", "0.482478", "0.4802069", "0.47966695", "0.47953743", "0.47853798", "0.47775456", "0.47691274", "0.47668108", "0.47659156", "0.47582003", "0.4756894", "0.47419718", "0.47372925", "0.47372925", "0.47318769", "0.47263497" ]
0.6980239
3
.SubnetResponse subnetResponse = 17;
entities.Torrent.SubnetResponse getSubnetResponse();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetRequest getSubnetRequest();", "entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();", "boolean hasSubnetResponse();", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "@Required\n public String getSubnet() {\n return subnet;\n }", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "java.lang.String getSubnet();", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "boolean hasSubnetRequest();", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public SubnetInner subnet() {\n return this.subnet;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "public String subnetId() {\n return this.subnetId;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public void receiveResultsub(\n loadbalance.LoadBalanceStub.SubResponse result\n ) {\n }", "public void receiveResultsub2(\n loadbalance.LoadBalanceStub.Sub2Response result\n ) {\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "@JSON(serialize=false)\r\n\tpublic String listShowHuaSanSubnet() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public void receiveResultsub3(\n loadbalance.LoadBalanceStub.Sub3Response result\n ) {\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "public interface BleReadRssiResponse extends BleResponse<Integer> {\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "com.ubtrobot.phone.PhoneCall.ResponseType getResponseType();", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "@Test\n public void testReceiverRegionEndpointBloodType() {\n ResponseEntity response = dataController.getReceiverDataRegion(null, \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void receiveResultloadBalancer(\n loadbalance.LoadBalanceStub.LoadBalancerResponse result\n ) {\n }", "@Override\n public void onResponse(Call<Response> call, retrofit2.Response<Response> response) {\n }", "public HashMap<String, String> getSubnetAddressDetail() {\n\t\tHashMap<String, String> subnetDetailMap = new HashMap<>();\n\t\tif (state == BridgeState.NON_EXISTENT) {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\t// checks if this subnet is properly running\n\t\tif (state == BridgeState.RUNNING) {\n\t\t\tsubnetDetailMap.put(\"state\", \"running\");\n\t\t\tsubnetDetailMap.put(\"network_address\", getNetworkAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"netmask\", getNetMask().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"broadcast_address\", getBroadcastAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"gateway_address\", getGatewayAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"num_ip\", Integer.toString(usedAddresses.size()));\n\t\t\tsubnetDetailMap.put(\"bridge\", bridgeName);\n\t\t}else {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\treturn subnetDetailMap;\n\t}", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "public BtcRpcGetAddressInfoEmbeddedResponse() {\n super();\n }", "@JsonSetter(\"subaccount_id\")\r\n public void setSubaccountId (int value) { \r\n this.subaccountId = value;\r\n }", "private void setFriendlistRes(\n FriendList.Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 10;\n }", "@Test\n public void testReceiverRegionEndpointCombo() {\n ResponseEntity response = dataController.getReceiverDataRegion(\"F\", \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "@GET\n @Path(\"/{version:[vV][1]}/subnetCapabilityQuery\")\n @Operation(description = \"Provides subnet capability based on subnet types\", responses = @ApiResponse(\n content = @Content(array = @ArraySchema(schema = @Schema(implementation = Response.class)))))\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n public Response getSliceSubnetCapabilities(QuerySubnetCapability request, @PathParam(\"version\") String version)\n throws ApiException {\n logger.debug(\"Request received {}\", request);\n List<SubnetTypes> subnetTypes = request.getSubnetTypes();\n return getSubnetCapabilities(subnetTypes, version);\n }", "com.google.protobuf.ByteString getResponseAddress();", "private void setS2InfoRsp(\n PToP.S2InfoRelay.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 25;\n }", "public Animal getSIP(){\n return sIP;\n }", "public int getResponse() {return response;}", "@Override\n public void onFailure(Call<List<NbaResults>> call, Throwable t) {\n\n\n }", "private void setS1Rsp(\n PToP.S1Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 22;\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "@Override\n public void onFailure(Call<BeaconResponse> call, Throwable t) {\n }", "lightpay.lnd.grpc.NewAddressRequest.AddressType getType();", "protected StochasticSamplingSubnetLayer(@Nonnull final JsonObject json, Map<CharSequence, byte[]> rs) {\n super(json, rs);\n samples = json.getAsJsonPrimitive(\"samples\").getAsInt();\n seed = json.getAsJsonPrimitive(\"seed\").getAsInt();\n layerSeed = json.getAsJsonPrimitive(\"layerSeed\").getAsInt();\n this.precision = Precision.valueOf(json.getAsJsonPrimitive(\"precision\").getAsString());\n }", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "@Override\r\n protected IQ processRequest(IQ iq) {\n return iq.createResult(new Reachability(addresses));\r\n }", "public void receiveResultaddition(\n loadbalance.LoadBalanceStub.AdditionResponse result\n ) {\n }" ]
[ "0.7316418", "0.70941913", "0.6980239", "0.6913148", "0.6758578", "0.6656061", "0.6636072", "0.6636072", "0.6636072", "0.6625", "0.6561992", "0.64939827", "0.64691067", "0.6444723", "0.6444312", "0.64112115", "0.6392961", "0.63906795", "0.6339518", "0.6339518", "0.6339518", "0.63058805", "0.6305288", "0.6305288", "0.6290188", "0.62598944", "0.62598944", "0.6259801", "0.6139454", "0.6127022", "0.6103149", "0.6045881", "0.6009128", "0.59910786", "0.5970031", "0.59358037", "0.59152865", "0.58726203", "0.58142984", "0.5758658", "0.5686976", "0.56856835", "0.5673864", "0.566707", "0.5622551", "0.5588529", "0.5582166", "0.55127573", "0.5446455", "0.54356813", "0.54356813", "0.54356813", "0.5421622", "0.5380341", "0.53753316", "0.53592855", "0.53556913", "0.53283983", "0.5309167", "0.52720684", "0.5265198", "0.5261006", "0.5247202", "0.5226841", "0.5203047", "0.51922965", "0.5160736", "0.51027024", "0.5057624", "0.5046455", "0.5031164", "0.50066626", "0.5000196", "0.4929497", "0.4919928", "0.4915548", "0.48970777", "0.4894673", "0.48855895", "0.48679003", "0.48467362", "0.48419526", "0.48280776", "0.48279998", "0.482478", "0.4802069", "0.47966695", "0.47953743", "0.47853798", "0.47775456", "0.47691274", "0.47668108", "0.47659156", "0.47582003", "0.4756894", "0.47419718", "0.47372925", "0.47372925", "0.47318769", "0.47263497" ]
0.80094415
0
.SubnetResponse subnetResponse = 17;
entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.SubnetResponse getSubnetResponse();", "entities.Torrent.SubnetRequest getSubnetRequest();", "boolean hasSubnetResponse();", "public Builder setSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetResponse_ = value;\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse.Builder getSubnetResponseBuilder() {\n\n onChanged();\n return getSubnetResponseFieldBuilder().getBuilder();\n }", "@Required\n public String getSubnet() {\n return subnet;\n }", "int getSubnetId();", "int getSubnetId();", "int getSubnetId();", "@java.lang.Override\n public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n return getSubnetResponse();\n }", "@java.lang.Override\n public entities.Torrent.SubnetResponse getSubnetResponse() {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }", "com.google.protobuf.ByteString getSubnetBytes();", "public Builder setSubnetResponse(\n entities.Torrent.SubnetResponse.Builder builderForValue) {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = builderForValue.build();\n onChanged();\n } else {\n subnetResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponse getSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n return subnetResponse_ == null ? entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n } else {\n return subnetResponseBuilder_.getMessage();\n }\n }", "java.lang.String getSubnet();", "public Builder clearSubnetResponse() {\n if (subnetResponseBuilder_ == null) {\n subnetResponse_ = null;\n onChanged();\n } else {\n subnetResponse_ = null;\n subnetResponseBuilder_ = null;\n }\n\n return this;\n }", "public String getSubnetId() {\n return this.SubnetId;\n }", "boolean hasSubnetRequest();", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "public Builder setSubnetId(int value) {\n\n subnetId_ = value;\n onChanged();\n return this;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public ApiEntityReference subnet() {\n return this.subnet;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "@java.lang.Override\n public int getSubnetId() {\n return subnetId_;\n }", "public Builder mergeSubnetResponse(entities.Torrent.SubnetResponse value) {\n if (subnetResponseBuilder_ == null) {\n if (subnetResponse_ != null) {\n subnetResponse_ =\n entities.Torrent.SubnetResponse.newBuilder(subnetResponse_).mergeFrom(value).buildPartial();\n } else {\n subnetResponse_ = value;\n }\n onChanged();\n } else {\n subnetResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.SubnetResponseOrBuilder getSubnetResponseOrBuilder() {\n if (subnetResponseBuilder_ != null) {\n return subnetResponseBuilder_.getMessageOrBuilder();\n } else {\n return subnetResponse_ == null ?\n entities.Torrent.SubnetResponse.getDefaultInstance() : subnetResponse_;\n }\n }", "@java.lang.Override\n public boolean hasSubnetResponse() {\n return subnetResponse_ != null;\n }", "public SubnetInner subnet() {\n return this.subnet;\n }", "public boolean hasSubnetResponse() {\n return subnetResponseBuilder_ != null || subnetResponse_ != null;\n }", "public DelegatedSubnetUsage() {\n }", "entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder();", "public String subnetId() {\n return this.subnetId;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>\n getSubnetResponseFieldBuilder() {\n if (subnetResponseBuilder_ == null) {\n subnetResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.SubnetResponse, entities.Torrent.SubnetResponse.Builder, entities.Torrent.SubnetResponseOrBuilder>(\n getSubnetResponse(),\n getParentForChildren(),\n isClean());\n subnetResponse_ = null;\n }\n return subnetResponseBuilder_;\n }", "public Builder setSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n subnetRequest_ = value;\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private SubnetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public String getSubnetArn() {\n return this.subnetArn;\n }", "public String targetSubnetName() {\n return this.targetSubnetName;\n }", "public String subnetName() {\n return this.subnetName;\n }", "public Builder setSubnetRequest(\n entities.Torrent.SubnetRequest.Builder builderForValue) {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = builderForValue.build();\n onChanged();\n } else {\n subnetRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n return getSubnetRequest();\n }", "public entities.Torrent.SubnetRequest.Builder getSubnetRequestBuilder() {\n\n onChanged();\n return getSubnetRequestFieldBuilder().getBuilder();\n }", "public DescribeSubnetsResponse describeSubnets(DescribeSubnets describeSubnets) {\n \t\treturn null;\r\n \t}", "public void setSubnetId(String SubnetId) {\n this.SubnetId = SubnetId;\n }", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public Builder clearSubnetId() {\n\n subnetId_ = 0;\n onChanged();\n return this;\n }", "public void receiveResultsub(\n loadbalance.LoadBalanceStub.SubResponse result\n ) {\n }", "public void receiveResultsub2(\n loadbalance.LoadBalanceStub.Sub2Response result\n ) {\n }", "CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest);", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@java.lang.Override\n public entities.Torrent.SubnetRequest getSubnetRequest() {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }", "@JSON(serialize=false)\r\n\tpublic String listShowHuaSanSubnet() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "@Test\n public void configuration() throws ConstructionException {\n Node node1 = new Node(Node.NodeIDType.OPENFLOW, 1L);\n Node node2 = new Node(Node.NodeIDType.OPENFLOW, 2L);\n Node node3 = new Node(Node.NodeIDType.OPENFLOW, 3L);\n NodeConnector nc1 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)1, node1);\n NodeConnector nc2 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)2, node2);\n NodeConnector nc3 = new NodeConnector(NodeConnector.NodeConnectorIDType.OPENFLOW, (short)3, node3);\n List<String> portList = new ArrayList<String>();\n portList.add(nc1.toString());\n portList.add(nc2.toString());\n portList.add(nc3.toString());\n\n // Full subnet creation\n SubnetConfig config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", portList);\n Status status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // No port set specified\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", null);\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Empty port set\n config = new SubnetConfig(\"eng\", \"11.1.1.254/16\", new ArrayList<String>(0));\n status = config.validate();\n Assert.assertTrue(status.isSuccess());\n\n // Zero subnet\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", null);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n\n // Port set with invalid port notation\n List<String> badPortList = new ArrayList<String>();\n badPortList.add(\"1/1\");\n config = new SubnetConfig(\"eng\", \"1.2.3.254/1\", badPortList);\n status = config.validate();\n Assert.assertFalse(status.isSuccess());\n }", "public Builder mergeSubnetRequest(entities.Torrent.SubnetRequest value) {\n if (subnetRequestBuilder_ == null) {\n if (subnetRequest_ != null) {\n subnetRequest_ =\n entities.Torrent.SubnetRequest.newBuilder(subnetRequest_).mergeFrom(value).buildPartial();\n } else {\n subnetRequest_ = value;\n }\n onChanged();\n } else {\n subnetRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public DeleteSubnetResponse deleteSubnet(DeleteSubnet deleteSubnet) {\n \t\treturn null;\r\n \t}", "@java.lang.Override\n public boolean hasSubnetRequest() {\n return subnetRequest_ != null;\n }", "public Builder clearSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n subnetRequest_ = null;\n onChanged();\n } else {\n subnetRequest_ = null;\n subnetRequestBuilder_ = null;\n }\n\n return this;\n }", "UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest);", "private boolean isSubnetInUse(String subnetId) {\n return false;\n }", "public List<PrivateAccessSubnet> subnets() {\n return this.subnets;\n }", "public void receiveResultsub3(\n loadbalance.LoadBalanceStub.Sub3Response result\n ) {\n }", "public entities.Torrent.SubnetRequest getSubnetRequest() {\n if (subnetRequestBuilder_ == null) {\n return subnetRequest_ == null ? entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n } else {\n return subnetRequestBuilder_.getMessage();\n }\n }", "public void destroySubnetAddress() {\n\t\t// remove bridge for this subnet\n\t\tif (destroyBridgeOnHost() == 0) {\n\t\t\t//TODO error handling?\n\t\t}\n\t\t\n\t\t// remove this from controller\n\t\tcontroller.deregisterSubnetAddrFromController(this);\n\t}", "public interface BleReadRssiResponse extends BleResponse<Integer> {\n}", "@Required\n @Updatable\n public Set<SubnetResource> getSubnets() {\n if (subnets == null) {\n subnets = new HashSet<>();\n }\n\n return subnets;\n }", "Expression subnet(Expression p) {\n\t\treturn p.join(subnet);\n\t}", "public InterfaceEndpointInner withSubnet(SubnetInner subnet) {\n this.subnet = subnet;\n return this;\n }", "com.ubtrobot.phone.PhoneCall.ResponseType getResponseType();", "public entities.Torrent.SubnetRequestOrBuilder getSubnetRequestOrBuilder() {\n if (subnetRequestBuilder_ != null) {\n return subnetRequestBuilder_.getMessageOrBuilder();\n } else {\n return subnetRequest_ == null ?\n entities.Torrent.SubnetRequest.getDefaultInstance() : subnetRequest_;\n }\n }", "@Test\n public void testReceiverRegionEndpointBloodType() {\n ResponseEntity response = dataController.getReceiverDataRegion(null, \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "private SubnetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void receiveResultloadBalancer(\n loadbalance.LoadBalanceStub.LoadBalancerResponse result\n ) {\n }", "@Override\n public void onResponse(Call<Response> call, retrofit2.Response<Response> response) {\n }", "public HashMap<String, String> getSubnetAddressDetail() {\n\t\tHashMap<String, String> subnetDetailMap = new HashMap<>();\n\t\tif (state == BridgeState.NON_EXISTENT) {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\t// checks if this subnet is properly running\n\t\tif (state == BridgeState.RUNNING) {\n\t\t\tsubnetDetailMap.put(\"state\", \"running\");\n\t\t\tsubnetDetailMap.put(\"network_address\", getNetworkAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"netmask\", getNetMask().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"broadcast_address\", getBroadcastAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"gateway_address\", getGatewayAddress().getHostAddress());\n\t\t\tsubnetDetailMap.put(\"num_ip\", Integer.toString(usedAddresses.size()));\n\t\t\tsubnetDetailMap.put(\"bridge\", bridgeName);\n\t\t}else {\n\t\t\tsubnetDetailMap.put(\"state\", \"non-existent\");\n\t\t}\n\t\t\n\t\treturn subnetDetailMap;\n\t}", "public boolean hasSubnetRequest() {\n return subnetRequestBuilder_ != null || subnetRequest_ != null;\n }", "public BtcRpcGetAddressInfoEmbeddedResponse() {\n super();\n }", "@JsonSetter(\"subaccount_id\")\r\n public void setSubaccountId (int value) { \r\n this.subaccountId = value;\r\n }", "private void setFriendlistRes(\n FriendList.Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 10;\n }", "@Test\n public void testReceiverRegionEndpointCombo() {\n ResponseEntity response = dataController.getReceiverDataRegion(\"F\", \"B+\", null);\n assertNotNull(response.getBody());\n assertEquals(HttpStatus.OK, response.getStatusCode());\n }", "@GET\n @Path(\"/{version:[vV][1]}/subnetCapabilityQuery\")\n @Operation(description = \"Provides subnet capability based on subnet types\", responses = @ApiResponse(\n content = @Content(array = @ArraySchema(schema = @Schema(implementation = Response.class)))))\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n public Response getSliceSubnetCapabilities(QuerySubnetCapability request, @PathParam(\"version\") String version)\n throws ApiException {\n logger.debug(\"Request received {}\", request);\n List<SubnetTypes> subnetTypes = request.getSubnetTypes();\n return getSubnetCapabilities(subnetTypes, version);\n }", "com.google.protobuf.ByteString getResponseAddress();", "private void setS2InfoRsp(\n PToP.S2InfoRelay.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 25;\n }", "public Animal getSIP(){\n return sIP;\n }", "public int getResponse() {return response;}", "@Override\n public void onFailure(Call<List<NbaResults>> call, Throwable t) {\n\n\n }", "private void setS1Rsp(\n PToP.S1Rsp.Builder builderForValue) {\n rsp_ = builderForValue.build();\n rspCase_ = 22;\n }", "public static String look_for_any_node(final Context context,final String subnet) {\n String host;\n for (int i = 98; i < 255; i++) {\n host = subnet + i;\n try {\n MyClientTask myClientTask = new MyClientTask(\n context,\n NodeDB.getNode_db(context),\n host,\n 2121,\n new RequestObj(\"HeartBeat\", null).toString());\n String rs = myClientTask.sendData();\n\n if (rs.contains(\"HeartBeat\")){\n return host;\n }\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n\n }", "@Override\n public void onFailure(Call<BeaconResponse> call, Throwable t) {\n }", "lightpay.lnd.grpc.NewAddressRequest.AddressType getType();", "protected StochasticSamplingSubnetLayer(@Nonnull final JsonObject json, Map<CharSequence, byte[]> rs) {\n super(json, rs);\n samples = json.getAsJsonPrimitive(\"samples\").getAsInt();\n seed = json.getAsJsonPrimitive(\"seed\").getAsInt();\n layerSeed = json.getAsJsonPrimitive(\"layerSeed\").getAsInt();\n this.precision = Precision.valueOf(json.getAsJsonPrimitive(\"precision\").getAsString());\n }", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "@Override\r\n protected IQ processRequest(IQ iq) {\n return iq.createResult(new Reachability(addresses));\r\n }", "public void receiveResultaddition(\n loadbalance.LoadBalanceStub.AdditionResponse result\n ) {\n }" ]
[ "0.80094415", "0.7316418", "0.6980239", "0.6913148", "0.6758578", "0.6656061", "0.6636072", "0.6636072", "0.6636072", "0.6625", "0.6561992", "0.64939827", "0.64691067", "0.6444723", "0.6444312", "0.64112115", "0.6392961", "0.63906795", "0.6339518", "0.6339518", "0.6339518", "0.63058805", "0.6305288", "0.6305288", "0.6290188", "0.62598944", "0.62598944", "0.6259801", "0.6139454", "0.6127022", "0.6103149", "0.6045881", "0.6009128", "0.59910786", "0.5970031", "0.59358037", "0.59152865", "0.58726203", "0.58142984", "0.5758658", "0.5686976", "0.56856835", "0.5673864", "0.566707", "0.5622551", "0.5588529", "0.5582166", "0.55127573", "0.5446455", "0.54356813", "0.54356813", "0.54356813", "0.5421622", "0.5380341", "0.53753316", "0.53592855", "0.53556913", "0.53283983", "0.5309167", "0.52720684", "0.5265198", "0.5261006", "0.5247202", "0.5226841", "0.5203047", "0.51922965", "0.5160736", "0.51027024", "0.5057624", "0.5046455", "0.5031164", "0.50066626", "0.5000196", "0.4929497", "0.4919928", "0.4915548", "0.48970777", "0.4894673", "0.48855895", "0.48679003", "0.48467362", "0.48419526", "0.48280776", "0.48279998", "0.482478", "0.4802069", "0.47966695", "0.47953743", "0.47853798", "0.47775456", "0.47691274", "0.47668108", "0.47659156", "0.47582003", "0.4756894", "0.47419718", "0.47372925", "0.47372925", "0.47318769", "0.47263497" ]
0.70941913
2
Use Message.newBuilder() to construct.
private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Message(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public Message build() {\n Objects.requireNonNull(transactionIdBytes);\n\n byte[] messageBytes = new byte[MESSAGE_LEN_HEADER + length];\n\n byte[] messageTypeBytes = createMessageType();\n System.arraycopy(messageTypeBytes, 0, messageBytes, MESSAGE_POS_TYPE, MESSAGE_LEN_TYPE);\n\n byte[] lengthBytes = Bytes.intToBytes(length);\n System.arraycopy(lengthBytes, 2, messageBytes, MESSAGE_POS_LENGTH, MESSAGE_LEN_LENGTH);\n\n byte[] magicCookieBytes = Bytes.intToBytes(MAGIC_COOKIE_FIXED_VALUE);\n System.arraycopy(\n magicCookieBytes, 0, messageBytes, MESSAGE_POS_MAGIC_COOKIE, MESSAGE_LEN_MAGIC_COOKIE);\n\n System.arraycopy(\n transactionIdBytes, 0, messageBytes, MESSAGE_POS_TRANSACTION_ID,\n MESSAGE_LEN_TRANSACTION_ID);\n transactionIdBytes = null;\n\n if (attributeBytes != null && attributeBytes.length > 0) {\n System.arraycopy(\n attributeBytes, 0, messageBytes, MESSAGE_LEN_HEADER, attributeBytes.length);\n attributeBytes = null;\n }\n\n return new Message(messageBytes);\n }", "public Message newMessage(String message, Object... params) {\n/* 61 */ return new SimpleMessage(message);\n/* */ }", "private Message(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private MessageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private Message(Builder builder) {\n super(builder);\n }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n/* 145 */ return new SimpleMessage(message);\n/* */ }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) {\n/* 136 */ return new SimpleMessage(message);\n/* */ }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) {\n/* 127 */ return new SimpleMessage(message);\n/* */ }", "public Message() {}", "public Message() {}", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3) {\n/* 93 */ return new SimpleMessage(message);\n/* */ }", "private Messages(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5) {\n/* 109 */ return new SimpleMessage(message);\n/* */ }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n/* 101 */ return new SimpleMessage(message);\n/* */ }", "public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) {\n/* 118 */ return new SimpleMessage(message);\n/* */ }", "public Message() {\n }", "public Message() {\n\t\tsuper();\n\t}", "public Message(){}", "public Message() {\n }", "public Message() {\n }", "public Message newMessage(String message, Object p0, Object p1) {\n/* 77 */ return new SimpleMessage(message);\n/* */ }", "public Message newMessage(String message, Object p0, Object p1, Object p2) {\n/* 85 */ return new SimpleMessage(message);\n/* */ }", "private Message(MessageType handle) {\n this(handle, null, null);\n }", "public Builder setMessage(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n message_ = value;\n onChanged();\n return this;\n }", "private TransformedMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Message(String type, Object message) {\n\t\tthis.type = type;\n\t\tthis.message = message;\n\t}", "Message newMessage(Uuid id, Uuid author, Uuid conversation, String body, Time creationTime);", "private Message(){\n // default constructor\n }", "private BaseMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Message newMessage(String message, Object p0) {\n/* 69 */ return new SimpleMessage(message);\n/* */ }", "public Message createMessage()\n {\n return messageFactory.createMessage();\n }", "private TransmissionMsg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private KafkaMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private MsgInstantiateContract(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private chat_message(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public HazelcastMQMessage() {\n this(new DefaultHeaders(), null);\n }", "public Message(long msg) {\n m_msg = msg;\n m_type = getType(msg);\n parseMessage();\n }", "private SendMsg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private RpcMessage(Builder builder) {\n super(builder);\n }", "public Message() {\n message = \"\";\n senderID = \"\";\n time = 0;\n }", "private DAPMessage constructFrom(DatabaseTableRecord record) {\n return DAPMessage.fromXML(record.getStringValue(CommunicationNetworkServiceDatabaseConstants.DAP_MESSAGE_DATA_COLUMN_NAME));\n }", "private MessageResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public MessageRecord() {\n super(Message.MESSAGE);\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessageBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n message_ = value;\n onChanged();\n return this;\n }", "public Builder setMessage(org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message value) {\n if (messageBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n message_ = value;\n onChanged();\n } else {\n messageBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000010;\n return this;\n }", "public Message() {\n\tkey = MessageKey.NULL;\n\tdata = null;\n\n\tattachment = null;\n }", "protected abstract Message createMessage(Object object, MessageProperties messageProperties);", "public Message(){\n\t\ttimeStamp = System.currentTimeMillis();\n\t}", "private ReceiveMsg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public ParcelableMessage(Message message) {\n\t\tsuper(message);\n\t}", "public Message(Message m)\r\n\t{\r\n\t\t_msgBody = m._msgBody;\r\n\t\t_mID = m._mID;\r\n\t\t_fatherMessageID = m._fatherMessageID;\r\n\t\t_msgPosterID = m._msgPosterID;\r\n\t\t_msgPostTime = m._msgPostTime;\r\n\t}", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder clearMessage() {\n bitField0_ = (bitField0_ & ~0x00000002);\n message_ = getDefaultInstance().getMessage();\n onChanged();\n return this;\n }", "public Builder setMsg(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msg_ = value;\n onChanged();\n return this;\n }", "public MessageRequest() {\n\t}", "public Builder setMsgBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n msg_ = value;\n onChanged();\n return this;\n }", "private MessageSendMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Message(String message){\n\t\tthis(message, 5000);\n\t}", "private Message(MessageType handle, String srcName) {\n this(handle, srcName, null);\n }", "public AmqpMessage() {}", "private ProcessMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private CommonMsgPB(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private MessageNotification(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private MessagesResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public Builder message(String message) {\r\n this.message = message;\r\n return this;\r\n }", "private ProtocolMessage(Builder builder) {\n super(builder);\n }", "private MsgFields(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\r\n super(builder);\r\n this.unknownFields = builder.getUnknownFields();\r\n }", "public ChatRequest(String message)\r\n\t{\r\n\t\tthis.message = message;\r\n\t}", "private Message(String message, long visibleTime, long creationTime, long id){\n\t\tthis(message, visibleTime);\n\t\tthis.creationTime = creationTime;\n\t\tthis.id = id;\n\t}", "private KafkaLoggingMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public ServiceMessage() {\r\n\t}", "private PBHeuristicRequestMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public MessageService()\n {\n messages.put(1L, new Message(1, \"Hello World!\", \"Marc\"));\n messages.put(2L, new Message(2, \"Hello Embarc!\", \"Kevin\"));\n messages.put(3L, new Message(3, \"Hello Luksusowa!\", \"Sid\"));\n messages.put(4L, new Message(4,\n \"I think Sid might have a bit too much blood in his alcohol-stream...\", \"Craig\"));\n }", "public ChatMessage(MessageType type, Object message) {\n m_type = type;\n m_message = message;\n }", "public Message(MessageType messageType, byte[] payload) {\n\t this.messageType = messageType;\n\t this.payloadLength = ByteBuffer.allocate(4).putInt(payload.hashCode()).array();\n\t this.payload = payload;\n\t}", "public Message () {\n\t\tthis.setCreationtime(Calendar.getInstance().getTimeInMillis());\n\t\tsetTimestamp();\n\t}", "public MessageInfo() { }", "private BeeMessage(Builder builder) {\n super(builder);\n }", "private PingMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }" ]
[ "0.7597019", "0.7431622", "0.7377489", "0.7377377", "0.7328203", "0.7328203", "0.7328203", "0.7328203", "0.72515786", "0.72482747", "0.7231942", "0.7143795", "0.71164083", "0.7099905", "0.7099905", "0.7064053", "0.7045855", "0.7017778", "0.70119995", "0.69978976", "0.699009", "0.69341457", "0.69304824", "0.69297916", "0.69297916", "0.69013256", "0.6888754", "0.6887258", "0.6874826", "0.6870539", "0.6870539", "0.68680495", "0.68680495", "0.68680495", "0.68680495", "0.68370616", "0.6801275", "0.6794026", "0.6784421", "0.6781251", "0.67763877", "0.67436826", "0.67165947", "0.6715578", "0.67150414", "0.6682421", "0.66504675", "0.6643421", "0.6635662", "0.6617305", "0.66092736", "0.66054857", "0.6602226", "0.658884", "0.658491", "0.658491", "0.658491", "0.65836626", "0.65836626", "0.65836626", "0.65836626", "0.65545976", "0.6548816", "0.6547812", "0.6538026", "0.6524453", "0.6522299", "0.6518184", "0.65177065", "0.65177065", "0.65177065", "0.65177065", "0.6516981", "0.6516981", "0.6510761", "0.6494752", "0.64920336", "0.64919084", "0.6471852", "0.6468908", "0.64651555", "0.6464914", "0.645386", "0.6434698", "0.6431368", "0.643079", "0.64143544", "0.64138204", "0.6409349", "0.64082986", "0.64054984", "0.6403531", "0.64001554", "0.6396505", "0.63921434", "0.6384868", "0.6379414", "0.6379317", "0.63779765", "0.63749766" ]
0.7062078
16
.Message.Type type = 1;
@java.lang.Override public int getTypeValue() { return type_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "messages.Basemessage.BaseMessage.Type getType();", "public void setMessageType(MessageType messageType) {\n this.messageType = messageType;\n }", "com.mycompany.midtermproject2.proto.ServerMessageOuterClass.ServerMessage.MsgType getType();", "MessageProto.MSG getType();", "entities.Torrent.Message.Type getType();", "public MessageType getMessageType() {\n return messageType;\n }", "public void setMessageType(Integer messageType) {\n this.messageType = messageType;\n }", "com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType();", "public void setMessageType(String messageType)\r\n\t{\r\n\t\tthis.messageType = messageType;\r\n\t}", "public int getMessageType()\r\n {\r\n return msgType;\r\n }", "public abstract MessageType getType();", "public abstract MessageType getType();", "public void setMessageType(MessageType messageType) {\n\t\tthis.messageType = messageType;\n\t}", "public int getMsgType(){\r\n return localMsgType;\r\n }", "MessagesType createMessagesType();", "public interface MessageType {\n\n /**\n * 心跳消息\n */\n byte PING = 1;\n\n /**\n * 心跳回复\n */\n byte PONG = 2;\n\n /**\n * 业务数据\n */\n byte BUSINESS = 3;\n}", "org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type getType();", "public void setMessageType(java.lang.String messageType) {\r\n this.messageType = messageType;\r\n }", "public void setMsgType(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n \r\n if (param==java.lang.Integer.MIN_VALUE) {\r\n localMsgTypeTracker = false;\r\n \r\n } else {\r\n localMsgTypeTracker = true;\r\n }\r\n \r\n this.localMsgType=param;\r\n \r\n\r\n }", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "MessageType getType();", "com.randomm.server.ProtoBufMessage.Message.InputType getType();", "MessageType createMessageType();", "public static void typeMessage(String message) {\n\n }", "public Message(String type, Object message) {\n\t\tthis.type = type;\n\t\tthis.message = message;\n\t}", "messages.Statusmessage.StatusMessage getStatus();", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "public Integer getMessageType() {\n return messageType;\n }", "private MessageType(String value) {\n\t\tthis.value = value;\n\t}", "public MessageType getType() {\n return msgType;\n }", "public abstract String getMessageType();", "public Builder setMsgType(int value) {\n\n msgType_ = value;\n onChanged();\n return this;\n }", "public TrackedMessage(int messageType) {\n\tsuper(messageType);\n }", "@Test\n public void messageTypeTest() {\n // TODO: test messageType\n }", "int getMsgType();", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "void mo80456b(Message message);", "void mo23214a(Message message);", "public String getMessageType()\r\n\t{\r\n\t\treturn this.messageType;\r\n\t}", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "public interface MqttMessageType {\n}", "public Utils.MessageType getMessageType() {\n return messageType;\n }", "protected abstract MessageType getMessageType();", "public int getMsgType() {\n return msgType_;\n }", "TransmissionProtocol.Type getType();", "public Builder setType(MessageProto.MSG value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "void mo80453a(Message message);", "com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType.Enum getType();", "public void setMsgType(int msgType) {\n\t\tthis.msgType = msgType;\n\t}", "GetMessagesType(Message message) {\n super(message);\n }", "public MessageType getType() {\n return m_type;\n }", "com.felania.msldb.MsgSummonOuterClass.MsgSummon.SummonType getType();", "public Builder setType(org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public java.lang.String getMessageType() {\r\n return messageType;\r\n }", "public Message newMessage(String type) {\n\tString address = null;\n\n\t/*\n * Provide the default address from the original open.\n */\n\n\tif (((m_mode & Connector.WRITE) > 0) && (host != null)) {\n\t address = ADDRESS_PREFIX + host;\n\t if (m_iport != 0) {\n\t\taddress = address + \":\" + String.valueOf(m_iport);\n\t }\n\t}\n\n\treturn newMessage(type, address);\n }", "public ServerMessage(int type)\n\t{\n\t\tthis.type = type;\n\t\tthis.key = Tools.generateUniqueKey();\n\t}", "public Builder setMsgType(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msgType_ = value;\n onChanged();\n return this;\n }", "private String getType(){\r\n return type;\r\n }", "public int getMsgType() {\n\t\treturn msgType;\n\t}", "public int getMsgType() {\n return msgType_;\n }", "com.czht.face.recognition.Czhtdev.MessageType getType();", "public Builder setType(com.czht.face.recognition.Czhtdev.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "proto.MessagesProtos.ClientRequest.MessageType getType();", "void setType(Type type)\n {\n this.type = type;\n }", "int getChatTypeValue();", "public static MessageType getType(String type){\n\t\t\tMessageType msgType = PING;\n\t\t\tswitch(type){\n\t\t\tcase \"login\" : msgType = LOGIN; break;\n\t\t\tcase \"get\" : msgType = GET_TOPIC; break;\n\t\t\tcase \"new\" : msgType = NEW; break;\n\t\t\tcase \"ping\" : msgType = PING; break;\n\t\t\tcase \"select\" : msgType = SELECT; break;\n\t\t\tcase \"append\" : msgType = APPEND; break;\n\t\t\t}\n\t\t\treturn msgType;\n\t\t}", "AcknowledgementType createAcknowledgementType();", "public ChatMessage(MessageType type, Object message) {\n m_type = type;\n m_message = message;\n }", "public void setCodetypemessage(java.lang.String codetypemessage) {\r\n\t\tthis.codetypemessage = codetypemessage;\r\n\t}", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "void handleMessage(byte messageType, Object message);", "messages.Clienthello.ClientHello getClientHello();", "public MessageType getMessageType() {\n\t\treturn messageType;\n\t}", "@java.lang.Override\n public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "public Builder setType(entities.Torrent.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public interface RequestMessage extends Message{\n}", "public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "messages.Statusmessage.StatusMessageOrBuilder getStatusOrBuilder();", "public MessageClackData(String userName, String message, int type) {\n super(userName, type);\n this.message = message;\n }", "public Builder setType(proto.MessagesProtos.ClientRequest.MessageType value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\ttype_ = value.getNumber();\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public MessageFactory(int type) {\n super(type);\n }", "public Builder setType(com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value;\n onChanged();\n return this;\n }", "MessageRefType createMessageRefType();", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "void setType(String type) {\n this.type = type;\n }", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "public org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type getType() {\n org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type result = org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.valueOf(type_);\n return result == null ? org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.MESSAGE : result;\n }", "public int getType() { return type; }", "public int getType() { return type; }", "public OutMessage voiceTypeMsg(InMessage msg) {\n\t\treturn null;\n\t}", "private void SendMessage(Object m, MessageType type)\n\t{\n\t\tMessage message = new Message();\n\t\tmessage.messageType = type;\n\t\tmessage.message = m;\n\t\t\n\t\ttry {\n\t\t\tout.writeObject(message);\n\t\t\tout.flush();\n\t\t} catch (IOException e) {\n\t\t\tApplicationManager.textChat.write(\"Cant send message\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public String getMessageType() {\n return type.getMessage().getName();\n }", "@java.lang.Override public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "void xsetType(\n com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType type);", "public String getType() {return type;}", "public void setReplyType(String rt) {\n/* 318 */ getCOSObject().setName(\"RT\", rt);\n/* */ }", "MessageDef getMessageDef();", "public String getType() { return type; }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type){\n \tthis.type = type;\n }" ]
[ "0.76834935", "0.7161924", "0.70100325", "0.7006431", "0.68929917", "0.6785468", "0.67662466", "0.67096376", "0.66822636", "0.6639946", "0.65447265", "0.65447265", "0.6533048", "0.65253127", "0.6489351", "0.64224726", "0.6416736", "0.64089113", "0.6403562", "0.639956", "0.63863814", "0.6372553", "0.636792", "0.63554", "0.6352845", "0.6309444", "0.62186754", "0.62135017", "0.6175804", "0.61714685", "0.6151079", "0.614499", "0.6133628", "0.61299497", "0.61257756", "0.6091832", "0.6059728", "0.60416305", "0.6020069", "0.60116404", "0.6010109", "0.60086036", "0.59990335", "0.5996914", "0.5991604", "0.59668684", "0.5957386", "0.59338063", "0.5930317", "0.59136236", "0.59084713", "0.58940005", "0.58925015", "0.58834237", "0.588014", "0.5870751", "0.5853789", "0.5840657", "0.5821761", "0.5795684", "0.57834977", "0.57816994", "0.57796675", "0.5779503", "0.57681215", "0.5763239", "0.5760106", "0.57596815", "0.5745686", "0.57402146", "0.57204777", "0.571773", "0.5714876", "0.5688004", "0.5680468", "0.56770366", "0.56743056", "0.566644", "0.5655351", "0.5648978", "0.5637215", "0.56311643", "0.56310236", "0.56252176", "0.562439", "0.5604949", "0.5588309", "0.5566066", "0.556538", "0.556538", "0.5562787", "0.55599236", "0.5557447", "0.55431515", "0.5542843", "0.55426425", "0.5530866", "0.5523494", "0.55103534", "0.5507555", "0.55005246" ]
0.0
-1
.Message.Type type = 1;
@java.lang.Override public entities.Torrent.Message.Type getType() { @SuppressWarnings("deprecation") entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_); return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "messages.Basemessage.BaseMessage.Type getType();", "public void setMessageType(MessageType messageType) {\n this.messageType = messageType;\n }", "com.mycompany.midtermproject2.proto.ServerMessageOuterClass.ServerMessage.MsgType getType();", "MessageProto.MSG getType();", "entities.Torrent.Message.Type getType();", "public MessageType getMessageType() {\n return messageType;\n }", "public void setMessageType(Integer messageType) {\n this.messageType = messageType;\n }", "com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType();", "public void setMessageType(String messageType)\r\n\t{\r\n\t\tthis.messageType = messageType;\r\n\t}", "public int getMessageType()\r\n {\r\n return msgType;\r\n }", "public abstract MessageType getType();", "public abstract MessageType getType();", "public void setMessageType(MessageType messageType) {\n\t\tthis.messageType = messageType;\n\t}", "public int getMsgType(){\r\n return localMsgType;\r\n }", "MessagesType createMessagesType();", "public interface MessageType {\n\n /**\n * 心跳消息\n */\n byte PING = 1;\n\n /**\n * 心跳回复\n */\n byte PONG = 2;\n\n /**\n * 业务数据\n */\n byte BUSINESS = 3;\n}", "org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type getType();", "public void setMessageType(java.lang.String messageType) {\r\n this.messageType = messageType;\r\n }", "public void setMsgType(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n \r\n if (param==java.lang.Integer.MIN_VALUE) {\r\n localMsgTypeTracker = false;\r\n \r\n } else {\r\n localMsgTypeTracker = true;\r\n }\r\n \r\n this.localMsgType=param;\r\n \r\n\r\n }", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "MessageType getType();", "com.randomm.server.ProtoBufMessage.Message.InputType getType();", "MessageType createMessageType();", "public static void typeMessage(String message) {\n\n }", "public Message(String type, Object message) {\n\t\tthis.type = type;\n\t\tthis.message = message;\n\t}", "messages.Statusmessage.StatusMessage getStatus();", "public messages.Basemessage.BaseMessage.Type getType() {\n return type_;\n }", "public Integer getMessageType() {\n return messageType;\n }", "private MessageType(String value) {\n\t\tthis.value = value;\n\t}", "public MessageType getType() {\n return msgType;\n }", "public abstract String getMessageType();", "public Builder setMsgType(int value) {\n\n msgType_ = value;\n onChanged();\n return this;\n }", "public TrackedMessage(int messageType) {\n\tsuper(messageType);\n }", "@Test\n public void messageTypeTest() {\n // TODO: test messageType\n }", "int getMsgType();", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "void mo80456b(Message message);", "void mo23214a(Message message);", "public String getMessageType()\r\n\t{\r\n\t\treturn this.messageType;\r\n\t}", "public MessageProto.MSG getType() {\n MessageProto.MSG result = MessageProto.MSG.valueOf(type_);\n return result == null ? MessageProto.MSG.UNRECOGNIZED : result;\n }", "public interface MqttMessageType {\n}", "public Utils.MessageType getMessageType() {\n return messageType;\n }", "protected abstract MessageType getMessageType();", "public int getMsgType() {\n return msgType_;\n }", "TransmissionProtocol.Type getType();", "public Builder setType(MessageProto.MSG value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "void mo80453a(Message message);", "com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType.Enum getType();", "public void setMsgType(int msgType) {\n\t\tthis.msgType = msgType;\n\t}", "GetMessagesType(Message message) {\n super(message);\n }", "public MessageType getType() {\n return m_type;\n }", "com.felania.msldb.MsgSummonOuterClass.MsgSummon.SummonType getType();", "public Builder setType(org.graylog.plugins.dnstap.protos.DnstapOuterClass.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public java.lang.String getMessageType() {\r\n return messageType;\r\n }", "public Message newMessage(String type) {\n\tString address = null;\n\n\t/*\n * Provide the default address from the original open.\n */\n\n\tif (((m_mode & Connector.WRITE) > 0) && (host != null)) {\n\t address = ADDRESS_PREFIX + host;\n\t if (m_iport != 0) {\n\t\taddress = address + \":\" + String.valueOf(m_iport);\n\t }\n\t}\n\n\treturn newMessage(type, address);\n }", "public ServerMessage(int type)\n\t{\n\t\tthis.type = type;\n\t\tthis.key = Tools.generateUniqueKey();\n\t}", "public Builder setMsgType(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n msgType_ = value;\n onChanged();\n return this;\n }", "private String getType(){\r\n return type;\r\n }", "public int getMsgType() {\n\t\treturn msgType;\n\t}", "public int getMsgType() {\n return msgType_;\n }", "com.czht.face.recognition.Czhtdev.MessageType getType();", "public Builder setType(com.czht.face.recognition.Czhtdev.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "proto.MessagesProtos.ClientRequest.MessageType getType();", "void setType(Type type)\n {\n this.type = type;\n }", "int getChatTypeValue();", "public static MessageType getType(String type){\n\t\t\tMessageType msgType = PING;\n\t\t\tswitch(type){\n\t\t\tcase \"login\" : msgType = LOGIN; break;\n\t\t\tcase \"get\" : msgType = GET_TOPIC; break;\n\t\t\tcase \"new\" : msgType = NEW; break;\n\t\t\tcase \"ping\" : msgType = PING; break;\n\t\t\tcase \"select\" : msgType = SELECT; break;\n\t\t\tcase \"append\" : msgType = APPEND; break;\n\t\t\t}\n\t\t\treturn msgType;\n\t\t}", "AcknowledgementType createAcknowledgementType();", "public ChatMessage(MessageType type, Object message) {\n m_type = type;\n m_message = message;\n }", "public void setCodetypemessage(java.lang.String codetypemessage) {\r\n\t\tthis.codetypemessage = codetypemessage;\r\n\t}", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "void handleMessage(byte messageType, Object message);", "messages.Clienthello.ClientHello getClientHello();", "public MessageType getMessageType() {\n\t\treturn messageType;\n\t}", "@java.lang.Override\n public entities.Torrent.Message.Type getType() {\n @SuppressWarnings(\"deprecation\")\n entities.Torrent.Message.Type result = entities.Torrent.Message.Type.valueOf(type_);\n return result == null ? entities.Torrent.Message.Type.UNRECOGNIZED : result;\n }", "public Builder setType(entities.Torrent.Message.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n type_ = value.getNumber();\n onChanged();\n return this;\n }", "public interface RequestMessage extends Message{\n}", "public void setMailType(int v) \n {\n \n if (this.mailType != v)\n {\n this.mailType = v;\n setModified(true);\n }\n \n \n }", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "messages.Statusmessage.StatusMessageOrBuilder getStatusOrBuilder();", "public MessageClackData(String userName, String message, int type) {\n super(userName, type);\n this.message = message;\n }", "public Builder setType(proto.MessagesProtos.ClientRequest.MessageType value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\ttype_ = value.getNumber();\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public MessageFactory(int type) {\n super(type);\n }", "public Builder setType(com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n type_ = value;\n onChanged();\n return this;\n }", "MessageRefType createMessageRefType();", "public com.czht.face.recognition.Czhtdev.MessageType getType() {\n com.czht.face.recognition.Czhtdev.MessageType result = com.czht.face.recognition.Czhtdev.MessageType.valueOf(type_);\n return result == null ? com.czht.face.recognition.Czhtdev.MessageType.MsgDefaultReply : result;\n }", "void setType(String type) {\n this.type = type;\n }", "public com.example.cs217b.ndn_hangman.MessageBuffer.Messages.MessageType getType() {\n return type_;\n }", "public org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type getType() {\n org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type result = org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.valueOf(type_);\n return result == null ? org.graylog.plugins.dnstap.protos.DnstapOuterClass.Dnstap.Type.MESSAGE : result;\n }", "public int getType() { return type; }", "public int getType() { return type; }", "public OutMessage voiceTypeMsg(InMessage msg) {\n\t\treturn null;\n\t}", "private void SendMessage(Object m, MessageType type)\n\t{\n\t\tMessage message = new Message();\n\t\tmessage.messageType = type;\n\t\tmessage.message = m;\n\t\t\n\t\ttry {\n\t\t\tout.writeObject(message);\n\t\t\tout.flush();\n\t\t} catch (IOException e) {\n\t\t\tApplicationManager.textChat.write(\"Cant send message\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public String getMessageType() {\n return type.getMessage().getName();\n }", "void xsetType(\n com.nhcsys.webservices.getmessages.getmessagestypes.v1.SupportMessageType type);", "public String getType() {return type;}", "public void setReplyType(String rt) {\n/* 318 */ getCOSObject().setName(\"RT\", rt);\n/* */ }", "MessageDef getMessageDef();", "public String getType() { return type; }", "public void setType(String type) {\n this.type = type;\n }", "public void setType(String type){\n \tthis.type = type;\n }" ]
[ "0.76834935", "0.7161924", "0.70100325", "0.7006431", "0.68929917", "0.6785468", "0.67662466", "0.67096376", "0.66822636", "0.6639946", "0.65447265", "0.65447265", "0.6533048", "0.65253127", "0.6489351", "0.64224726", "0.6416736", "0.64089113", "0.6403562", "0.639956", "0.63863814", "0.6372553", "0.636792", "0.63554", "0.6352845", "0.6309444", "0.62186754", "0.62135017", "0.6175804", "0.61714685", "0.6151079", "0.614499", "0.6133628", "0.61299497", "0.61257756", "0.6091832", "0.6059728", "0.60416305", "0.6020069", "0.60116404", "0.6010109", "0.60086036", "0.59990335", "0.5996914", "0.5991604", "0.59668684", "0.5957386", "0.59338063", "0.5930317", "0.59136236", "0.59084713", "0.58940005", "0.58925015", "0.58834237", "0.588014", "0.5870751", "0.5853789", "0.5840657", "0.5821761", "0.5795684", "0.57834977", "0.57816994", "0.57796675", "0.5779503", "0.57681215", "0.5763239", "0.5760106", "0.57596815", "0.5745686", "0.57402146", "0.57204777", "0.571773", "0.5714876", "0.5688004", "0.5680468", "0.56770366", "0.56743056", "0.566644", "0.5655351", "0.5648978", "0.5637215", "0.56311643", "0.56310236", "0.56252176", "0.562439", "0.5604949", "0.5588309", "0.5566066", "0.556538", "0.556538", "0.5562787", "0.55599236", "0.5557447", "0.5542843", "0.55426425", "0.5530866", "0.5523494", "0.55103534", "0.5507555", "0.55005246" ]
0.55431515
93
.LocalSearchRequest localSearchRequest = 2;
@java.lang.Override public boolean hasLocalSearchRequest() { return localSearchRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "boolean hasLocalSearchRequest();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.758188", "0.6840027", "0.67533076", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62284523", "0.62255126", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.56329113
66
.LocalSearchRequest localSearchRequest = 2;
@java.lang.Override public entities.Torrent.LocalSearchRequest getLocalSearchRequest() { return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "boolean hasLocalSearchRequest();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n return getLocalSearchRequest();\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.758188", "0.6840027", "0.67533076", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62284523", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.56329113", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.62255126
14
.LocalSearchRequest localSearchRequest = 2;
@java.lang.Override public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() { return getLocalSearchRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "boolean hasLocalSearchRequest();", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.SearchRequest getSearchRequest();", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "List<SearchResult> search(SearchQuery searchQuery);", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "public entities.Torrent.LocalSearchRequest getLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n return localSearchRequest_ == null ? entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n } else {\n return localSearchRequestBuilder_.getMessage();\n }\n }", "public void onSearchStarted();", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public void search() {\r\n \t\r\n }", "void searchStarted (Search search);", "ReagentSearch getReagentSearch();", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search() {\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "void searchProbed (Search search);", "boolean hasLocalSearchResponse();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder() {\n if (localSearchRequestBuilder_ != null) {\n return localSearchRequestBuilder_.getMessageOrBuilder();\n } else {\n return localSearchRequest_ == null ?\n entities.Torrent.LocalSearchRequest.getDefaultInstance() : localSearchRequest_;\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "CampusSearchQuery generateQuery();", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public Builder mergeLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (localSearchRequest_ != null) {\n localSearchRequest_ =\n entities.Torrent.LocalSearchRequest.newBuilder(localSearchRequest_).mergeFrom(value).buildPartial();\n } else {\n localSearchRequest_ = value;\n }\n onChanged();\n } else {\n localSearchRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "public void onSearchSubmit(String queryTerm);", "@Override\n\tpublic void search() {\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "public Builder clearLocalSearchRequest() {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = null;\n onChanged();\n } else {\n localSearchRequest_ = null;\n localSearchRequestBuilder_ = null;\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "boolean hasSearchRequest();", "@In String search();", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "public void setLSearch (boolean value) {\r\n l_search = value; }", "public void search(Map<String, String> searchParam);", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "List<ShipmentInfoPODDTO> search(String query);", "public void searchNearFreePark() {\n\t\tthis.generalRequest(LocalRequestType.PARK);\n\t}", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public boolean hasLocalSearchRequest() {\n return localSearchRequestBuilder_ != null || localSearchRequest_ != null;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@java.lang.Override\n public boolean hasLocalSearchRequest() {\n return localSearchRequest_ != null;\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void search();", "void search();", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "private void search(String[] searchItem)\n {\n }", "public MagicSearch createMagicSearch();", "com.exacttarget.wsdl.partnerapi.QueryRequest addNewQueryRequest();", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void searchFlights();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void addUserSearch(UserSearch userSearch);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "public Builder setLocalSearchRequest(\n entities.Torrent.LocalSearchRequest.Builder builderForValue) {\n if (localSearchRequestBuilder_ == null) {\n localSearchRequest_ = builderForValue.build();\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "public abstract S getSearch();", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public abstract ISearchCore getSearchCore();", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void search(Indexer indexer, CityIndexer cityIndexer, Ranker ranker, String query, boolean withSemantic, ArrayList<String> chosenCities, ObservableList<String> citiesByTag, boolean withStemming, String saveInPath, String queryId, String queryDescription) {\n String[] originalQueryTerms = query.split(\" \");\n String originQuery = query;\n docsResults = new HashMap<>();\n parser = new Parse(withStemming, saveInPath, saveInPath);\n HashSet<String> docsOfChosenCities = new HashSet<>();\n query = \"\" + query + queryDescription;\n HashMap<String, Integer> queryTerms = parser.parseQuery(query);\n HashMap<String, ArrayList<Integer>> dictionary = indexer.getDictionary();\n if (!withStemming){\n setDocsInfo(saveInPath + \"\\\\docsInformation.txt\");\n }\n else{\n setDocsInfo(saveInPath + \"\\\\docsInformation_stemming.txt\");\n }\n\n\n //add semantic words of each term in query to 'queryTerms'\n if(withSemantic) {\n HashMap<String,ArrayList<String>> semanticWords = ws.connectToApi(originQuery);\n }\n\n //give an ID to query if it's a regular query (not queries file)\n if(queryId.equals(\"\")){\n queryId = \"\" + Searcher.queryID;\n Searcher.queryID++;\n }\n\n String postingDir;\n if (!withStemming) {\n postingDir = \"\\\\indexResults\\\\postingFiles\";\n } else {\n postingDir = \"\\\\indexResults\\\\postingFiles_Stemming\";\n }\n int pointer = 0;\n\n //find docs that contain the terms in the query in their text\n HashMap<String, Integer> queryTermsIgnoreCase = new HashMap<>();\n for (String term : queryTerms.keySet()) {\n String originTerm = term;\n if (!dictionary.containsKey(term.toUpperCase()) && !dictionary.containsKey(term.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(term.toLowerCase())){\n term = term.toLowerCase();\n }\n else {\n term = term.toUpperCase();\n }\n queryTermsIgnoreCase.put(term,queryTerms.get(originTerm));\n pointer = dictionary.get(term).get(2);\n String chunk = (\"\" + term.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsResults'\n if(line != null) {\n findDocsFromLine(line, term);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their text\n for (String cityTerm : chosenCities) {\n if (!dictionary.containsKey(cityTerm) && !dictionary.containsKey(cityTerm.toLowerCase())) {\n continue;\n }\n if(dictionary.containsKey(cityTerm.toLowerCase())){\n cityTerm = cityTerm.toLowerCase();\n }\n pointer = dictionary.get(cityTerm).get(2);\n // char chunk = indexer.classifyToPosting(term).charAt(0);\n String chunk = (\"\" + cityTerm.charAt(0)).toUpperCase();\n\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + postingDir + \"\\\\posting_\" + chunk + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //find docs that contain the chosen cities in their city tag\n if(!chosenCities.isEmpty()){\n for (String cityDicRec: chosenCities) {\n //get pointer to posting from cityDictionary\n try {\n pointer = cityIndexer.getCitiesDictionary().get(cityDicRec);\n } catch (NumberFormatException e) {\n e.printStackTrace();\n }\n //get the relevant line from posting file\n BufferedReader br = null;\n try {\n br = new BufferedReader(new FileReader(new File(saveInPath + \"\\\\cityIndexResults\" + \"\\\\posting_city\" + \".txt\")));\n String line = \"\";\n int i = 1;\n while ((line = (br.readLine())) != null) {\n if (i == pointer) {\n break;\n }\n i++;\n }\n br.close();\n\n //get docs from posting line and add them to the data structure 'docsOfChosenCities'\n String docs = line.substring(line.indexOf(\"[\") + 1, line.indexOf(\"]\")); //get 'docsListStr'\n String[] docsArr = docs.split(\"; \");\n for (String doc : docsArr) {\n docsOfChosenCities.add(doc);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n\n ranker.rank(docsResults, docsOfChosenCities, queryTermsIgnoreCase, dictionary, docsInfo,entities, queryId);\n }", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "void startGlobalSearch(String initialQuery, boolean selectInitialQuery,\n Bundle appSearchData, Rect sourceBounds) {\n ComponentName globalSearchActivity = getGlobalSearchActivity();\n if (globalSearchActivity == null) {\n Log.w(TAG, \"No global search activity found.\");\n return;\n }\n Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setComponent(globalSearchActivity);\n // Make sure that we have a Bundle to put source in\n if (appSearchData == null) {\n appSearchData = new Bundle();\n } else {\n appSearchData = new Bundle(appSearchData);\n }\n // Set source to package name of app that starts global search, if not set already.\n if (!appSearchData.containsKey(\"source\")) {\n appSearchData.putString(\"source\", mContext.getPackageName());\n }\n intent.putExtra(APP_DATA, appSearchData);\n if (!TextUtils.isEmpty(initialQuery)) {\n intent.putExtra(QUERY, initialQuery);\n }\n if (selectInitialQuery) {\n intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);\n }\n intent.setSourceBounds(sourceBounds);\n try {\n if (DBG) Log.d(TAG, \"Starting global search: \" + intent.toUri(0));\n mContext.startActivity(intent);\n } catch (ActivityNotFoundException ex) {\n Log.e(TAG, \"Global search activity not found: \" + globalSearchActivity);\n }\n }", "public search() {\n }", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }" ]
[ "0.758188", "0.6840027", "0.67533076", "0.6723813", "0.6428138", "0.64083284", "0.63981503", "0.63497055", "0.6342029", "0.6300104", "0.62879884", "0.62614274", "0.62564963", "0.62255126", "0.62119687", "0.62070173", "0.612133", "0.61128676", "0.61095744", "0.610662", "0.61025774", "0.6101501", "0.60814786", "0.60572135", "0.6055246", "0.6014072", "0.60040945", "0.5975329", "0.5949228", "0.59307265", "0.5930682", "0.5923481", "0.5921879", "0.5892537", "0.5881955", "0.5876643", "0.5863178", "0.5860753", "0.58521444", "0.583722", "0.58211696", "0.58174723", "0.58158994", "0.581111", "0.58068794", "0.5800449", "0.5786745", "0.57713544", "0.57708", "0.5770385", "0.5766888", "0.5759403", "0.5744162", "0.57130533", "0.5710815", "0.5700366", "0.5689046", "0.5670578", "0.5668385", "0.5667341", "0.565656", "0.56563705", "0.56528604", "0.5649582", "0.56471664", "0.56329113", "0.5630407", "0.56184304", "0.5617644", "0.5617644", "0.5604196", "0.5571557", "0.55707705", "0.5569584", "0.5567219", "0.5566386", "0.55658644", "0.5558987", "0.55316687", "0.5522982", "0.5522982", "0.5522982", "0.5518227", "0.55117106", "0.5508229", "0.55045545", "0.550437", "0.5501504", "0.54910713", "0.54784", "0.5472636", "0.54719305", "0.54707944", "0.5464577", "0.5454769", "0.5448958", "0.54485863", "0.54439104", "0.5442424", "0.54420084" ]
0.62284523
13
.LocalSearchResponse localSearchResponse = 3;
@java.lang.Override public boolean hasLocalSearchResponse() { return localSearchResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "boolean hasLocalSearchResponse();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.73214024", "0.68718565", "0.6722185", "0.6493662", "0.6442964", "0.643585", "0.63652", "0.61791974", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.58895", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.54605144
74
.LocalSearchResponse localSearchResponse = 3;
@java.lang.Override public entities.Torrent.LocalSearchResponse getLocalSearchResponse() { return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "boolean hasLocalSearchResponse();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "@java.lang.Override\n public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n return getLocalSearchResponse();\n }", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.73214024", "0.68718565", "0.6722185", "0.6493662", "0.6442964", "0.643585", "0.63652", "0.61791974", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.54605144", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.58895
20
.LocalSearchResponse localSearchResponse = 3;
@java.lang.Override public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() { return getLocalSearchResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder();", "boolean hasLocalSearchResponse();", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchResponse_ = value;\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public GameList getSearchResult(){ return m_NewSearchResult;}", "private LocalSearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "boolean hasLocalSearchRequest();", "public void onSearchStarted();", "public entities.Torrent.LocalSearchResponse.Builder getLocalSearchResponseBuilder() {\n\n onChanged();\n return getLocalSearchResponseFieldBuilder().getBuilder();\n }", "SearchUser.Req getSearchUserReq();", "List<SearchResult> search(SearchQuery searchQuery);", "void searchStarted (Search search);", "entities.Torrent.SearchRequest getSearchRequest();", "public entities.Torrent.LocalSearchResponseOrBuilder getLocalSearchResponseOrBuilder() {\n if (localSearchResponseBuilder_ != null) {\n return localSearchResponseBuilder_.getMessageOrBuilder();\n } else {\n return localSearchResponse_ == null ?\n entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }\n }", "entities.Torrent.LocalSearchRequestOrBuilder getLocalSearchRequestOrBuilder();", "@java.lang.Override\n public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "Search getSearch();", "ReagentSearch getReagentSearch();", "public entities.Torrent.LocalSearchResponse getLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n return localSearchResponse_ == null ? entities.Torrent.LocalSearchResponse.getDefaultInstance() : localSearchResponse_;\n } else {\n return localSearchResponseBuilder_.getMessage();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public SearchResponse getStatus();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public void search() {\r\n \t\r\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "public void search() {\n }", "public Builder clearLocalSearchResponse() {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = null;\n onChanged();\n } else {\n localSearchResponse_ = null;\n localSearchResponseBuilder_ = null;\n }\n\n return this;\n }", "void searchProbed (Search search);", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public Builder mergeLocalSearchResponse(entities.Torrent.LocalSearchResponse value) {\n if (localSearchResponseBuilder_ == null) {\n if (localSearchResponse_ != null) {\n localSearchResponse_ =\n entities.Torrent.LocalSearchResponse.newBuilder(localSearchResponse_).mergeFrom(value).buildPartial();\n } else {\n localSearchResponse_ = value;\n }\n onChanged();\n } else {\n localSearchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "SearchServiceStatus status();", "public void setAccSearchResult(java.lang.String param) {\r\n localAccSearchResultTracker = param != null;\r\n\r\n this.localAccSearchResult = param;\r\n }", "SearchUser.Res getSearchUserRes();", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "boolean hasSearchResponse();", "public Builder setLocalSearchRequest(entities.Torrent.LocalSearchRequest value) {\n if (localSearchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n localSearchRequest_ = value;\n onChanged();\n } else {\n localSearchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasLocalSearchResponse() {\n return localSearchResponseBuilder_ != null || localSearchResponse_ != null;\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "public Builder setLocalSearchResponse(\n entities.Torrent.LocalSearchResponse.Builder builderForValue) {\n if (localSearchResponseBuilder_ == null) {\n localSearchResponse_ = builderForValue.build();\n onChanged();\n } else {\n localSearchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "@Override\n\tpublic void search() {\n\t}", "void searchFinished (Search search);", "private void postSearch (String status) {\n if (status.equals(\"NO_RESULT_FOUND\")) {\n Context context = getActivity();\n CharSequence text = getString(R.string.search_artist_field_no_result_found);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.setGravity(Gravity.TOP, (int) getActivity().findViewById(R.id.artist_detail_listview).getX(),\n (int)getActivity().findViewById(R.id.artist_detail_listview).getY());\n toast.show();\n }\n }", "private LocalSearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public void handleSearchResponse(NamedResource namedResource)\n {\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "public void setLSearch (boolean value) {\r\n l_search = value; }", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "public SearchStatus getStatus();", "public abstract S getSearch();", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "public entities.Torrent.LocalSearchRequest.Builder getLocalSearchRequestBuilder() {\n\n onChanged();\n return getLocalSearchRequestFieldBuilder().getBuilder();\n }", "public abstract ISearchCore getSearchCore();", "@java.lang.Override\n public boolean hasLocalSearchResponse() {\n return localSearchResponse_ != null;\n }", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "SearchResultsType createSearchResultsType();", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "private Search() {}", "boolean isSearchOk() {\n return false;\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void setResult(String term){\n\t\taddResponseToResult(term);\n\t}", "@HystrixCommand(fallbackMethod = \"getResponseFromLocalFallBack\",commandKey = \"Local-Search-Service\", groupKey = \"Local-Response\")\n @RequestMapping(value = \"/res/{query}\", method = GET)\n public ProviderResponse getResponseFromLocal(@PathVariable String query) throws LocalSearchException {\n return defaultLocalSearch.getResponse(query);\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void searchFunction() {\n\t\t\r\n\t}", "void remoteSearch(String groupId, String type, String attr, \n String value, int threshold, String serviceHandler, \n DiscoveryListener listener)\n \tthrows IOException\n {\n Query query = new Query(groupId, type, attr, value, \n serviceHandler,listener);\n \n queries.put(listener, query);\n \n\t //if resource not found in local cache\n\t String requestId = getNextRequestId();\n\t \n\t int urisize =0;\n\t EndpointAddress[] myURIs = peer.getURIList();\n\t \n\t if (myURIs != null)\n\t urisize = myURIs.length;\n\t \n\t Element[] elm = new Element[9 + urisize];\n\t //Element[] elm = new Element[9];\n\t \n\t\n\t elm[0] = new Element(Message.MESSAGE_TYPE_TAG, Message.REQUEST_SEARCH,\n\t Message.JXTA_NAME_SPACE);\n\t elm[1] = new Element(Message.TYPE_TAG, type, \n\t Message.JXTA_NAME_SPACE);\n\t elm[2] = new Element(Message.ATTRIBUTE_TAG, attr, \n\t Message.JXTA_NAME_SPACE);\n\t elm[3] = new Element(Message.VALUE_TAG, value, \n\t Message.JXTA_NAME_SPACE);\n\t elm[4] = new Element(Message.THRESHOLD_TAG, Integer.toString(threshold), \n\t Message.JXTA_NAME_SPACE);\n\t elm[5] = new Element(Message.REQUESTID_TAG, requestId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[6] = new Element(Message.ID_TAG, peer.getID().toString(), \n\t Message.JXTA_NAME_SPACE);\n\t elm[7] = new Element(Message.GROUP_ID_TAG, groupId, \n\t Message.JXTA_NAME_SPACE);\n\t elm[8] = new Element(Message.HOPCOUNT_TAG, Integer.toString(DEFAULT_HOP_COUNT), \n\t Message.JXTA_NAME_SPACE);\n\t\n\t if (urisize > 0)\n\t {\n\t\t for (int i = 0; i < myURIs.length; i++)\n\t\t {\n\t\t EndpointAddress uri = myURIs[i];\n\t\t uri = new EndpointAddress(uri, serviceName, serviceHandler);\n\t\t elm[9 + i] = new Element(NamedResource.URITAG + String.valueOf(i), uri.toString().getBytes(),\n\t\t Message.JXTA_NAME_SPACE, null);\n\t\t }\n\t }\n\t \n\t send(elm, serviceHandler);\n }", "boolean getUseSearchResult();", "public void onSearchSubmit(String queryTerm);", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "void stateStored (Search search);", "public void onSearchResults(String term, List<WikiPage> results);", "public void apiFindSongReverseSearchApple(Messenger handler, Song song, int playlistPos){\n String termSearch = (song.getArtist() + \"+\" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_apple_search_track) + \"?term=\"+termSearch+\"&limit=20\"+\"&types=songs\")\n .header(\"Authorization\", \"Bearer \"+ getString(R.string.apple_dev_token))\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Apple Music Find Songs Response: \" + res);\n appleMusicMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public interface SearchService {\n\n /**\n * Parameter that is appended to the generated links that contains the positive search terms and phrases of the\n * search expression. For several terms it occurs several times.\n */\n String PARAMETER_SEARCHTERM = \"search.term\";\n\n /**\n * Represents a result of the search consisting of a target page and one or more matching subresources. For use by\n * the search result renderer.\n */\n interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }\n\n /**\n * Fulltext search for resources. The resources are grouped if they are subresources of one target page, as\n * determined by the parameter targetResourceFilter.\n * <p>\n * Limitations: if the searchExpression consists of several search terms (implicitly combined with AND) this finds\n * only resources where a single property matches the whole search condition, i.e., all those terms. If several\n * resources of a page contain different subsets of those terms, the page is not found.\n *\n * @param context The context we use for the search.\n * @param selectors a selector string to determine the right search strategy, e.g. 'page'\n * @param root Optional parameter for the node below which we search.\n * @param searchExpression Mandatory parameter for the fulltext search expression to search for. For the syntax\n * see\n * {@link QueryConditionDsl.QueryConditionBuilder#contains(String)}\n * . It is advisable to avoid using AND and OR.\n * @param searchFilter an optional filter to drop resources to ignore.\n * @return possibly empty list of results\n * @see com.composum.sling.core.mapping.jcr.ResourceFilterMapping\n */\n @NotNull\n List<Result> search(@NotNull BeanContext context, @NotNull String selectors,\n @NotNull String root, @NotNull String searchExpression, @Nullable ResourceFilter searchFilter,\n int offset, @Nullable Integer limit)\n throws RepositoryException, SearchTermParseException;\n\n\n interface LimitedQuery {\n\n /**\n * Executes the query with the given limit; returns a pair of a boolean that is true when we are sure that all\n * results have been found in spite of the limit, and the results themselves.\n */\n Pair<Boolean, List<Result>> execQuery(int matchLimit);\n }\n\n /**\n * Execute the query with raising limit until the required number of results is met. We don't know in advance how\n * large we have to set the limit in the query to get all neccesary results, since each page can have an a priori\n * unknown number of matches. Thus, the query is executed with an estimated limit, and is reexecuted with tripled\n * limit if the number of results is not sufficient and there are more limits.\n *\n * @return up to limit elements of the result list with the offset first elements skipped.\n */\n @NotNull\n List<Result> executeQueryWithRaisingLimits(LimitedQuery limitedQuery, int offset, Integer limit);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }" ]
[ "0.73214024", "0.68718565", "0.6722185", "0.6493662", "0.6442964", "0.643585", "0.63652", "0.61066526", "0.6079184", "0.6071997", "0.6040718", "0.6006819", "0.59896904", "0.5987363", "0.5981505", "0.5968536", "0.5942473", "0.59212023", "0.5896794", "0.58895", "0.5878781", "0.5874188", "0.58715844", "0.58593374", "0.5858237", "0.5847071", "0.58245003", "0.5818213", "0.5793418", "0.57676595", "0.5764188", "0.5752063", "0.5748086", "0.574597", "0.57321155", "0.5731925", "0.5718873", "0.5691318", "0.56843525", "0.5676059", "0.5674979", "0.5674023", "0.5663316", "0.5662011", "0.5657376", "0.56468576", "0.5639684", "0.5638443", "0.5609722", "0.5603993", "0.5591628", "0.558981", "0.5580522", "0.55656695", "0.5565088", "0.55544776", "0.5554477", "0.55541784", "0.5549514", "0.5542372", "0.5536712", "0.5520521", "0.55128837", "0.5505509", "0.5505509", "0.5505509", "0.55044115", "0.54916745", "0.548969", "0.54874206", "0.54757816", "0.54648465", "0.5462733", "0.54605144", "0.5455369", "0.54470575", "0.54465145", "0.5445406", "0.5445031", "0.54423994", "0.5440654", "0.5434338", "0.54318243", "0.54274946", "0.54215664", "0.5420734", "0.5420587", "0.5388431", "0.5386581", "0.53843296", "0.5372459", "0.53646", "0.5362219", "0.5360092", "0.53585905", "0.535852", "0.53545994", "0.5351114", "0.5350723", "0.53369087" ]
0.61791974
7
.SearchRequest searchRequest = 4;
@java.lang.Override public boolean hasSearchRequest() { return searchRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "entities.Torrent.SearchRequest getSearchRequest();", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "boolean hasSearchRequest();", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6664904", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.62142056", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.60291916", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.0
-1
.SearchRequest searchRequest = 4;
@java.lang.Override public entities.Torrent.SearchRequest getSearchRequest() { return searchRequest_ == null ? entities.Torrent.SearchRequest.getDefaultInstance() : searchRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "entities.Torrent.SearchRequest getSearchRequest();", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "boolean hasSearchRequest();", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6664904", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.62142056", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.60291916", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.0
-1
.SearchRequest searchRequest = 4;
@java.lang.Override public entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder() { return getSearchRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SearchResponse search(SearchRequest searchRequest) throws IOException;", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "Search getSearch();", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "List<SearchResult> search(SearchQuery searchQuery);", "entities.Torrent.SearchRequest getSearchRequest();", "public void search() {\r\n \t\r\n }", "public void search() {\n }", "void searchProbed (Search search);", "private Search() {}", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "@Override\r\n\tpublic void search() {\n\r\n\t}", "ReagentSearch getReagentSearch();", "void searchStarted (Search search);", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "entities.Torrent.LocalSearchRequest getLocalSearchRequest();", "CampusSearchQuery generateQuery();", "@Override\n\tpublic void search() {\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Test\n\tpublic void testSearchBasedOnRequest2() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"lokeyanhao\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.ENTITY);\n\t}", "@Test\n\tpublic void testSearchBasedOnRequest4() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", null, true);\n\t\tassertTrue(sugg.size() == 0);\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "SearchProductsResult searchProducts(SearchProductsRequest searchProductsRequest);", "boolean hasSearchRequest();", "SearchResponse search(Pageable pageable, QueryBuilder query, Collection<AggregationBuilder> aggregations);", "SpellResponse spellQuery(SearchRequest request, Map<SearchParam, String> params);", "public void onSearchStarted();", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "public search() {\n }", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "@In String search();", "@Test\n\tpublic void testSearchBasedOnRequest1() {\n\t\tsearchBasedOnRequestSetup();\n\t\t\n\t\tPreference prefs = prefManager.getUserPreference();\n\t\tprefs.setThreshold(10000);\n\t\t\n\t\tList<Suggestion> sugg = dm.searchBasedOnRequest(\"Flavorful\", prefs, true);\n\t\tassertTrue(sugg.size() > 0);\n\t\tassertTrue(sugg.get(0).getType() == Suggestion.SENTENCE);\n\t}", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "private void searchWeb()\n {\n searchWeb = true;\n search();\n }", "entities.Torrent.SearchRequestOrBuilder getSearchRequestOrBuilder();", "TSearchQuery createSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void search(Map<String, String> searchParam);", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "private void appendSearchParam(String query, HttpUrl.Builder urlBuilder) {\n urlBuilder.addQueryParameter(\"generator\", \"search\")\n .addQueryParameter(\"gsrwhat\", \"text\")\n .addQueryParameter(\"gsrnamespace\", \"6\")\n .addQueryParameter(\"gsrlimit\", \"25\")\n .addQueryParameter(\"gsrsearch\", query);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private AniteQueryType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "@Override\n public SearchResult search_item(String keyword, int page, int rows , int search_type) throws Exception{\n return null;\n }", "public void onSearchSubmit(String queryTerm);", "void search();", "void search();", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "public MagicSearch createMagicSearch();", "public abstract S getSearch();", "public Builder setSearchRequest(entities.Torrent.SearchRequest value) {\n if (searchRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchRequest_ = value;\n onChanged();\n } else {\n searchRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "SearchResultCompany search(String keywords);", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Codebadge> search(String query);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "@Override\n public Data3DPlastic search() {\n return super.search();\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"OU=Users(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "void setStartSearch(int startSearch);", "@Override\n public boolean onSearchRequested() {\n return super.onSearchRequested();\n }", "void setReagentSearch(ReagentSearch reagentSearch);", "com.exacttarget.wsdl.partnerapi.QueryRequest getQueryRequest();", "private void search(String[] searchItem)\n {\n }", "public void searchField(String name) {\r\n\t\tsafeType(addVehiclesHeader.replace(\"Add Vehicle\", \"Search\"), name);\r\n\t\t;\r\n\t}", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "List<ShipmentInfoPODDTO> search(String query);", "@Test\n public void testSearchFilter_WithAddedSearchBaseAsParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search Base Append\\\"]%>(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n parameters.put(\"Search Base Append\", \"OU=Users\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"userid\", globalClass.getId());\n params.put(\"folder_id\", \"0\");\n params.put(\"search_name\", search_text);\n\n Log.d(TAG, \"search \"+params);\n return params;\n }", "public Inventory inventorySearch (TheGroceryStore g, String searchKey);", "@RequestMapping(value = \"search\")\n \tpublic String search(@RequestParam String q) {\n \t\tLong incidentId = Long.valueOf(q);\n \t\treturn \"forward:/incident/\" + incidentId;\n \t}", "@ActionTrigger(action=\"KEY-ENTQRY\", function=KeyFunction.SEARCH)\n\t\tpublic void spriden_Search()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"QUERY\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "@GET(\"search.php\")\n Call<MealData> getMealsBySearchQuery(@Query(\"s\") String searchKeyword);", "public interface SearchParams {\r\n\r\n\tpublic static final String LYRICS_FOR = \"lyrics for\";\r\n\tpublic static final String SITES = \"site:\";\r\n}", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public void doSearch(String searchText){\n }", "@Test\n public void testSearchFilter_WithAddedSearchBase_NoQueryParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"OU=Users(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithoutParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError expectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n expectedError = e;\n }\n\n assertNotNull(expectedError);\n }", "@RequestMapping(value={\"/search\"}, method={RequestMethod.GET})\n \tpublic ModelAndView handleSearch(@RequestParam(required=false) String q, @RequestParam(required=false,defaultValue=\"1\") Integer page){\n \t\tMap<String,Object> model = new HashMap<String,Object>();\n \t\t\n \t HashMap<String,Object> search = new HashMap<String,Object>();\n \t search.put(\"term\", \"\");\n \t search.put(\"total\",0);\n \n \t List<Map<String,String>> searchResult = new ArrayList<Map<String,String>>();\n \t if(StringUtils.isNotBlank(q)){\n \t \tsearch.put(\"term\", q);\n \t \tLimitedResult<List<NameConceptModelIF>> nameConceptModelList = null;\n \t \tint pageIndex = (page <= 0)?0:(page-1);\n \t \t//use page index +1 to avoid returning a bad page number\n \t\tsearch.put(\"pageNumber\", (pageIndex+1));\n \t\tsearch.put(\"pageSize\", searchService.getPageSize());\n \t\t//check if we want another page than the first one\n \t \tif(pageIndex > 0){\n \t \t\tnameConceptModelList = searchService.searchName(q,pageIndex);\n \t \t}\n \t \telse{\n \t \t\tnameConceptModelList = searchService.searchName(q);\n \t \t}\n \n \t\t search.put(\"total\",nameConceptModelList.getTotal_rows());\n \t\t List<Map<String,String>> searchResults = new ArrayList<Map<String,String>>();\n \t\t Map<String,String> searchRow = null;\n \t\t //TODO use objects directly instead of map\n \t\t for(NameConceptModelIF currNameConceptModel : nameConceptModelList.getRows()){\n \t\t \tif(currNameConceptModel.getClass().equals(NameConceptTaxonModel.class)){\n \t\t \t\tsearchRow = new HashMap<String,String>();\n \t\t \t\tsearchRow.put(\"type\",\"taxon\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"namehtml\",((NameConceptTaxonModel)currNameConceptModel).getNamehtml());\n \t\t \t\tsearchRow.put(\"namehtmlauthor\",((NameConceptTaxonModel)currNameConceptModel).getNamehtmlauthor());\n \t\t \t\tsearchRow.put(\"rankname\",((NameConceptTaxonModel)currNameConceptModel).getRankname());\n \t\t \t\tsearchRow.put(\"parentid\",((NameConceptTaxonModel)currNameConceptModel).getParentid().toString());\n \t\t \t\tsearchRow.put(\"parentnamehtml\",((NameConceptTaxonModel)currNameConceptModel).getParentnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse if(currNameConceptModel.getClass().equals(NameConceptVernacularNameModel.class)){\n \t\t \t\tsearchRow = new HashMap<String, String>();\n \t\t \t\tsearchRow.put(\"type\",\"vernacular\");\n \t\t \t\tsearchRow.put(\"name\", currNameConceptModel.getName());\n \t\t \t\tsearchRow.put(\"id\", Integer.toString(((NameConceptVernacularNameModel)currNameConceptModel).getId()));\n \t\t \t\tsearchRow.put(\"status\", currNameConceptModel.getStatus());\n \t\t \t\tsearchRow.put(\"lang\",((NameConceptVernacularNameModel)currNameConceptModel).getLang());\n \t\t \t\tsearchRow.put(\"taxonid\",currNameConceptModel.getTaxonId().toString());\n \t\t \t\tsearchRow.put(\"taxonnamehtml\",((NameConceptVernacularNameModel)currNameConceptModel).getTaxonnamehtml());\n \t\t \t\tsearchResult.add(searchRow);\n \t\t \t}\n \t\t \telse{\n \t\t \t\t//logger\n \t\t \t\tsearchRow = null;\n \t\t \t}\n \t\t \tsearchResults.add(searchRow);\n \t\t }\n \t\t model.put(\"results\",searchResults);\n \t }\n \t \n \t model.put(\"search\",search);\n \t return new ModelAndView(\"search\", model);\n \t}", "public interface GoogleCustomSearchApi {\n\n @GET(\"/customsearch/v1\")\n Observable<CustomSearchResponse> search(@Query(\"key\") String apiKey, @Query(\"cx\") String cx,\n @Query(\"q\") String query, @Query(\"start\") int start);\n\n}", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithParens() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"(<%=parameter[\\\"Search String\\\"]%>)\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"samaccountname=mary.olowu\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "java.lang.String getSearchValue();", "@Test\n public void testSearchFilter_WithoutAddedSearchBase_WithoutParensInQuery_WithParensInParam() {\n BridgeRequest request = new BridgeRequest();\n\n // Add the fields\n List<String> fields = new ArrayList<>();\n fields.add(\"name\");\n fields.add(\"sn\");\n request.setFields(fields);\n\n // Set the Structure\n // This gets appended to the filter as (objectClass=STRUCTURE)\n request.setStructure(\"User\");\n\n // Set the Query\n request.setQuery(\"<%=parameter[\\\"Search String\\\"]%>\");\n\n // Set the Parameters to be replaced in the Query\n Map parameters = new HashMap();\n parameters.put(\"Search String\", \"(samaccountname=mary.olowu)\");\n request.setParameters(parameters);\n\n BridgeError unexpectedError = null;\n RecordList list = null;\n try {\n list = getAdapter().search(request);\n } catch (BridgeError e) {\n unexpectedError = e;\n }\n\n assertNull(unexpectedError);\n assertTrue(list.getRecords().size() > 0);\n }", "private SearchRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "SearchResult findNext(SearchOptions searchOptions);", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "@Override\n public void onSearchOpened() {\n }", "List<Revenue> search(String query);", "public abstract ISearchCore getSearchCore();", "entities.Torrent.SearchResponse getSearchResponse();", "public String getSearchEndpoint();", "Page<TypeBonDTO> search(String query, Pageable pageable);", "List<TypePatientPropertyCondition> search(String query);", "void addUserSearch(UserSearch userSearch);" ]
[ "0.7058417", "0.68881685", "0.68368286", "0.681428", "0.6791397", "0.6703827", "0.6678758", "0.6664904", "0.6607012", "0.6524762", "0.6523061", "0.64473975", "0.6426909", "0.6393171", "0.6370692", "0.6370274", "0.6355611", "0.6354239", "0.6341089", "0.63079494", "0.62966686", "0.6283489", "0.6272526", "0.626611", "0.6249082", "0.6247711", "0.6232875", "0.62142056", "0.6199998", "0.6163341", "0.6152623", "0.6149669", "0.6135854", "0.6132547", "0.6122819", "0.61154777", "0.6108317", "0.6090006", "0.6071353", "0.60597557", "0.6041432", "0.6035139", "0.60291916", "0.601677", "0.6010781", "0.6006475", "0.6003462", "0.6000379", "0.59986496", "0.5980851", "0.5958014", "0.5955515", "0.5952695", "0.5952695", "0.59523124", "0.5948855", "0.5946446", "0.5945839", "0.59422785", "0.5928475", "0.5928176", "0.59237975", "0.5920136", "0.591052", "0.59075254", "0.59057415", "0.5897716", "0.58819187", "0.58813286", "0.5881217", "0.5878286", "0.5872397", "0.58699965", "0.58478177", "0.58397424", "0.5831529", "0.5823034", "0.5822183", "0.5821942", "0.58203703", "0.58178985", "0.5810261", "0.5799083", "0.57920235", "0.57909757", "0.5786752", "0.576833", "0.5744737", "0.5744566", "0.5731712", "0.5729774", "0.57220906", "0.57220906", "0.57220906", "0.5713054", "0.57059944", "0.57008696", "0.5700404", "0.569976", "0.56888956", "0.5679935" ]
0.0
-1
.SearchResponse searchResponse = 5;
@java.lang.Override public boolean hasSearchResponse() { return searchResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "boolean hasSearchResponse();", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6232891", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.583642", "0.5817738", "0.5806966", "0.580537", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.5350071", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.0
-1
.SearchResponse searchResponse = 5;
@java.lang.Override public entities.Torrent.SearchResponse getSearchResponse() { return searchResponse_ == null ? entities.Torrent.SearchResponse.getDefaultInstance() : searchResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "boolean hasSearchResponse();", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() {\n return getSearchResponse();\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6232891", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.583642", "0.5817738", "0.5806966", "0.580537", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.5350071", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.0
-1
.SearchResponse searchResponse = 5;
@java.lang.Override public entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder() { return getSearchResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameList getSearchResult(){ return m_NewSearchResult;}", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "entities.Torrent.SearchResponse getSearchResponse();", "public Builder setSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n searchResponse_ = value;\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void search(SearchRequest request) {\r\n\t\tif(request == null)return;\r\n\t\tList<Record> results = handler.search(request);\r\n\t\tlist.show(results);\r\n\t\tpanInfo.setNumRec(results.size());\r\n\t\tpanInfo.setTotalAmt(Record.sumBalance(results));\r\n\t}", "SearchUser.Req getSearchUserReq();", "void searchStarted (Search search);", "Search getSearch();", "void setNumberOfResults(int numberOfResults);", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "void searchFinished (Search search);", "List<SearchResult> search(SearchQuery searchQuery);", "void setReagentSearch(ReagentSearch reagentSearch);", "public Builder setSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputSource_ = value;\n onChanged();\n } else {\n searchBuilder_.setMessage(value);\n }\n inputSourceCase_ = 10;\n return this;\n }", "void searchProbed (Search search);", "public void search() {\n }", "public void search() {\r\n \t\r\n }", "entities.Torrent.SearchResponseOrBuilder getSearchResponseOrBuilder();", "public SearchResponse getStatus();", "private void searchItem(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "boolean hasSearchResponse();", "@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }", "ReagentSearch getReagentSearch();", "protected void setSearch(ArrayList<Contact> search){\n this.search = search;\n }", "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "entities.Torrent.LocalSearchResponse getLocalSearchResponse();", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "private RequestResponse handleSearchRequest(Request request, Response response) throws ServiceException {\n response.type(\"application/json\");\n\n String core = request.params(\":core\");\n if (StringUtils.isEmpty(core)) {\n throw new ServiceException(\"Failed to provide an index core for the document\");\n }\n\n SearchParameters searchParameters = new RequestToSearchParameters().convert(request);\n return this.searchService.query(core, searchParameters);\n }", "@GET(\"w/api.php?action=opensearch&format=json&suggest&redirects=resolve\")\n Call<JsonElement> getSuggestionsFromSearch(@Query(\"search\") String search);", "public void onSearchStarted();", "public abstract S getSearch();", "@Override\r\n\tpublic void search() {\n\r\n\t}", "public search() {\n }", "private void setSearchUserRes(SearchUser.Res value) {\n if (value == null) {\n throw new NullPointerException();\n }\n rsp_ = value;\n rspCase_ = 8;\n }", "@Override\n\tpublic void search() {\n\t}", "public void setSearchQuery(String searchQuery) {\n this.searchQuery = searchQuery;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public int getSearchType()\r\n\t{\r\n\t\treturn searchType;\r\n\t}", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "private Search() {}", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setSearchResultLabel(String resultLabel){ searchResultLabel.setText(resultLabel);}", "public void setSearchType(final int searchType)\r\n\t{\r\n\t\tthis.searchType = searchType;\r\n\t}", "entities.Torrent.SearchRequest getSearchRequest();", "public Builder setSearchResponse(\n entities.Torrent.SearchResponse.Builder builderForValue) {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = builderForValue.build();\n onChanged();\n } else {\n searchResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public static AccSearchResponse parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n AccSearchResponse object = new AccSearchResponse();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"AccSearchResponse\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (AccSearchResponse) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"AccSearchResult\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"AccSearchResult\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"AccSearchResult\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAccSearchResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }", "public SearchResponse<T, P> build(Pageable searchRequest, QueryResponse queryResponse) {\n // Create response\n SearchResponse<T, P> searchResponse = new SearchResponse<T, P>(searchRequest);\n searchResponse.setCount(queryResponse.getResults().getNumFound());\n searchResponse.setLimit(queryResponse.getResults().size());\n // The results and facets are copied into the response\n final List<ST> resultsST = queryResponse.getBeans(annotatedClass);\n // convert types\n final List<T> results = Lists.newArrayList();\n for (ST x : resultsST) {\n results.add(x);\n }\n searchResponse.setResults(results);\n searchResponse.setFacets(getFacetsFromResponse(queryResponse));\n setHighlightedFields(searchResponse, queryResponse);\n if(queryResponse.getSpellCheckResponse() != null){\n searchResponse.setSpellCheckResponse(SpellCheckResponseBuilder.build(queryResponse.getSpellCheckResponse()));\n }\n return searchResponse;\n }", "@Override\n public SearchResult search_hunter(String keyword, int page, int rows ,int search_type) throws Exception{\n\n return null;\n }", "public Object getSearchAttributeValue() {\n return searchAttributeValue;\n }", "SearchUser.Res getSearchUserRes();", "private SearchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public void setSearchName(String name) {\n\n searchName = \"&q=\" + name;\n System.out.println(\"searchName changing = \" + searchName);\n }", "public void incrementNumSearchRequests() {\n this.numSearchRequests.incrementAndGet();\n }", "void setStartSearch(int startSearch);", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "private static SearchResponse createSearchResponse() {\n long tookInMillis = randomNonNegativeLong();\n int totalShards = randomIntBetween(1, Integer.MAX_VALUE);\n int successfulShards = randomIntBetween(0, totalShards);\n int skippedShards = randomIntBetween(0, totalShards);\n InternalSearchResponse internalSearchResponse = InternalSearchResponse.empty();\n\n return new SearchResponse(\n internalSearchResponse,\n null,\n totalShards,\n successfulShards,\n skippedShards,\n tookInMillis,\n ShardSearchFailure.EMPTY_ARRAY,\n SearchResponse.Clusters.EMPTY\n );\n }", "public void setSearchResults(List<Visit> searchResults) {\n\t\tthis.searchResults = searchResults;\n\t}", "public SearchResponse(JSONObject json) throws JSONException {\r\n super(json);\r\n }", "@Override\n protected void completeIndexerSearchResult(String response, IndexerSearchResult indexerSearchResult, AcceptorResult acceptorResult, SearchRequest searchRequest, int offset, Integer limit) {\n Document doc = Jsoup.parse(response);\n if (doc.select(\"table.xMenuT\").size() > 0) {\n Element navigationTable = doc.select(\"table.xMenuT\").get(1);\n Elements pageLinks = navigationTable.select(\"a\");\n boolean hasMore = !pageLinks.isEmpty() && pageLinks.last().text().equals(\">\");\n boolean totalKnown = false;\n indexerSearchResult.setOffset(searchRequest.getOffset());\n int total = searchRequest.getOffset() + 100; //Must be at least as many as already loaded\n if (!hasMore) { //Parsed page contains all the available results\n total = searchRequest.getOffset() + indexerSearchResult.getSearchResultItems().size();\n totalKnown = true;\n }\n indexerSearchResult.setHasMoreResults(hasMore);\n indexerSearchResult.setTotalResults(total);\n indexerSearchResult.setTotalResultsKnown(totalKnown);\n } else {\n indexerSearchResult.setHasMoreResults(false);\n indexerSearchResult.setTotalResults(0);\n indexerSearchResult.setTotalResultsKnown(true);\n }\n indexerSearchResult.setPageSize(100);\n indexerSearchResult.setOffset(offset);\n }", "private void search(Object value)\r\n\t\t{\n\r\n\t\t}", "public void setStatus(SearchStatus status) {\n this.status = status;\n }", "public String extractresult(String search) {\n\t\tfd.findElement(By.id(\"sb_form_q\")).sendKeys(search);\r\n\t\tfd.findElement(By.id(\"sb_form_go\")).click();\r\n\t\t\r\n\t\treturn fd.findElement(By.className(\"sb_count\")).getText();\t\r\n\t}", "public int GetSearchByInputCount(SearchMessageVO vo){\r\n\t\treturn SearchPageNum;\r\n\t}", "TSearchQuery prepareSearchQuery(SearchQueryDefinitionAPI searchQueryDefinition);", "public void setSearchClass(String searchClass) {\r\n this.searchClass = searchClass;\r\n }", "public SearchResult(String location) {\n\t\t\tthis.location = location;\n\t\t\tthis.count = 0;\n\t\t\tthis.score = 0;\n\t\t}", "public Builder mergeSearchResponse(entities.Torrent.SearchResponse value) {\n if (searchResponseBuilder_ == null) {\n if (searchResponse_ != null) {\n searchResponse_ =\n entities.Torrent.SearchResponse.newBuilder(searchResponse_).mergeFrom(value).buildPartial();\n } else {\n searchResponse_ = value;\n }\n onChanged();\n } else {\n searchResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public Builder clearSearchResponse() {\n if (searchResponseBuilder_ == null) {\n searchResponse_ = null;\n onChanged();\n } else {\n searchResponse_ = null;\n searchResponseBuilder_ = null;\n }\n\n return this;\n }", "@Override\r\n\tpublic String getTagName() {\n\t\treturn \"PlaceSearchResponse\";\r\n\t}", "public void setResults(ArrayList<Integer> results){\n this.results = results;\n }", "@Override\n\tpublic int countBySearch(String searchType, String searchValue) throws Exception {\n\t\treturn 0;\n\t}", "public interface SearchResult {\n\t/**\n\t * Returns the meta data of this entity associated with the search result.\n\t * \n\t * @return\tThe meta data\n\t */\n\tMetadata getMetaData();\n\t\n\t/**\n\t * Returns the identifier of this entity associated with the search result.\n\t * \n\t * @return\tThe identifier\n\t */\n\tString getHash();\n\t\n\t/**\n\t * Returns the hash algorithm used for hashing the content.\n\t * \n\t * @return The hash algorithm\n\t */\n\tString getHashAlgorithm();\n}", "public void serviceSearchCompleted(int transID, int respCode) {\n }", "SearchResult findNext(SearchOptions searchOptions);", "void stateStored (Search search);", "SearchResponse query(SearchRequest request, Map<SearchParam, String> params);", "void setEndSearch(int endSearch);", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "SearchServiceStatus status();", "public abstract ISearchCore getSearchCore();", "public search_result(search_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.mkfree.apithrift.vo.SearchResultVO(other.success);\n }\n }", "public void setSearchId(int searchId) {\r\n\t\t\r\n\t\tthis.searchIds = new int[ 1 ];\r\n\t\t\r\n\t\tthis.searchIds[ 0 ] = searchId;\r\n\t\t\r\n\t}", "public void search(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString ungDung = ParamUtil.getString(actionRequest,\"ungDung\", \"\");\r\n\t\t\r\n\t\tString nhomUngDung= ParamUtil.getString(actionRequest,\"nhomUngDung\", \"\");\r\n\t\t\r\n\t\tPortletPreferences prefs = actionRequest.getPreferences();\r\n\t\tprefs.setValue(\"ungDung\", ungDung);\r\n\t\tprefs.setValue(\"nhomUngDung\", nhomUngDung);\r\n\t\t\r\n\t\tint cur = ParamUtil.getInteger(actionRequest, \"cur\", 1);\r\n\t\tint delta = ParamUtil.getInteger(actionRequest, \"delta\", 10);\r\n\t\tprefs.setValue(\"cur\", String.valueOf(cur));\r\n\t\tprefs.setValue(\"delta\", String.valueOf(delta));\r\n\t\tprefs.store();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic int locsearch(FoodshopVO vo) {\n\t\treturn 0;\r\n\t}", "public Builder mergeSearch(com.clarifai.grpc.api.Search value) {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10 &&\n inputSource_ != com.clarifai.grpc.api.Search.getDefaultInstance()) {\n inputSource_ = com.clarifai.grpc.api.Search.newBuilder((com.clarifai.grpc.api.Search) inputSource_)\n .mergeFrom(value).buildPartial();\n } else {\n inputSource_ = value;\n }\n onChanged();\n } else {\n if (inputSourceCase_ == 10) {\n searchBuilder_.mergeFrom(value);\n } else {\n searchBuilder_.setMessage(value);\n }\n }\n inputSourceCase_ = 10;\n return this;\n }", "public void apiFindSongReverseSearchSpotify(Messenger handler,Song song, int playlistPos){\n\n String termSearch = (song.getArtist() + \" \" + song.getTrack());\n termSearch = termSearch.replace(\"&\", \"\");\n termSearch = termSearch.replace(\"?\", \"\");\n termSearch = termSearch.replace(\"#\", \"\");\n termSearch.replace(' ', '+');\n Log.v(TAG, \"Term Search: \" + termSearch);\n\n Request request = new Request.Builder()\n .url(getString(R.string.api_spotify_search) + \"?q=\"+termSearch+\"&type=track\"+\"&limit=50\")\n .header(\"Authorization\", \"Bearer \"+ dh.getSpotifyUserToken())\n .build();\n\n try(Response response = client.newCall(request).execute()){\n if(response.isSuccessful()){\n String res = response.body().string();\n //Log.v(TAG,\"Spotify Find Songs Response: \" + res);\n spotifyMatchSong(handler,res,playlistPos,song,true);\n } else {\n Log.v(TAG,\"Failed \" + response.toString());\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "void xsetDirection(com.microsoft.schemas.crm._2011.contracts.SearchDirection direction);", "SearchResult findNext(SearchResult result);", "@GET(\"search.ashx?num_of_results=5\")\n Observable<AutoCompleteApiResponse> getTop5Suggestions(@Query(\"q\") String query);", "public void setNewSearch(String query){\n isNewSearch = true;\n this.query = query;\n }", "public SearchStatus getStatus();", "@Override\r\n public void onFailure(Call<SearchResponse> call, Throwable t) {\n Toast.makeText(getApplicationContext(), \"Failed\", Toast.LENGTH_LONG).show();\r\n }", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "private void loadSearchResults(SearchRequest request) {\n showProgress(null, \"Loading search results...\");\n\n String authToken = ShPrefManager.with(getActivity()).getToken();\n RestClient.getAPI().search(authToken, request, new RestCallback<SearchResponse>() {\n @Override\n public void failure(RestError restError) {\n hideProgress();\n OpenHomeUtils.showToast(getActivity().getApplicationContext(), restError.getErrorMessage(), Toast.LENGTH_LONG);\n }\n\n @Override\n public void success(SearchResponse searchResponse, Response response) {\n hideProgress();\n if (searchResponse.getMessage().size() > 0) {\n propertyList = searchResponse.getMessage();\n String userId = ShPrefManager.with(getActivity()).getUserId();\n searchAdapter = new SearchAdapter(getActivity(), propertyList, userId, 'S');\n mRecyclerView.setAdapter(searchAdapter);\n currentAdapter = \"S\";\n //displayingNowTextView.setText(\"Searching \\\"\" + searchText + \"\\\"\");\n searchBack.setVisibility(View.VISIBLE);\n InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(getActivity().getWindow().getCurrentFocus().getWindowToken(), 0);\n locationLayout.setVisibility(View.VISIBLE);\n refineLayout.setVisibility(View.GONE);\n } else {\n String message = \"No results to display. Please modify the search criteria and try again.\";\n CustomDialogFragment regSuccessDialogFragment = CustomDialogFragment.newInstance(R.string.try_again,\n message, ApplicationConstants.BUTTON_OK, 0);\n regSuccessDialogFragment.show(getActivity().getFragmentManager(), \"SearchResultsFragment\");\n }\n }\n });\n }", "private void searchFunction() {\n\t\t\r\n\t}", "SearchResultsType createSearchResultsType();", "public void setNumberFound(int numberFound) {\n this.numberFound = numberFound;\n }", "java.lang.String getSearchValue();" ]
[ "0.63709426", "0.6340868", "0.6232891", "0.6116931", "0.60743004", "0.60604286", "0.5978008", "0.59739995", "0.5958003", "0.5957518", "0.5956672", "0.59444934", "0.59238803", "0.5896682", "0.5873223", "0.58677423", "0.5853446", "0.583642", "0.5817738", "0.5806966", "0.580537", "0.57843703", "0.57830614", "0.5766189", "0.56886786", "0.56570894", "0.5648035", "0.5614116", "0.5603781", "0.55900776", "0.55851376", "0.5569065", "0.5559669", "0.5556744", "0.5556401", "0.5550459", "0.55419177", "0.5526135", "0.5524763", "0.5524657", "0.55130434", "0.5503335", "0.54973316", "0.5491166", "0.54855335", "0.54815537", "0.547467", "0.54684573", "0.5451262", "0.5450617", "0.5447761", "0.5443931", "0.54409623", "0.5436408", "0.5433222", "0.5426687", "0.54231596", "0.54163766", "0.5410461", "0.54101574", "0.5401883", "0.5399214", "0.53922474", "0.53867275", "0.5386548", "0.53673047", "0.5361932", "0.536123", "0.5356846", "0.53427947", "0.5336857", "0.5330814", "0.53283507", "0.531815", "0.5318134", "0.5315423", "0.5315392", "0.5315264", "0.5299636", "0.5298057", "0.5297598", "0.52942836", "0.5283902", "0.5282836", "0.5277565", "0.5272884", "0.52696776", "0.5268077", "0.52614814", "0.52573615", "0.5255661", "0.5250693", "0.5250133", "0.5247463", "0.5247351", "0.5239484", "0.52320784", "0.52302015", "0.522816", "0.5223319" ]
0.5350071
69
.UploadRequest uploadRequest = 6;
@java.lang.Override public boolean hasUploadRequest() { return uploadRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadRequest getUploadRequest();", "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "boolean hasUploadRequest();", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "@java.lang.Override\n public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n return getUploadRequest();\n }", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "@java.lang.Override\n public entities.Torrent.UploadRequest getUploadRequest() {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.70964265", "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.6464168", "0.64300054", "0.6418312", "0.6373819", "0.6365194", "0.63628614", "0.6355573", "0.62850815", "0.6267337", "0.6265699", "0.6223719", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.57380676
72
.UploadRequest uploadRequest = 6;
@java.lang.Override public entities.Torrent.UploadRequest getUploadRequest() { return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadRequest getUploadRequest();", "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "boolean hasUploadRequest();", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "@java.lang.Override\n public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n return getUploadRequest();\n }", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@java.lang.Override\n public boolean hasUploadRequest() {\n return uploadRequest_ != null;\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.70964265", "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.6464168", "0.64300054", "0.6418312", "0.6373819", "0.6365194", "0.63628614", "0.6355573", "0.62850815", "0.6267337", "0.6265699", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.57380676", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.6223719
21
.UploadRequest uploadRequest = 6;
@java.lang.Override public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() { return getUploadRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadRequest getUploadRequest();", "public CompleteMultipartUploadRequest() {}", "public synchronized void upload(){\n\t}", "UploadInfo simpleUpload(SimpleFile file);", "public void uploadObject() {\n\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n protected void upload(X x) {\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder();", "void bytesToUpload(long bytes);", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "boolean hasUploadRequest();", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "void uploadStarted(StreamingStartEvent event);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public void setUploadBandwidth(int bw);", "@java.lang.Override\n public entities.Torrent.UploadRequest getUploadRequest() {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "private void uploadFromDataStorage() {\n }", "void uploadSuccessful(long bytes);", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "public Builder setUploadRequest(entities.Torrent.UploadRequest value) {\n if (uploadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadRequest_ = value;\n onChanged();\n } else {\n uploadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@Override\n\tpublic Result uploadFile(String requestUri, File uploadFile,\n\t\t\tFile uploadPath, HashMap<String, ContentBody> extraParts) {\n\t\treturn super.uploadFile(requestUri, uploadFile, uploadPath, extraParts);\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "public PostUploadRequest(String url) {\n mRequestUrl = url;\n }", "private UploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n public void uploadFailed() {\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public interface RequeteService {\n @Multipart\n @POST(\"upImportDoc.do\")\n Call<ResponseBody> uploadSingleFile(\n @Header(\"Cookie\") String sessionid,\n @Header(\"User-Agent\") String userAgent,\n @Part MultipartBody.Part file,\n @Part(\"jsessionid\") RequestBody jsessionid,\n @Part(\"ptoken\") RequestBody ptoken,\n @Part(\"ajaupmo\") RequestBody ajaupmo,\n @Part(\"ContributionComment\") RequestBody ContributionComment,\n @Part(\"Document_numbasedoc\") RequestBody Document_numbasedoc,\n @Part(\"contribution\") RequestBody contribution);\n}", "public entities.Torrent.UploadRequest getUploadRequest() {\n if (uploadRequestBuilder_ == null) {\n return uploadRequest_ == null ? entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n } else {\n return uploadRequestBuilder_.getMessage();\n }\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "entities.Torrent.UploadResponse getUploadResponse();", "public int getUploadBandwidth();", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "void uploadFailed(long bytes);", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "Path fileToUpload();", "public void uploadMultipart() {\n String path = getPath(filePath);\n // Toast.makeText(getContext(),path,Toast.LENGTH_LONG).show();\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n\n //Creating a multi part request\n new MultipartUploadRequest(getContext(), uploadId, Const.CompanyProfile)\n .addFileToUpload(path, \"logo\") //Adding file\n .addParameter(\"companyname\", \"BGn\") //Adding text parameter to the request\n .addParameter(\"companyemail\", \"r@r.com\")\n .addParameter(\"description\", desc.getText().toString())\n .addParameter(\"address\", address.getText().toString())\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n // startActivity(new Intent(getContext(), HOME.class));\n Toast.makeText(getContext(), \"Thanks for Submit your Property..\", Toast.LENGTH_LONG).show();\n Fragment fragment = new EmployerHomeFragment();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.newview, fragment);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n } catch (Exception exc) {\n Toast.makeText(getContext(), exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n //finish();\n }", "public interface UploadFileApi {\n @POST\n Flowable<ResponseBody> uploadFile(@Url String url, @Body MultipartBody body);\n}", "void uploadCompleted(String blobId);", "void uploadingFile(String path);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;", "public entities.Torrent.UploadRequestOrBuilder getUploadRequestOrBuilder() {\n if (uploadRequestBuilder_ != null) {\n return uploadRequestBuilder_.getMessageOrBuilder();\n } else {\n return uploadRequest_ == null ?\n entities.Torrent.UploadRequest.getDefaultInstance() : uploadRequest_;\n }\n }", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "public VKUploadDocRequest(File doc) {\n super();\n this.mDoc = doc;\n Log.d(\"File name\",mDoc.getName());\n this.mGroupId = 0;\n }", "public String getUploadId() {\n return uploadId;\n }", "public Long upload(MusicUploadData music) throws MusicAppException;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public MonitoredMultiPartRequest(HttpServletRequest request, String saveDir, int maxSize) {\r\n \tsuper(request, saveDir, maxSize);\r\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "@Test\n public void uploadTest() throws ApiException {\n String path = null;\n Integer devid = null;\n File file = null;\n api.upload(path, devid, file);\n\n // TODO: test validations\n }", "public S3_Upload_Image() {super(TAG);}", "private void uploadFile(Uri fileUri, String firstName, String lastName, String phoneNumber, String email, boolean subscribed) {\n FileUploadInterface service = retrofit.create(FileUploadInterface.class);\n Uri filePath = getFilePathByUri(fileUri);\n File file = new File(filePath.getPath());\n // use the FileUtils to get the actual file by uri\n// File file = FileUtils.getFile(this, fileUri);\n\n // create RequestBody instance from file\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"picture\", file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hello, this is description speaking\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n // finally, execute the request\n Call<ResponseBody> call = service.upload(description, firstName, lastName, phoneNumber, email, body, subscribed);\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call,\n Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.e(\"Upload error:\", t.getMessage());\n }\n });\n }", "@POST(\"posts\")\n public Call<Post> UploadPost (@Body Post post);", "private void makeUploadRequest(final Map<String, String> params){\n\t\tString url = mContext.getString(R.string.development_url)+\"index.php?type=uploadImage\";\n\n\t\t// Request a string response from the provided URL.\n\t\tStringRequest stringRequest = new StringRequest(Request.Method.POST, url,\n\t\t new Response.Listener<String>() {\n\t\t\t@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}\n\t\t}, new Response.ErrorListener() {\n\t\t @Override\n\t\t public void onErrorResponse(VolleyError error) {\n\t\t \tLog.v(\"ken\", \"error response after upload: \");\n\t\t }\n\t\t}){\n\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\treturn params;\n\t\t\t}\n\n\n\t\t};\n\t\t\n\t\t// Add the request to the RequestQueue.\n\t\tVolleySingleton.getInstance(mContext).addToRequestQueue(stringRequest);\n\t\n\t}", "public interface IUploadApi {\n\n @Multipart\n @POST(\"user/verify/v1/modifyHeadPic\")\n Observable<UploadBean> upLoad(@Header(\"userId\") java.lang.String userId, @Header(\"sessionId\") java.lang.String sessionId, @Part MultipartBody.Part part);\n}", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "public interface IUploadService {\n String upload(HttpServletRequest request);\n}", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "private void uploadImage(byte[] imageData) {\n\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@java.lang.Override\n public boolean hasUploadRequest() {\n return uploadRequest_ != null;\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "public void setUploadPtime(int ptime);", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private void uploadFile(String fileUri, String filename) {\n progressDialog.show();\n FileUploadService service = MyConfig.getRetrofit(MyConfig.JSON_BASE_URL).create(FileUploadService.class);\n\n // https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java\n // use the FileUtils to get the actual file by uri\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n MultipartBody.Part body = null;\n if (!profile_image_path.equalsIgnoreCase(\"\")) {\n\n File file = new File(fileUri);\n\n\n // String mimeType= URLConnection.guessContentTypeFromName(file.getName());\n\n // create RequestBody instance from file\n RequestBody requestFile = RequestBody.create(MediaType.parse(\"image/*\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n\n body = MultipartBody.Part.createFormData(\"profile_image\", filename, requestFile);\n }\n\n\n RequestBody user_id = RequestBody.create(MediaType.parse(\"text/plain\"), Shared_Preferences.getPrefs(ProfileActivity.this, IConstant.USER_ID));\n RequestBody full_name = RequestBody.create(MediaType.parse(\"text/plain\"), etName.getText().toString());\n RequestBody height = RequestBody.create(MediaType.parse(\"text/plain\"), etHeight.getText().toString());\n RequestBody email = RequestBody.create(MediaType.parse(\"text/plain\"), etEmail.getText().toString());\n RequestBody weight = RequestBody.create(MediaType.parse(\"text/plain\"), etWeight.getText().toString());\n RequestBody is_blood_pressure = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_diabetes = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_asthama = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n RequestBody is_heart_patient = RequestBody.create(MediaType.parse(\"text/plain\"), \"0\");\n\n\n Call<ResponseBody> call;\n\n\n RequestBody file_name = RequestBody.create(MediaType.parse(\"text/plain\"), \"\" + filename);\n call = service.upload(\n user_id,\n full_name,\n height,\n email,\n weight,\n is_blood_pressure,\n is_diabetes,\n is_asthama,\n is_heart_patient,\n body\n );\n\n\n call.enqueue(new Callback<ResponseBody>() {\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n Log.v(\"Upload\", \"success\");\n String output = \"\";\n try {\n output = response.body().string();\n\n Log.d(\"Response\", \"response=> \" + output);\n JSONObject i = new JSONObject(output);\n boolean res = Boolean.parseBoolean(i.getString(\"result\"));\n String reason = i.getString(\"reason\");\n\n if (res) {\n user_profile_path = i.getString(\"user_profile_path\");\n\n JSONArray jsonArray = i.getJSONArray(\"user_data\");\n\n JSONObject jsonObjectData = jsonArray.getJSONObject(0);\n\n String id = jsonObjectData.getString(\"user_id\");\n String full_name = jsonObjectData.getString(\"full_name\");\n String email = jsonObjectData.getString(\"email\");\n String mobile_no = jsonObjectData.getString(\"mobile_no\");\n String image = jsonObjectData.getString(\"image\");\n String role = jsonObjectData.getString(\"role\");\n String height = jsonObjectData.getString(\"height\");\n String weight = jsonObjectData.getString(\"weight\");\n String is_blood_pressure = jsonObjectData.getString(\"is_blood_pressure\");\n String is_diabetes = jsonObjectData.getString(\"is_diabetes\");\n String is_asthama = jsonObjectData.getString(\"is_asthama\");\n String is_heart_patient = jsonObjectData.getString(\"is_heart_patient\");\n// String member_id = jsonObjectData.getString(\"member_id\");\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ID, id);\n Shared_Preferences.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n Shared_Preferences.setPrefs(_act, IConstant.USER_EMAIL, email);\n Shared_Preferences.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IMAGE, image);\n Shared_Preferences.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n\n Shared_Preferences.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n Shared_Preferences.setPrefs(_act, IConstant.USER_HEIGHT, height);\n Shared_Preferences.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n Shared_Preferences.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n\n\n\n sharedPref.setPrefs(_act, IConstant.USER_ID, id);\n sharedPref.setPrefs(_act, IConstant.USER_FIRST_NAME, full_name);\n sharedPref.setPrefs(_act, IConstant.USER_EMAIL, email);\n sharedPref.setPrefs(_act, IConstant.USER_MOBILE, mobile_no);\n sharedPref.setPrefs(_act, IConstant.USER_PHOTO, user_profile_path + image);\n sharedPref.setPrefs(_act, IConstant.USER_ROLE_ID, role);\n sharedPref.setPrefs(_act, IConstant.USER_HEIGHT, height);\n sharedPref.setPrefs(_act, IConstant.USER_WEIGHT, weight);\n sharedPref.setPrefs(_act, IConstant.USER_IS_BLOOD_PRESSURE, is_blood_pressure);\n sharedPref.setPrefs(_act, IConstant.USER_IS_DIABETIC, is_diabetes);\n sharedPref.setPrefs(_act, IConstant.USER_IS_ASTHAMATIC, is_asthama);\n sharedPref.setPrefs(_act, IConstant.USER_IS_HEART_PATIENT, is_heart_patient);\n sharedPref.setPrefs(_act, IConstant.USER_IS_LOGIN, \"true\");\n Toast.makeText(ProfileActivity.this, reason, Toast.LENGTH_SHORT).show();\n\n Intent intent = new Intent(ProfileActivity.this, UserDashboardActivity.class);\n startActivity(intent);\n finish();\n } else\n Toast.makeText(ProfileActivity.this, \"\" + reason, Toast.LENGTH_SHORT).show();\n // Log.v(\"Upload\", \"\" + response.body().string());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n progressDialog.dismiss();\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n Log.d(\"Upload error:\", \"\");\n progressDialog.dismiss();\n }\n });\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadRequest.Builder getUploadRequestBuilder() {\n\n onChanged();\n return getUploadRequestFieldBuilder().getBuilder();\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "public static void upload(String fpath) {\n String baseurl=\"http://dev.123go.net.cn\";\n File file = new File(fpath);\n\n // please check you mime type, i'm uploading only images\n RequestBody requestBody = RequestBody.create(MediaType.parse(\"image/*\"), file);\n /*RequestBody rbody=new MultipartBody.Builder()\n .addPart(requestBody).build();\n\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"image/jpg\"), file);\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(\"image\", file.getName(), requestFile);\n */\n\n Retrofit retrofit=new Retrofit.Builder()\n .baseUrl(baseurl)\n .addConverterFactory(GsonConverterFactory.create())\n .client(getOkhttpClient())\n .build();\n // 添加描述\n /*String descriptionString = \"hello, 这是文件描述\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);*/\n UploadServer server=retrofit.create(UploadServer.class);\n Call<ResponseBody> call = server.uploadImage(requestBody);\n call.enqueue(new Callback<ResponseBody>() {\n\n @Override\n public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {\n ResponseBody jsonObject=response.body();\n System.out.print(jsonObject.toString());\n }\n\n @Override\n public void onFailure(Call<ResponseBody> call, Throwable t) {\n\n }\n });\n }", "@Override\r\n public void run() {\n upload();\r\n }", "private void uploadToServer(String filePath, String title) {\n APIClient apiClient = new APIClient();\n Retrofit retrofit = apiClient.getApiClient();\n ApiInterface apiInterface = retrofit.create(ApiInterface.class);\n File file = new File(filePath);\n\n MultipartBody.Part filePart =\n MultipartBody.Part.createFormData(\"file\", title+\".jpg\", //file.getName(),\n RequestBody.create(MediaType.parse(\"image/*\"), file));\n\n\n Call call = apiInterface.uploadImage(filePart);\n call.enqueue(new Callback() {\n @Override\n public void onResponse(Call call, Response response) {\n Toast.makeText(AddPost.this, \"Worked\",Toast.LENGTH_SHORT).show();\n }\n @Override\n public void onFailure(Call call, Throwable t) {\n t.printStackTrace();\n Toast.makeText(AddPost.this, \"Didn't work\",Toast.LENGTH_SHORT).show();\n }\n });\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "public boolean hasUploadRequest() {\n return uploadRequestBuilder_ != null || uploadRequest_ != null;\n }", "private void fileUpload(HttpServletRequest request, HttpServletResponse response) {\n\t \ttry {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * String appPath = request.getServletContext().getRealPath(\"\");\r\n\t\t\t\t\t * System.out.println(appPath); String savePath = appPath + File.separator +\r\n\t\t\t\t\t * SAVE_DIR; System.out.println(savePath);\r\n\t\t\t\t\t */\r\n\t \t\t\r\n\t \t\t//String appPath = getServletContext().getRealPath(SAVE_DIR);\r\n\t \t\tSystem.out.println(appPath);\r\n\t \t\t String savePath = appPath + \"//\" +SAVE_DIR; \r\n\t \t\t System.out.println(savePath);\r\n\t\t\t\t\t\tCollection<Part>cp= request.getParts();\r\n\t \t String fileName = up.fileUpload(cp,appPath);\r\n\t \t System.out.println(fileName);\r\n\t \t \r\n\t \t request.setAttribute(\"message\", \"The file \"+fileName+\" has been uploaded successfully!\");\r\n\t \t RequestDispatcher dispatcher = request.getRequestDispatcher(\"success.jsp\");\r\n\t \t dispatcher.forward(request, response);\r\n\t}catch(Exception ex) {\r\n System.out.println(ex);\r\n }\r\n\t }", "void uploadFailed(StreamingErrorEvent event);", "public int getUploadPtime();", "public interface ApiService {\n String BASE_URL = \"http://robika.ir/ultitled/practice/sujeyab/test_multi_upload/\";\n\n @Multipart\n @POST(\"upload.php\")\n Call<ResponseBody> uploadMultiple(\n @Part(\"id_ferestande\") RequestBody id_ferestande,\n @Part(\"onvan\") RequestBody onvan,\n @Part(\"mozo\") RequestBody mozo,\n @Part(\"tozihat\") RequestBody tozihat,\n @Part(\"type\") RequestBody type,\n @Part(\"shenase_rahgiri\") RequestBody shenase_rahgiri,\n @Part(\"id_farakhan\") RequestBody id_farakhan,\n @Part(\"size\") RequestBody size,\n @Part List<MultipartBody.Part> files);\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "public void showUpload(){\n\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Test\n public void Upload()\n {\n }", "@Multipart\n @POST(\"v1/user/avatar/upload\")\n Call<UpdateProfileSuccess> uploadUserAvatar(@Part MultipartBody.Part filePart);" ]
[ "0.70964265", "0.6938449", "0.6893484", "0.68516", "0.67495507", "0.67436427", "0.669342", "0.6690663", "0.6638201", "0.66044295", "0.66018903", "0.6464168", "0.64300054", "0.6418312", "0.6373819", "0.6365194", "0.63628614", "0.62850815", "0.6267337", "0.6265699", "0.6223719", "0.6221667", "0.6201594", "0.6174758", "0.6170521", "0.61634696", "0.61389625", "0.610931", "0.6090937", "0.6073011", "0.60592645", "0.60538685", "0.6050536", "0.6048906", "0.60486275", "0.6018643", "0.6018476", "0.60167235", "0.6010758", "0.6007001", "0.6002377", "0.59918654", "0.5991569", "0.5976163", "0.5971999", "0.5965434", "0.5941243", "0.5937135", "0.5927867", "0.5900208", "0.5899304", "0.5898774", "0.5890548", "0.5889909", "0.58884305", "0.58879185", "0.5887674", "0.58637387", "0.5856777", "0.58550644", "0.58481514", "0.58103573", "0.5806663", "0.5803454", "0.578776", "0.5785902", "0.5780996", "0.5778781", "0.57780665", "0.57716703", "0.5751519", "0.57380676", "0.5735965", "0.57244563", "0.57223237", "0.5708522", "0.5699598", "0.5699271", "0.5689935", "0.56858236", "0.567646", "0.5672928", "0.5669086", "0.5666816", "0.56628865", "0.5648941", "0.5646362", "0.56444055", "0.5643634", "0.5643236", "0.5640109", "0.56274825", "0.5624654", "0.56226933", "0.5619189", "0.5613337", "0.56121117", "0.560203", "0.56009895", "0.5591156" ]
0.6355573
17
.UploadResponse uploadResponse = 7;
@java.lang.Override public boolean hasUploadResponse() { return uploadResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadResponse getUploadResponse();", "void uploadSuccessful(long bytes);", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "boolean hasUploadResponse();", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@java.lang.Override\n public entities.Torrent.UploadResponse getUploadResponse() {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.7199142", "0.69364697", "0.68303025", "0.66983545", "0.66971314", "0.6654241", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6509106", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.60895157
34
.UploadResponse uploadResponse = 7;
@java.lang.Override public entities.Torrent.UploadResponse getUploadResponse() { return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadResponse getUploadResponse();", "void uploadSuccessful(long bytes);", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "@java.lang.Override\n public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n return getUploadResponse();\n }", "boolean hasUploadResponse();", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@java.lang.Override\n public boolean hasUploadResponse() {\n return uploadResponse_ != null;\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.7199142", "0.69364697", "0.68303025", "0.66983545", "0.66971314", "0.6654241", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60895157", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.6509106
10
.UploadResponse uploadResponse = 7;
@java.lang.Override public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() { return getUploadResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.UploadResponse getUploadResponse();", "void uploadSuccessful(long bytes);", "entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder();", "@Override\n public void complete(String arg0, ResponseInfo info, JSONObject response) {\n if (info.isOK()) {\n Upload();\n }\n }", "boolean hasUploadResponse();", "void uploadFailed(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n\n\n }", "@Override\n public void uploadFailed() {\n }", "UploadInfo simpleUpload(SimpleFile file);", "@java.lang.Override\n public entities.Torrent.UploadResponse getUploadResponse() {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }", "@Override\n protected void upload(X x) {\n }", "@Override\n @RequestMapping(\"upload.feep\")\n public void upload(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@Override\n public String getUploadStatus() {\n return uploadStatus;\n }", "void uploadCompleted(String blobId);", "public synchronized void upload(){\n\t}", "public CompleteMultipartUploadRequest() {}", "entities.Torrent.UploadRequest getUploadRequest();", "UploadInfo advancedUpload(AdvanceFile file);", "@Override\n public void onResponse(JSONObject response) {\n Toast.makeText(getApplicationContext(), \"Data Donation Successful!!\", Toast.LENGTH_LONG).show();\n Log.v(\"uploadresponse\", response.toString());\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot)\n {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public entities.Torrent.UploadResponse getUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n return uploadResponse_ == null ? entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n } else {\n return uploadResponseBuilder_.getMessage();\n }\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void uploadObject() {\n\n\t}", "public entities.Torrent.UploadResponseOrBuilder getUploadResponseOrBuilder() {\n if (uploadResponseBuilder_ != null) {\n return uploadResponseBuilder_.getMessageOrBuilder();\n } else {\n return uploadResponse_ == null ?\n entities.Torrent.UploadResponse.getDefaultInstance() : uploadResponse_;\n }\n }", "public Builder setUploadResponse(entities.Torrent.UploadResponse value) {\n if (uploadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n uploadResponse_ = value;\n onChanged();\n } else {\n uploadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void bytesToUpload(long bytes);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n\n //and displaying a success toast\n Toast.makeText(getApplicationContext(), \"File Uploaded \", Toast.LENGTH_LONG).show();\n // picup =true;\n }", "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "void uploadFailed(StreamingErrorEvent event);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(MainActivity.this, \"Uploaded\", Toast.LENGTH_SHORT).show();\n }", "public void incuploadcount(){\n\t\tthis. num_upload++;\n\t}", "@java.lang.Override\n public boolean hasUploadResponse() {\n return uploadResponse_ != null;\n }", "@Override\n public int getUploaded() {\n return 0;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Image uploaded\",Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast\n .makeText(RecordingService.this,\n \"File uploaded!!\",\n Toast.LENGTH_SHORT)\n .show();\n }", "private UploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@Override\n\t\tpublic void returnResponse(String response) {\n\t\t\tmUploadPD.setProgress(mUploadPD.getProgress() + 1);\n\n\t\t\t// we have completed uploading all the files\n\t\t\tif (mUploadPD.getMax() == mUploadPD.getProgress()) {\n\t\t\t\tmUploadPD.dismiss();\n\t\t\t}\n\t\t}", "public boolean hasUploadResponse() {\n return uploadResponseBuilder_ != null || uploadResponse_ != null;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(getApplicationContext(),\"Photo uploaded successfully!\",Toast.LENGTH_SHORT).show();\n }", "void uploadFinished(StreamingEndEvent event, File uploadedTemporaryFile);", "public interface UploadCallback {\n /**\n * send file content callback function, be called only once when the file uploaded\n *\n * @param out output stream for writing file content\n * @return 0 success, return none zero(errno) if fail\n */\n public int send(OutputStream out) throws IOException;\n}", "boolean hasUploadRequest();", "@Override\n\t\t\tpublic void onResponse(String response) {\n\t\t\t\tLog.v(\"ken\", \"Upload image response: \"+response);\n\t\t\t\tif(mOnUploadSuccessListener != null)\n\t\t\t\t\tmOnUploadSuccessListener.onUploadSuccess(response);\n\t\t\t}", "void uploadStarted(StreamingStartEvent event);", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "@Override\n public void onSuccess(\n UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.dismiss();\n Toast.makeText(ProfileActivity.this, \"Image Uploaded!!\", Toast.LENGTH_SHORT).show();\n\n }", "public Integer getUploadlimit() {\n return uploadlimit;\n }", "@Override\n public void handleUpload(UploadResponse response) {\n inProgress.remove(response.getLocation());\n //If the upload was a failure then add the location to the list of loose ends\n if(!response.success())\n looseEnds.add(response.getLocation());\n\n Log.i(this.getClass().toString(), String.format(\"Loose ends: %d In progress: %d\", looseEnds.size(), inProgress.size()));\n }", "@View(\"upload\")\n @Get\n public HttpResponse upload() {\n return HttpResponse.ok();\n }", "@Override\n public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public String getUploadId() {\n return uploadId;\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(DetailsForm.this, \"Image Uploaded Successfully\", Toast.LENGTH_LONG).show();\n }", "@Override\r\n\t\t\t\tpublic void onSucceed(JSONObject obj) {\n\t\t\t\t\tLog.e(\"upload\",obj.toString());\r\n\t\t\t\t}", "public Long upload(MusicUploadData music) throws MusicAppException;", "@Override\n public void onSuccess (UploadTask.TaskSnapshot taskSnapshot){\n Toast.makeText(IncomeActivity.this, \"Image uploaded successfully\",\n Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(AddingPlace.this,\"image uploaded successfully\",Toast.LENGTH_LONG).show();\n }", "@Override\n\tpublic void doUploadResult(String json) throws Exception {\n\n\t}", "public entities.Torrent.UploadResponse.Builder getUploadResponseBuilder() {\n\n onChanged();\n return getUploadResponseFieldBuilder().getBuilder();\n }", "@Override public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(file);\nmRemote.transact(Stub.TRANSACTION_upload, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void setFileUpload(FileUpload fileUpload) {\r\n this.fileUpload = fileUpload;\r\n }", "@View(\"upload\")\n @Post(consumes = MediaType.MULTIPART_FORM_DATA)\n public HttpResponse upload(@Body CompletedFileUpload file) {\n Drive drive = null;\n try {\n drive = googleDriveAccessor.accessGoogleDrive();\n } catch (IOException e) {\n // Catch down below\n }\n\n if(drive == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to access Google Drive\"));\n }\n\n if ((file.getFilename() == null || file.getFilename().equals(\"\"))) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY, \"Required file\"));\n }\n\n if(directoryKey == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Directory key error, please contact admin\"));\n }\n\n JsonNode dirNode = null;\n try {\n dirNode = new ObjectMapper().readTree(this.getClass().getResourceAsStream(DIRECTORY_FILE_PATH));\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n String parentId = dirNode.get(directoryKey) != null ? dirNode.get(directoryKey).asText() : null;\n if(parentId == null) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Configuration error, please contact admin\"));\n }\n\n File fileMetadata = new File();\n fileMetadata.setName(file.getFilename());\n fileMetadata.setMimeType(file.getContentType().orElse(MediaType.APPLICATION_OCTET_STREAM_TYPE).toString());\n fileMetadata.setParents(List.of(parentId));\n\n InputStreamContent content;\n try {\n content = new InputStreamContent(fileMetadata.getMimeType(), file.getInputStream());\n } catch (IOException e) {\n return HttpResponse.badRequest(CollectionUtils.mapOf(RSP_ERROR_KEY,\n String.format(\"Unexpected error processing %s\", file.getFilename())));\n }\n\n try {\n drive.files().create(fileMetadata, content).setFields(\"parents\").execute();\n } catch (IOException e) {\n return HttpResponse.serverError(CollectionUtils.mapOf(RSP_SERVER_ERROR_KEY,\n \"Unable to upload file to Google Drive\"));\n }\n\n return HttpResponse.ok(CollectionUtils.mapOf(RSP_COMPLETE_MESSAGE_KEY,\n String.format(\"The file %s was uploaded\", file.getFilename())));\n }", "public void setUploadlimit(Integer uploadlimit) {\n this.uploadlimit = uploadlimit;\n }", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public boolean upload(String authToken) throws IOException{\n\t\tString response = Sender.send(authToken, Constants.UPLOAD_API_URL,\"POST\", this.toJson());\n\t\t//Analyze response code to check problems\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tUpdateResponse updateResponse = mapper.readValue(response, UpdateResponse.class);\n\t\tif (updateResponse.contextResponses[0].statusCode.code.equals(\"200\")) return true;\n\t\treturn false;\t\n\t}", "MovilizerRequest prepareUploadRequest(Long systemId, String password, MovilizerRequest request);", "public PictureResult upload(byte[] fileBytes,String extName,String orignalName) throws Exception;", "public interface Uploader extends BandwidthTracker {\n\n\tpublic static final int CONNECTING = 0;\n\tpublic static final int FREELOADER = 1;\n\tpublic static final int LIMIT_REACHED = 2;\n\tpublic static final int UPLOADING = 3;\n\tpublic static final int COMPLETE = 4;\n\tpublic static final int INTERRUPTED = 5;\n\tpublic static final int FILE_NOT_FOUND = 7;\n public static final int BROWSE_HOST = 8;\n public static final int QUEUED = 9;\n public static final int UPDATE_FILE = 10;\n public static final int MALFORMED_REQUEST = 11;\n public static final int PUSH_PROXY = 12;\n public static final int UNAVAILABLE_RANGE = 13;\n public static final int BANNED_GREEDY \t = 14;\n public static final int THEX_REQUEST = 15;\n public static final int BROWSER_CONTROL = 16;\n public static final int NOT_VALIDATED = 17;\n\n /**\n\t * Stops this upload. If the download is already \n\t * stopped, it does nothing.\n\t */ \n\tpublic void stop();\n \n\t/**\n\t * returns the name of the file being uploaded.\n\t */\n\tpublic String getFileName();\n\t\n\t/**\n\t * returns the length of the file being uploaded.\n\t */ \n\tpublic long getFileSize();\n\t\n\t/**\n\t * returns the length of the requested size for uploading\n\t */ \n\tpublic long getAmountRequested();\t\n\n\t/**\n\t * Returns the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded.\n\t *\n\t * @return the <tt>FileDesc</tt> for this uploader -- the file that\n\t * is being uploaded, which can be <tt>null</tt> in cases such as when\n\t * the file can't be found\n\t */\n\tpublic FileDesc getFileDesc();\n\n\t/**\n\t * returns the index of the file being uploaded.\n\t */ \n\tpublic int getIndex();\n\n\t/**\n\t * returns the amount that of data that has been uploaded.\n\t * this method was previously called \"amountRead\", but the\n\t * name was changed to make more sense.\n\t */ \n\tpublic long amountUploaded();\n\t\n\t/**\n\t * Returns the amount of data that this uploader and all previous\n\t * uploaders exchanging this file have uploaded.\n\t */\n\tpublic long getTotalAmountUploaded();\n\n\t/**\n\t * returns the string representation of the IP Address\n\t * of the host being uploaded to.\n\t */\n\tpublic String getHost();\n\n /**\n * Returns the current state of this uploader.\n */\n public int getState();\n \n /**\n * Returns the last transfer state of this uploader.\n * Transfers states are all states except INTERRUPTED, COMPLETE,\n * and CONNECTING.\n */\n public int getLastTransferState();\n\n\t/**\n\t * Sets the state of this uploader.\n\t */\n\tpublic void setState(int state);\n\n\tpublic void writeResponse() throws IOException;\n\n\t/**\n\t * returns true if chat for the host is on, false if it is not.\n\t */\n\tpublic boolean isChatEnabled();\n\t\n\t/**\n\t * returns true if browse host is enabled, false if it is not.\n\t */\n\tpublic boolean isBrowseHostEnabled();\n\t\n\t/**\n\t * return the port of the gnutella-client host (not the HTTP port)\n\t */\n\tpublic int getGnutellaPort();\n\t\n\t/** \n\t * return the userAgent\n\t */\n\tpublic String getUserAgent();\n\t\n\t/** \n\t * return whether or not the headers have been parsed\n\t */\n\tpublic boolean isHeaderParsed();\n\n public boolean supportsQueueing();\n \n /**\n * returns the current request method.\n */\n public HTTPRequestMethod getMethod();\n \n /**\n * Returns the current queue position if queued.\n */\n public int getQueuePosition();\n \n /**\n * Returns whether or not the uploader is in an inactive state.\n */\n public boolean isInactive();\n}", "public interface UploadProgressListener {\r\n /**\r\n * This method updated how much data size uploaded to server\r\n *\r\n * @param num\r\n */\r\n void transferred(long num);\r\n}", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Toast.makeText(Signup.this,\"Signup Succcessful\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n progressDialog.hide();\n Toast.makeText(UserInfoForm.this, \"Upload Successful\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n Uri downloadUrl = taskSnapshot.getDownloadUrl();\n intf.afterUpload(downloadUrl.toString());\n //Toast.makeText(context, \"Success Upload to \"+downloadUrl.toString(),Toast.LENGTH_SHORT).show();\n }", "void whenUploadFile(MultipartFile file, HttpServletRequest request);", "@Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n }", "public void uploadMultipart() {\n //getting the actual path of the image\n String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, \"todo\")\n .addFileToUpload(path, \"image\") //Adding file\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "public Builder clearUploadResponse() {\n if (uploadResponseBuilder_ == null) {\n uploadResponse_ = null;\n onChanged();\n } else {\n uploadResponse_ = null;\n uploadResponseBuilder_ = null;\n }\n\n return this;\n }", "public FileUpload getFileUpload() {\r\n return fileUpload;\r\n }", "@Multipart\n @POST()\n Call<Result> uploadImage(@Part MultipartBody.Part file, @Url String medialUploadUrl, @PartMap() Map<String, RequestBody> partMap);", "private void uploadRequest(String msg){\n String path = \"\";\r\n try {\r\n path = getPath(imageUri);\r\n }\r\n catch (URISyntaxException e){\r\n showMsg(\"wrong uri\");\r\n }\r\n String number = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString(\"number\",\"12345\");\r\n\r\n AndroidNetworking.upload(Endpoints.upload_request)\r\n .addMultipartFile(\"file\",new File(path))\r\n .addQueryParameter(\"message\",msg)\r\n .addQueryParameter(\"number\",number)\r\n .setPriority(Priority.HIGH)\r\n .build()\r\n .setUploadProgressListener(new UploadProgressListener() {\r\n @Override\r\n public void onProgress(long bytesUploaded, long totalBytes) {\r\n // do anything with progress\r\n long progress = (bytesUploaded/totalBytes*100);\r\n chooseImageText.setText(String.valueOf(progress));\r\n chooseImageText.setOnClickListener(null);\r\n }\r\n })\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject response) {\r\n try {\r\n if(response.getBoolean(\"success\")){\r\n showMsg(\"Succes\");\r\n MakeRequestActivity.this.finish();\r\n }\r\n else {\r\n showMsg(response.getString(\"message\"));\r\n }\r\n } catch (JSONException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n\r\n }\r\n });\r\n\r\n }", "public Integer getUploadId() {\n\t\treturn uploadId;\n\t}", "public handleFileUpload() {\r\n\t\tsuper();\r\n\t}", "@java.lang.Override\n public long getMaxUploadSizeInBytes() {\n return maxUploadSizeInBytes_;\n }", "public void postRequestUploadProgress(Request<?> request, long transferredBytesSize, long totalSize, int currentFileIndex, File currentFile);", "public Long createFileUpload(FileUpload fileUpload, InputStream fileInputStream) throws AppException;", "@Override\r\n public void run() {\n upload();\r\n }", "@Override\n public void onProgress(int progress) {\n Log.i(\"bmob\", \"onProgress :\" + progress);\n uploadListener.onProgress(progress);\n }", "private String uploadFile() {\n\n int serverResponseCode = 0;\n String serverResponseMessage = null;\n HttpURLConnection connection;\n DataOutputStream dataOutputStream;\n String lineEnd = \"\\r\\n\";\n String twoHyphens = \"--\";\n String boundary = \"*****\";\n\n int bytesRead, bytesAvailable, bufferSize;\n byte[] buffer;\n int maxBufferSize = 1 * 1024 * 1024;\n File selectedFile = new File(selectedFilePath);\n double len = selectedFile.length();\n\n String[] parts = selectedFilePath.split(\"/\");\n final String fileName = parts[parts.length - 1];\n\n if (!selectedFile.isFile()) {\n dialog.dismiss();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"Source File Doesn't Exist: \" + selectedFilePath);\n }\n });\n return \"\";\n } else {\n try {\n String id = PreferenceStorage.getUserMasterId(getApplicationContext());\n String serviceId = ongoingService.getServiceOrderId();\n\n\n FileInputStream fileInputStream = new FileInputStream(selectedFile);\n String SERVER_URL = SkilExConstants.BUILD_URL + SkilExConstants.UPLOAD_BILL_DOCUMENT + \"\" + id + \"/\" + serviceId + \"/\";\n URI uri = new URI(SERVER_URL.replace(\" \", \"%20\"));\n String baseURL = uri.toString();\n URL url = new URL(baseURL);\n connection = (HttpURLConnection) url.openConnection();\n connection.setDoInput(true);//Allow Inputs\n connection.setDoOutput(true);//Allow Outputs\n connection.setUseCaches(false);//Don't use a cached Copy\n connection.setRequestMethod(\"POST\");\n connection.setRequestProperty(\"Connection\", \"Keep-Alive\");\n connection.setRequestProperty(\"ENCTYPE\", \"multipart/form-data\");\n connection.setRequestProperty(\"Content-Type\", \"multipart/form-data;boundary=\" + boundary);\n connection.setRequestProperty(\"bill_copy\", selectedFilePath);\n// connection.setRequestProperty(\"user_id\", id);\n// connection.setRequestProperty(\"doc_name\", title);\n// connection.setRequestProperty(\"doc_month_year\", start);\n\n //creating new dataoutputstream\n dataOutputStream = new DataOutputStream(connection.getOutputStream());\n\n //writing bytes to data outputstream\n dataOutputStream.writeBytes(twoHyphens + boundary + lineEnd);\n dataOutputStream.writeBytes(\"Content-Disposition: form-data; name=\\\"document_file\\\";filename=\\\"\"\n + selectedFilePath + \"\\\"\" + lineEnd);\n\n dataOutputStream.writeBytes(lineEnd);\n\n //returns no. of bytes present in fileInputStream\n bytesAvailable = fileInputStream.available();\n //selecting the buffer size as minimum of available bytes or 1 MB\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n //setting the buffer as byte array of size of bufferSize\n buffer = new byte[bufferSize];\n\n //reads bytes from FileInputStream(from 0th index of buffer to buffersize)\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n\n //loop repeats till bytesRead = -1, i.e., no bytes are left to read\n while (bytesRead > 0) {\n //write the bytes read from inputstream\n dataOutputStream.write(buffer, 0, bufferSize);\n bytesAvailable = fileInputStream.available();\n bufferSize = Math.min(bytesAvailable, maxBufferSize);\n bytesRead = fileInputStream.read(buffer, 0, bufferSize);\n }\n\n dataOutputStream.writeBytes(lineEnd);\n dataOutputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);\n\n serverResponseCode = connection.getResponseCode();\n serverResponseMessage = connection.getResponseMessage();\n\n Log.i(TAG, \"Server Response is: \" + serverResponseMessage + \": \" + serverResponseCode);\n\n //response code of 200 indicates the server status OK\n if (serverResponseCode == 200) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n// tvFileName.setText(\"File Upload completed.\\n\\n You can see the uploaded file here: \\n\\n\" + \"http://coderefer.com/extras/uploads/\"+ fileName);\n// tvFileName.setText(\"File Upload completed.\\n\\n\"+ fileName);\n }\n });\n }\n\n //closing the input and output streams\n fileInputStream.close();\n dataOutputStream.flush();\n dataOutputStream.close();\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), \"File Not Found\", Toast.LENGTH_SHORT).show();\n }\n });\n } catch (MalformedURLException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"URL error!\", Toast.LENGTH_SHORT).show();\n\n } catch (IOException e) {\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Cannot Read/Write File!\", Toast.LENGTH_SHORT).show();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n dialog.dismiss();\n return serverResponseMessage;\n }\n\n }", "public uploadFileForExperiment_result(uploadFileForExperiment_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "@java.lang.Override\n public boolean getIsUploadEnabled() {\n return isUploadEnabled_;\n }", "public void run() {\n uploadManager.put(f, expectKey, TestConfig.token_z0, new UpCompletionHandler() {\n public void complete(String k, ResponseInfo rinfo, JSONObject response) {\n Log.i(\"qiniutest\", k + rinfo);\n key = k;\n info = rinfo;\n resp = response;\n signal.countDown();\n }\n }, null);\n }", "public UploadSvl() {\r\n\t\tsuper();\r\n\t}", "public void uploadMultipart(String path, final String name) {\n //getting name for the image\n // String name = editText.getText().toString().trim();\n\n //getting the actual path of the image\n // String path = getPath(filePath);\n\n //Uploading code\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n new MultipartUploadRequest(this, uploadId, UPLOAD_URL)\n .addFileToUpload(path, \"image\") //Adding file\n .addParameter(\"name\", name) //Adding text parameter to the request\n .addParameter(\"alert\", mAlertId) //Adding text parameter to the request\n .addParameter(\"device\",\n android.os.Build.MODEL) //Adding text parameter to the request\n .addParameter(\"title\", currentCaptureDirectory.getName())\n .setNotificationConfig(new UploadNotificationConfig()).setMaxRetries(2)\n .setDelegate(new UploadStatusDelegate() {\n @Override\n public void onProgress(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n\n @Override\n public void onError(Context context, UploadInfo uploadInfo,\n Exception exception) {\n // your code here\n }\n\n @Override\n public void onCompleted(Context context, UploadInfo uploadInfo,\n ServerResponse serverResponse) {\n Log.i(\" _ \", \" \");\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.toString());\n Log.d(TAG, \"JSON RESPONSE::: \" + serverResponse.getBodyAsString());\n Log.i(\" _ \", \" \");\n\n File photo = new File(currentCaptureDirectory, name);\n if (photo.exists()) photo.delete();\n\n if (mSendEmail) {\n mSendEmail = false;\n mEmailResetHandler.removeCallbacks(emailResetRunnable);\n mEmailResetHandler.postDelayed(emailResetRunnable, 1000 * 600);\n String link = mServerUrl + \"sendEmail.php?device=\" + mDeviceName +\n \"&name=\" + name + \"&title=\" +\n currentCaptureDirectory.getName();\n new updateData().execute(link);\n\n String link2 = mServerUrl + \"init.php?device=\" + mDeviceName;\n new updateData().execute(link2);\n\n mHandler.postDelayed(runnable, 6000);\n }\n\n // your code here\n // if you have mapped your server response to a POJO, you can easily get it:\n // YourClass obj = new Gson().fromJson(serverResponse.getBodyAsString(), YourClass.class);\n // File photo = new File(Environment.getExternalStorageDirectory(), name + \".jpg\");\n // if (photo.exists()) photo.delete();\n }\n\n @Override\n public void onCancelled(Context context, UploadInfo uploadInfo) {\n // your code here\n }\n }).startUpload(); //Starting the upload\n\n } catch (Exception exc) {\n Log.i(TAG, exc.getMessage());\n }\n }", "private void uploadFromDataStorage() {\n }", "public java.lang.CharSequence upload(java.lang.String appId, java.lang.String url, long duration, java.lang.String file) throws android.os.RemoteException;" ]
[ "0.7199142", "0.69364697", "0.68303025", "0.66983545", "0.6654241", "0.6653992", "0.66418165", "0.6625056", "0.6517175", "0.6509106", "0.6466963", "0.6432583", "0.6416041", "0.6414567", "0.6413076", "0.6405968", "0.63922113", "0.6380641", "0.6361259", "0.63412243", "0.6323264", "0.62966627", "0.62941897", "0.62492836", "0.62294865", "0.6203261", "0.6197032", "0.61852825", "0.6183822", "0.6180088", "0.61757016", "0.6153858", "0.60946536", "0.60895157", "0.60889816", "0.6074181", "0.6072903", "0.606628", "0.60601175", "0.60393685", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.60173106", "0.6010421", "0.5988394", "0.5977088", "0.59756726", "0.59726864", "0.5958943", "0.5953098", "0.5948519", "0.5944499", "0.59321696", "0.5931937", "0.59250563", "0.59238654", "0.5920727", "0.5916267", "0.59143674", "0.5909207", "0.5886795", "0.5846537", "0.58431995", "0.5839725", "0.5838895", "0.58359146", "0.581746", "0.5817426", "0.5799893", "0.5792334", "0.57862043", "0.57842594", "0.5776745", "0.5776111", "0.5771296", "0.5771016", "0.57684976", "0.5761663", "0.57547563", "0.5735233", "0.5734788", "0.5730675", "0.5726432", "0.5718974", "0.57173955", "0.5716516", "0.5711972", "0.57108086", "0.57053626", "0.5705036", "0.56928843", "0.5689137", "0.5687917", "0.56873554", "0.5687332", "0.56828594", "0.5680609", "0.56803185" ]
0.66971314
4
.ReplicateRequest replicateRequest = 8;
@java.lang.Override public boolean hasReplicateRequest() { return replicateRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequest getReplicateRequest();", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasReplicateRequest();", "entities.Torrent.ReplicateResponse getReplicateResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.7421276", "0.6885489", "0.6537161", "0.63882685", "0.6239497", "0.6200185", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5902852", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.52858937
23
.ReplicateRequest replicateRequest = 8;
@java.lang.Override public entities.Torrent.ReplicateRequest getReplicateRequest() { return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequest getReplicateRequest();", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasReplicateRequest();", "entities.Torrent.ReplicateResponse getReplicateResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.7421276", "0.6885489", "0.6537161", "0.63882685", "0.6239497", "0.6200185", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.52858937", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.5902852
10
.ReplicateRequest replicateRequest = 8;
@java.lang.Override public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() { return getReplicateRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateRequest getReplicateRequest();", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasReplicateRequest();", "entities.Torrent.ReplicateResponse getReplicateResponse();", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "org.omg.CORBA.Object _duplicate();", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "boolean hasReplicateResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "MessageClasses<I, M> createCopyForNewSuperstep();", "int insertSelective(IceApp record);", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public boolean hasReplicateRequest() {\n return replicateRequestBuilder_ != null || replicateRequest_ != null;\n }", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "WithCreate withReplicaCount(int count);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "public void insertReply() {\n\r\n\t}", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "public void increseReplyCount() {\n\r\n\t}", "@Override\n protected int minimumNumberOfReplicas() {\n return 1;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>\n getReplicateRequestFieldBuilder() {\n if (replicateRequestBuilder_ == null) {\n replicateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateRequest, entities.Torrent.ReplicateRequest.Builder, entities.Torrent.ReplicateRequestOrBuilder>(\n getReplicateRequest(),\n getParentForChildren(),\n isClean());\n replicateRequest_ = null;\n }\n return replicateRequestBuilder_;\n }", "void addCopy() {\r\n numCopies++;\r\n }", "int insertSelective(StatusReplies record);", "int insertSelective(PrivateMessage record);", "int insert(TRepairs record);", "int insertSelective(TRepairs record);", "int insert(PrivateMessage record);", "int insertSelective(Notifiction record);", "public static void replicate(AcDbAccountAccess a)\n {\n AcReplicator e;\n e = new AcReplicator(a);\n e.replicate();\n }", "public ReplicationObject() {\n }", "int insert(IceApp record);", "public boolean isReplicateUpdatesViaCopy() {\r\n\r\n if (LOG.isLoggable(Level.FINEST)) {\r\n LOG.finest(\"isReplicateUpdatesViaCopy ( ) called \");\r\n }\r\n\r\n return replicateUpdatesViaCopy;\r\n }", "Replica.DefinitionStages.Blank define(String name);", "int insertSelective(NjOrderWork2 record);", "public abstract Instance duplicate();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "int insert(NjOrderWork2 record);", "public ReplicateObjectMessageFactory() {\n super(null);\n }", "public void createNew(int size);", "private MetaSparqlRequest createInsertMT2() {\n\t\t//is the same of MT1\n\t\treturn createInsertMT1();\n\t}", "public Object clone() throws CloneNotSupportedException {\r\n super.clone();\r\n return new JMSCacheReplicator(replicatePuts, replicateUpdates,\r\n replicateUpdatesViaCopy, replicateRemovals, replicateAsync, asynchronousReplicationInterval);\r\n }", "WorkoutBatch copy();", "@Override\npublic Object clone() throws CloneNotSupportedException {\n\tSystem.out.println(\"Clone is running....\"+namr);\n\treturn super.clone();\n}", "@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }", "private static long newId() {\n return REQUEST_ID.getAndIncrement();\n }", "int insert(StatusReplies record);", "int insert(Notifiction record);", "public PayloadBuilderSet[] generateRepeatingPayload() {\n\t\tPayloadBuilderSet[] updatedPayloadList = new PayloadBuilderSet[(int)getNumberOfPayloadRepetitions()];\n\n\t\tSystem.arraycopy(sets, 0, updatedPayloadList, 0, sets.length); //keep the original payloads, and put them into the updated list\n\n\t\t// create the repetitions for each of the payloadSets within the workload, and put them into the updatedList of payloads\n\t\tfor (int i = sets.length; i<updatedPayloadList.length; i++) {\n\t\t\t\n\t\t\tint setNumber = getRemainder(i, sets.length);\n\t\t\tint sequenceNumber = i/sets.length;\n\t\t\tint scalarValue = sequenceNumber * (int)workloadConfiguration.getRepetitionDelay();\n\t\t\tupdatedPayloadList[i] = sets[setNumber].generateSet(scalarValue);\n\t\t}\n\n\t\treturn updatedPayloadList;\n\t}", "int insert(NjProductTaticsRelation record);", "@Override\n public void onNewClusterState(ClusterState state) {\n transportService.sendRequest(\n clusterService.localNode(),\n transportReplicaAction,\n replicaRequest,\n new ActionListenerResponseHandler<>(onCompletionListener, ReplicaResponse::new)\n );\n }", "int insertSelective(NjProductTaticsRelation record);", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "int insertSelective(ResumeKpiPO record);", "int insert(ProxiesPriv record);", "@Override\r\npublic int getNumcopy() {\n\treturn super.getNumcopy();\r\n}", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "int insertSelective(H5AppDownloadLog record);", "private NodeRestartRequest() {\n\t\t}", "private MetaSparqlRequest createInsertMT1() {\n\t\tString sparqlStr = \"\"+\n\t\t\t\t\"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\r\\n\" + \n\t\t\t\t\"PREFIX ub: \"+_ontology+\"\\r\\n\" + \n\t\t\t\t\"INSERT DATA { GRAPH \"+_graph+\" { \"+\n\t\t\t\tbuilderBindInsert\n\t\t\t\t+\" } }\";\n\t\t\n\t\tSparqlObj sparql= new SparqlObj(sparqlStr) ;\n\t\tEndPoint endPointHost= new EndPoint(_protocol,_host,_port,\"/update\");\n\t\tMetaSparqlRequest msr = new MetaSparqlRequest(new SparqlRequest(sparql,endPointHost));\n\t\tmsr.setTripleInsert(createTripleBaseMT1());\n\t\treturn msr;\n\t}", "int insertSelective(GatewayLog record);", "public void setVecReplicateData(java.util.Vector vecReplicateData) {\r\n this.vecReplicateData = vecReplicateData;\r\n }", "int insertSelective(NjOrderAttachment record);", "Client createNewClient(Client client);", "Nop createNop();", "int insertSelective(Appraise record);", "public RepeatedMessage() {\n\t\tsuper(\"repeated_message\", com.instalogger.entities.generated.Public.PUBLIC);\n\t}", "int insertSelective(WechatDemo record);", "int insertSelective(Body record);", "int insertSelective(PaasCustomAutomationRecord record);", "@Test\n @DisplayName(\"push test3\")\n void push_test3(){\n\n mongoOperations.updateMulti(\n new Query(),\n new Update()\n .push(\"key\")\n .slice(5)\n .each(Arrays.asList(\"Arya\", \"Arry\", \"Weasel\")),\n UserTestArray.class\n );\n }", "int insertSelective(SdkPhone record);", "int insertSelective(TbComEqpModel record);", "public RequestedDocument addRequestedDocument(AddRequestedDocumentCommand aCommand);", "int insert(NjOrderAttachment record);", "@Override\r\npublic void setNumcopy(int numcopy) {\n\tsuper.setNumcopy(numcopy);\r\n}", "int insertSelective(ResourcePojo record);", "int insertSelective(NjOrderCallbackLog record);", "int insertSelective(PrefecturesMt record);", "int insert(PrefecturesMt record);", "int insertSelective(GirlInfo record);", "int insert(PaasCustomAutomationRecord record);", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "int insertSelective(MEsShoppingCartDTO record);", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "int insert(Forumpost record);" ]
[ "0.7421276", "0.6885489", "0.6537161", "0.63882685", "0.6239497", "0.6071471", "0.5987626", "0.5964524", "0.59234446", "0.5902852", "0.5717255", "0.57016313", "0.5668207", "0.5647086", "0.56181484", "0.5599533", "0.5559874", "0.54338676", "0.54302794", "0.5400942", "0.5395736", "0.5296976", "0.52858937", "0.5283972", "0.52631533", "0.52484655", "0.52243614", "0.5167147", "0.51601946", "0.51432884", "0.51304615", "0.5129204", "0.51068896", "0.5103608", "0.5079677", "0.50769633", "0.50438356", "0.5040623", "0.50363594", "0.5018542", "0.4999407", "0.4996332", "0.49914408", "0.49670607", "0.4958713", "0.49532846", "0.4939495", "0.49130556", "0.4905582", "0.49038374", "0.48959935", "0.48938805", "0.48744908", "0.4861578", "0.48565447", "0.4852205", "0.48500073", "0.4837159", "0.4831262", "0.48252535", "0.48206693", "0.48203206", "0.48110056", "0.4807225", "0.48042053", "0.47958368", "0.47842294", "0.477466", "0.47688773", "0.4768379", "0.4768258", "0.47620404", "0.4761727", "0.4757604", "0.47509694", "0.4750076", "0.47473016", "0.47370958", "0.47321016", "0.4725122", "0.47224554", "0.47210145", "0.4719367", "0.4715683", "0.47142726", "0.4713158", "0.47048858", "0.47032434", "0.46990088", "0.46851033", "0.46822786", "0.46810615", "0.46775877", "0.46750048", "0.46749663", "0.4674843", "0.46718505", "0.46648443", "0.4654966", "0.46456712" ]
0.6200185
5
.ReplicateResponse replicateResponse = 9;
@java.lang.Override public boolean hasReplicateResponse() { return replicateResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponse getReplicateResponse();", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "boolean hasReplicateResponse();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "@java.lang.Override\n public entities.Torrent.ReplicateResponse getReplicateResponse() {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7519346", "0.7038346", "0.68342257", "0.67136896", "0.6664406", "0.6543369", "0.6298907", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.5915559", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.55587965
24
.ReplicateResponse replicateResponse = 9;
@java.lang.Override public entities.Torrent.ReplicateResponse getReplicateResponse() { return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponse getReplicateResponse();", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "boolean hasReplicateResponse();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n return getReplicateResponse();\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "@java.lang.Override\n public boolean hasReplicateResponse() {\n return replicateResponse_ != null;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7519346", "0.7038346", "0.68342257", "0.67136896", "0.6664406", "0.6543369", "0.6298907", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.55587965", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.5915559
14
.ReplicateResponse replicateResponse = 9;
@java.lang.Override public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() { return getReplicateResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ReplicateResponse getReplicateResponse();", "entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder();", "private ReplicateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.ReplicateRequest getReplicateRequest();", "boolean hasReplicateResponse();", "public Builder setReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateResponse_ = value;\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponse.Builder getReplicateResponseBuilder() {\n\n onChanged();\n return getReplicateResponseFieldBuilder().getBuilder();\n }", "private ReplicateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Builder clearReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = null;\n onChanged();\n } else {\n replicateResponse_ = null;\n replicateResponseBuilder_ = null;\n }\n\n return this;\n }", "entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder();", "public entities.Torrent.ReplicateResponse getReplicateResponse() {\n if (replicateResponseBuilder_ == null) {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n } else {\n return replicateResponseBuilder_.getMessage();\n }\n }", "public Builder setReplicateResponse(\n entities.Torrent.ReplicateResponse.Builder builderForValue) {\n if (replicateResponseBuilder_ == null) {\n replicateResponse_ = builderForValue.build();\n onChanged();\n } else {\n replicateResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "boolean hasReplicateRequest();", "@java.lang.Override\n public entities.Torrent.ReplicateResponse getReplicateResponse() {\n return replicateResponse_ == null ? entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }", "public Builder mergeReplicateResponse(entities.Torrent.ReplicateResponse value) {\n if (replicateResponseBuilder_ == null) {\n if (replicateResponse_ != null) {\n replicateResponse_ =\n entities.Torrent.ReplicateResponse.newBuilder(replicateResponse_).mergeFrom(value).buildPartial();\n } else {\n replicateResponse_ = value;\n }\n onChanged();\n } else {\n replicateResponseBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "public entities.Torrent.ReplicateResponseOrBuilder getReplicateResponseOrBuilder() {\n if (replicateResponseBuilder_ != null) {\n return replicateResponseBuilder_.getMessageOrBuilder();\n } else {\n return replicateResponse_ == null ?\n entities.Torrent.ReplicateResponse.getDefaultInstance() : replicateResponse_;\n }\n }", "public void insertReply() {\n\r\n\t}", "public void increseReplyCount() {\n\r\n\t}", "public void setRepeatedResponses(Integer repeatedResponses) {\r\n this.repeatedResponses = repeatedResponses;\r\n }", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "public Builder setReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n replicateRequest_ = value;\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean hasReplicateResponse() {\n return replicateResponseBuilder_ != null || replicateResponse_ != null;\n }", "com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();", "@java.lang.Override\n public boolean hasReplicateResponse() {\n return replicateResponse_ != null;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>\n getReplicateResponseFieldBuilder() {\n if (replicateResponseBuilder_ == null) {\n replicateResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n entities.Torrent.ReplicateResponse, entities.Torrent.ReplicateResponse.Builder, entities.Torrent.ReplicateResponseOrBuilder>(\n getReplicateResponse(),\n getParentForChildren(),\n isClean());\n replicateResponse_ = null;\n }\n return replicateResponseBuilder_;\n }", "@java.lang.Override\n public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n return getReplicateRequest();\n }", "@Override\n\tpublic void onRepeatRequest(HttpRequest request,int requestId, int count) {\n\t\t\n\t}", "org.omg.CORBA.Object _duplicate();", "public void createRepeatingPayloads(){\n\t\tthis.sets = generateRepeatingPayload();\n\t}", "public Builder setReplicateRequest(\n entities.Torrent.ReplicateRequest.Builder builderForValue) {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = builderForValue.build();\n onChanged();\n } else {\n replicateRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public abstract int createProductResponse();", "public Integer getRepeatedResponses() {\r\n return repeatedResponses;\r\n }", "public entities.Torrent.ReplicateRequest.Builder getReplicateRequestBuilder() {\n\n onChanged();\n return getReplicateRequestFieldBuilder().getBuilder();\n }", "Response createResponse();", "@java.lang.Override\n public entities.Torrent.ReplicateRequest getReplicateRequest() {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }", "public Builder mergeReplicateRequest(entities.Torrent.ReplicateRequest value) {\n if (replicateRequestBuilder_ == null) {\n if (replicateRequest_ != null) {\n replicateRequest_ =\n entities.Torrent.ReplicateRequest.newBuilder(replicateRequest_).mergeFrom(value).buildPartial();\n } else {\n replicateRequest_ = value;\n }\n onChanged();\n } else {\n replicateRequestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData addNewIdVerificationResponseData();", "public entities.Torrent.ReplicateRequest getReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n return replicateRequest_ == null ? entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n } else {\n return replicateRequestBuilder_.getMessage();\n }\n }", "public InvokeReply() {\n super(ProtocolOpcode.INVOKE_REPLY);\n }", "int insert(StatusReplies record);", "void stubNextResponse(HttpExecuteResponse nextResponse, Duration delay);", "@Override\n\tpublic int boardReplyInsert(BoardDto board_reply) {\n\t\treturn dao.boardReplyInsert(board_reply);\n\t}", "@Override\n IRcvResponse promote();", "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "@Override\n public ReplicateRecord record (DomainRecord record) {\n this.record = record;\n return this;\n }", "private void __getReply() throws IOException\n {\n __getReply(true); // tagged response\n }", "public interface IRcvResponse extends IRcvMessage\n{\n /** @return the unique request identifier of the original sent request */\n UUID getOriginalRequestId();\n\n /**\n * Promote the response by cloning all internal fields into a new message, including the content\n *\n * Since the library will try to reuse internal buffers you have to promote the message if it's contents are going\n * to be accessed from a separate thread.\n *\n * @return the new created promoted message\n */\n @Override\n IRcvResponse promote();\n}", "@Override\r\n\tpublic int responseInsert(List<ResearchResponseVO> list) {\n\t\treturn map.responseInsert(list);\r\n\t}", "net.iGap.proto.ProtoResponse.Response getResponse();", "net.iGap.proto.ProtoResponse.Response getResponse();", "private static void generateReplica() {\r\n\t\tArrayList<String> rep = new ArrayList<String>();\r\n\t\trep.add(NamespaceMap.get(5));\r\n\t\trep.add(NamespaceMap.get(6));\r\n\t\tReplicationMap.put(1, rep);\r\n\t\trep.set(0, NamespaceMap.get(6));\r\n\t\trep.set(1, NamespaceMap.get(1));\r\n\t\tReplicationMap.put(2, rep);\r\n\t\trep.set(0, NamespaceMap.get(1));\r\n\t\trep.set(1, NamespaceMap.get(2));\r\n\t\tReplicationMap.put(3, rep);\r\n\t\trep.set(0, NamespaceMap.get(2));\r\n\t\trep.set(1, NamespaceMap.get(3));\r\n\t\tReplicationMap.put(4, rep);\r\n\t\trep.set(0, NamespaceMap.get(3));\r\n\t\trep.set(1, NamespaceMap.get(4));\r\n\t\tReplicationMap.put(5, rep);\r\n\t\trep.set(0, NamespaceMap.get(4));\r\n\t\trep.set(1, NamespaceMap.get(5));\r\n\t\tReplicationMap.put(6, rep);\r\n\t}", "amdocs.iam.pd.pdwebservices.CheckProductEligibilityResponseDocument.CheckProductEligibilityResponse addNewCheckProductEligibilityResponse();", "public entities.Torrent.ReplicateRequestOrBuilder getReplicateRequestOrBuilder() {\n if (replicateRequestBuilder_ != null) {\n return replicateRequestBuilder_.getMessageOrBuilder();\n } else {\n return replicateRequest_ == null ?\n entities.Torrent.ReplicateRequest.getDefaultInstance() : replicateRequest_;\n }\n }", "private void replicate(Version theTask) {\n\tsynchronized(_replicatorQueue) {\n\t for (int i = 0; i < _replicatorQueue.size(); i++) {\n\t\tReplicatorHandle rh = (ReplicatorHandle) \n\t\t _replicatorQueue.get(i);\n\t\trh.replicate(theTask, _replicatorQueue, this);\n\t }\n\t}\n }", "public RXR insertRXR(int rep) throws HL7Exception { \r\n return (RXR)super.insertRepetition(\"RXR\", rep);\r\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "public abstract void retrain(Call serviceCall, Response serviceResponse, CallContext messageContext);", "interface ReplicateRecord {\n public ReplicateRecord mode(ConnectorMode mode);\n public ReplicateRecord record(DomainRecord record);\n public SourceRecord convert() throws Exception;\n}", "int insert(TRepairs record);", "public Builder clearReplicateRequest() {\n if (replicateRequestBuilder_ == null) {\n replicateRequest_ = null;\n onChanged();\n } else {\n replicateRequest_ = null;\n replicateRequestBuilder_ = null;\n }\n\n return this;\n }", "public void sendRRequests() {\n\n }", "int insertSelective(StatusReplies record);", "public CarReply() {\n super();\n this.nrCars = 0;\n this.carwashID = \"\";\n }", "@Override\n\tpublic boolean repOk() {\n\t\treturn true;\n\t}", "public void deleteReply() {\n\r\n\t}", "@Override\n public void onRetry(int retryNo) {\n }", "@ApiMethod(name = \"greetings.multiply\", httpMethod = \"post\")\n public HelloGreeting insertGreeting(@Named(\"times\") Integer times, HelloGreeting greeting) {\n HelloGreeting response = new HelloGreeting();\n StringBuilder responseBuilder = new StringBuilder();\n for (int i = 0; i < times; i++) {\n responseBuilder.append(greeting.getMessage());\n }\n response.setMessage(responseBuilder.toString());\n return response;\n }", "void stubResponses(HttpExecuteResponse... responses);", "public void messageResp(int respId) {\n\r\n\t}", "void stubNextResponse(HttpExecuteResponse nextResponse);", "org.oasis_open.docs.ns.bpel4people.ws_humantask.api._200803.GetMyTaskAbstractsResponseDocument.GetMyTaskAbstractsResponse addNewGetMyTaskAbstractsResponse();", "@Override\n\tpublic void replyOperationCompleted() { ; }", "@java.lang.Override\n public boolean hasReplicateRequest() {\n return replicateRequest_ != null;\n }", "public void receiveResultadd2(\n loadbalance.LoadBalanceStub.Add2Response result\n ) {\n }", "@Override\n\tpublic List<ReplyVO> admin_rinsert(ReplyVO reply) {\n\t\treturn null;\n\t}", "public void receiveResultadd3(\n loadbalance.LoadBalanceStub.Add3Response result\n ) {\n }", "@Test\n public void DrugInteractionsShouldSendDrugInteractionsRequest() throws IOException {\n Response mockResponse = mock(Response.class);\n //mock of the underlying classes not visible from source code\n Call mockCall = mock(Call.class);\n ResponseBody mockResponseBody = mock(ResponseBody.class);\n //set behaviours\n when(mockClient.newCall(any(Request.class))).thenReturn(mockCall);\n when(mockCall.execute()).thenReturn(mockResponse);\n when(mockResponse.body()).thenReturn(mockResponseBody);\n when(mockResponseBody.string()).thenReturn(\"test body\");\n String result = requester.getDrugInteractions(\"Panadol\", \"Tramadol\");\n\n verify(mockCall, times(1)).execute();\n assert (result.equals(\"test body\"));\n }", "@Override\n public Call<Void> clone() {\n return new HttpCall(httpClient, endpoint, compressionEnabled, encodedSpans);\n }", "@Override\n public MyResponse[] newArray(int size) {\n return new MyResponse[size];\n }", "com.ipay.api.grpc.ServiceGenericReply getReply();", "public void receiveResultadd(\n loadbalance.LoadBalanceStub.AddResponse result\n ) {\n }", "@Test\n public void testUniqueRandomRuids() {\n\n ServiceWriteRequestBuilder<Void> builder = ServiceWriteRequestBuilder.newPostRequest(ServiceName.CONTACT, \"/contact\", null, Void.class);\n\n String ruid1 = builder.build().getRuid();\n String ruid2 = builder.build().getRuid();\n\n assertThat(ruid1, is(notNullValue()));\n assertThat(ruid2, is(notNullValue()));\n assertThat(ruid1, is(not(ruid2)));\n\n\n }", "public Object clone() {\n SIPMessage retval = null;\n try {\n retval = (SIPMessage) this.getClass().newInstance();\n } catch ( IllegalAccessException ex) {\n InternalErrorHandler.handleException(ex);\n } catch (InstantiationException ex) {\n InternalErrorHandler.handleException(ex);\n }\n ListIterator li = headers.listIterator();\n while(li.hasNext()) {\n SIPHeader sipHeader = (SIPHeader)((SIPHeader) li.next()).clone();\n retval.attachHeader(sipHeader);\n }\n if (retval instanceof SIPRequest) {\n SIPRequest thisRequest = (SIPRequest) this;\n RequestLine rl = (RequestLine)\n (thisRequest.getRequestLine()).clone();\n ((SIPRequest) retval).setRequestLine(rl);\n } else {\n SIPResponse thisResponse = (SIPResponse) this;\n StatusLine sl = (StatusLine)\n (thisResponse.getStatusLine()).clone();\n ((SIPResponse) retval).setStatusLine(sl);\n }\n \n if (this.getContent() != null) {\n try {\n\t\tObject newContent ;\n\t\tObject currentContent = this.getContent();\n\t\t// Check the type of the returned content.\n\t\tif (currentContent instanceof String ) {\n\t\t // If it is a string allocate a new string for the body\n\t\t newContent = new String\n\t\t\t\t(currentContent.toString());\n\t\t} else if ( currentContent instanceof byte[] ) {\n\t\t // If it is raw bytes allocate a new array of bytes\n\t\t // and copy over the content.\n\t\t int cl = ((byte[])currentContent).length;\n\t\t byte[] nc = new byte[cl];\n\t\t System.arraycopy((byte[])currentContent,0,nc,0,cl);\n\t\t newContent = nc;\n\t\t} else {\n\t\t // See if the object has a clone method that is public\n\t\t // If so invoke the clone method for the new content.\n\t\t Class cl = currentContent.getClass();\n\t\t try {\n\t\t Method meth = cl.getMethod(\"clone\",null);\n\t\t if (Modifier.isPublic(meth.getModifiers())) {\n\t\t\t newContent = meth.invoke(currentContent,null);\n\t\t } else {\n\t\t\t newContent = currentContent;\n\t\t }\n\t\t } catch (Exception ex) {\n\t\t\tnewContent = currentContent;\n\t\t }\n\t\t}\n retval.setContent\n (newContent,this.getContentTypeHeader());\n } catch (ParseException ex) { /** Ignore **/ }\n }\n \n return retval;\n }", "@Override\n public void saveToResponseAdditional(ActionResponse response) {\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "@Override\n public void onRetry ( int retryNo){\n }", "public int getRequestRetryCount() {\n \t\treturn 1;\n \t}", "OptimizeResponse() {\n\n\t}", "public void setNumRespAtracc(int num);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "ResponsesType createResponsesType();", "public edu.itq.soa.ResponseDocument.Response addNewResponse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.itq.soa.ResponseDocument.Response target = null;\n target = (edu.itq.soa.ResponseDocument.Response)get_store().add_element_user(RESPONSE$0);\n return target;\n }\n }", "private CallResponse() {\n initFields();\n }", "@Override\n public ExtensionResult getQuickReplies(ExtensionRequest extensionRequest) {\n Map<String, String> output = new HashMap<>();\n QuickReplyBuilder quickReplyBuilder = new QuickReplyBuilder.Builder(\"Hello\").add(\"Hello World\", \"hello world\")\n .add(\"Hello Java\", \"B0F63CE1-F16F-4761-8881-F44C95D2792F\").build();\n output.put(OUTPUT, quickReplyBuilder.string());\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n extensionResult.setValue(output);\n return extensionResult;\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override\r\n public void onRetry(int retryNo) {\n }", "MessageClasses<I, M> createCopyForNewSuperstep();", "@Override\r\n\tpublic int insert(ReplyVO vo) {\n\t\treturn rDao.insert(vo);\r\n\t}" ]
[ "0.7519346", "0.7038346", "0.68342257", "0.67136896", "0.6664406", "0.6543369", "0.61812776", "0.5994706", "0.5983687", "0.5969563", "0.5962073", "0.59368694", "0.59245193", "0.5915559", "0.59096384", "0.5868831", "0.58055544", "0.5757827", "0.5721922", "0.5717965", "0.57145685", "0.5701069", "0.5663892", "0.55587965", "0.5494411", "0.5446937", "0.54399073", "0.5424885", "0.53824186", "0.53621244", "0.53615546", "0.53208786", "0.5313262", "0.52848303", "0.52770334", "0.5244475", "0.524278", "0.52339786", "0.51831234", "0.5172026", "0.5160344", "0.5147709", "0.5113833", "0.5096683", "0.50944763", "0.5091783", "0.5088679", "0.5087744", "0.5085946", "0.5085946", "0.50834817", "0.50791895", "0.50788707", "0.5064848", "0.503873", "0.5035659", "0.5035659", "0.50212795", "0.5009288", "0.5000212", "0.49934047", "0.4974382", "0.49646097", "0.4962288", "0.4960056", "0.49532157", "0.4952156", "0.49520448", "0.4949382", "0.49484634", "0.49481267", "0.49455908", "0.4935989", "0.4933253", "0.49227858", "0.4914355", "0.4908724", "0.48924327", "0.48904362", "0.48875457", "0.4886962", "0.4885178", "0.48726526", "0.4862731", "0.4862467", "0.48584723", "0.48584723", "0.48584723", "0.4858429", "0.48563448", "0.4848551", "0.48390326", "0.4837781", "0.4837705", "0.4823868", "0.4822325", "0.48138726", "0.48134205", "0.4804129", "0.48037648" ]
0.6298907
6
.ChunkRequest chunkRequest = 10;
@java.lang.Override public boolean hasChunkRequest() { return chunkRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "boolean hasChunkRequest();", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n return getChunkRequest();\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequest getChunkRequest() {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.7170581", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.6248034", "0.62428814", "0.6169934", "0.6155265", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58374727", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5751858", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.0
-1
.ChunkRequest chunkRequest = 10;
@java.lang.Override public entities.Torrent.ChunkRequest getChunkRequest() { return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "boolean hasChunkRequest();", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n return getChunkRequest();\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.7170581", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.6248034", "0.62428814", "0.6169934", "0.6155265", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58374727", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.5751858
38
.ChunkRequest chunkRequest = 10;
@java.lang.Override public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() { return getChunkRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sendChunkRequest(int chunkX, int chunkY);", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "public int getChunkSize() {\n return chunkSize;\n }", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder();", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "public Builder setChunkSize(int value) {\n bitField0_ |= 0x00000004;\n chunkSize_ = value;\n onChanged();\n return this;\n }", "boolean hasChunkRequest();", "entities.Torrent.ChunkResponse getChunkResponse();", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkSize(long value) {\n \n chunkSize_ = value;\n onChanged();\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "boolean canRequestChunk();", "public Builder setChunkRequest(entities.Torrent.ChunkRequest value) {\n if (chunkRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkRequest_ = value;\n onChanged();\n } else {\n chunkRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "void setChunkType(String aChunkType);", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "Builder spikesPerChunk(VariableAmount count);", "public int getChunkSize() {\n return chunkSize_;\n }", "private ChunkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "@java.lang.Override\n public entities.Torrent.ChunkRequest getChunkRequest() {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}", "public Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "private Chunk generateChunk(int size) {\n String json;\n ObjectMapper objectMapper = new ObjectMapper();\n List<Record> recordList = new ArrayList<>();\n int i = 1;\n while (i <= size) {\n json = \"{ \\\"Price\\\" :\" + priceGenerator.nextDouble() * 100 + \" }\";\n try {\n recordList.add(new Record(String.valueOf(i), LocalDateTime.now(), objectMapper.readTree(json)));\n } catch (JsonProcessingException e) {\n log.error(\"Issue with the chunk generation: \" + e.getMessage());\n return null;\n }\n i++;\n\n }\n log.info(\"Generated Chunk :\");\n recordList.forEach((record) -> log.info(record.toString()));\n return new Chunk(recordList);\n }", "public entities.Torrent.ChunkRequestOrBuilder getChunkRequestOrBuilder() {\n if (chunkRequestBuilder_ != null) {\n return chunkRequestBuilder_.getMessageOrBuilder();\n } else {\n return chunkRequest_ == null ?\n entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n }\n }", "public boolean getChunking () {\n\treturn chunk;\n }", "@Override\n public void setBufferSize(int arg0) {\n\n }", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "public entities.Torrent.ChunkRequest getChunkRequest() {\n if (chunkRequestBuilder_ == null) {\n return chunkRequest_ == null ? entities.Torrent.ChunkRequest.getDefaultInstance() : chunkRequest_;\n } else {\n return chunkRequestBuilder_.getMessage();\n }\n }", "static int fetchChunkSize(String value) {\n Integer chSize;\n try {\n chSize = Integer.parseInt(value);\n } catch (NumberFormatException e) {\n throw new IllegalArgumentException(\"Chunksize needs to be a whole number!\", e);\n }\n if (chSize > MAX_CHUNK_SIZE || chSize < MIN_CHUNK_SIZE) {\n throw new IllegalArgumentException(\"Chunksize [\" + chSize\n + \"] cannot be less than \" + MIN_CHUNK_SIZE\n + \"MB or larger than \" + MAX_CHUNK_SIZE + \"MB\");\n }\n chunkSize = 1000 * 1000 * chSize; // MB to bytes\n return chunkSize;\n }", "ChunkCachingProtocol.Factory getChunkCachingProtocolFactory();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }", "@Override\n public void setContentLength(int arg0) {\n\n }", "public void setContentLength(int i) {\n\n\t}", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasChunkResponse();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public void addChunk(ParquetStreamReader.ChunkDescriptor descriptor) {\n chunks.add(descriptor);\n length += descriptor.size;\n }", "void mo54426b(int i, List<DownloadChunk> list);", "public RestClientBuilder setChunkedEnabled(boolean chunkedEnabled) {\n this.chunkedEnabled = Optional.of(chunkedEnabled);\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkId(int value) {\n \n chunkId_ = value;\n onChanged();\n return this;\n }", "void setChunk(Boolean aIsChunk);", "public int getChunkWidth() {\n return 256;\n }", "void setSpikesPerChunk(VariableAmount count);", "void mo54414a(int i, List<DownloadChunk> list);", "public Chunk() {\n }", "private void sendWriteChunkRequest(File file, InputStream is,\n ConnectionUtilities connections, int numberOfChunks)\n throws NumberFormatException, IOException {\n byte[] message = new byte[ Constants.CHUNK_SIZE ];\n\n ProgressBar progress = new ProgressBar( file.getName() );\n\n WriteChunkRequest request = new WriteChunkRequest( file.getAbsolutePath(),\n 0, null, file.lastModified(), 1, null );\n\n int sequence = 0, length = 0;\n while ( ( length = is.read( message ) ) != -1 )\n {\n // Only send to the first connection, whom will forward the rest\n String[] initialConnection = routes[ sequence ][ 0 ].split( \":\" );\n TCPConnection connection =\n connections.cacheConnection( node, initialConnection, false );\n // Pad elements b[k] through b[b.length-1] with zeros\n Arrays.fill( message, length, Constants.CHUNK_SIZE, ( byte ) 0 );\n byte[][] messageToSend = new byte[][] { message };\n if ( Properties.SYSTEM_DESIGN_SCHEMA\n .equals( Constants.SYSTEM_TYPE_ERASURE ) )\n {\n messageToSend = ReedSolomonUtilities.encode( message );\n }\n request.setMessage( messageToSend );\n request.setRoutes( routes[ sequence ] );\n request.setSequence( sequence );\n connection.getTCPSender().sendData( request.getBytes() );\n\n progress.update( sequence, numberOfChunks );\n ++sequence;\n }\n }", "public ChunkFiler() {}", "public void setType(ChunkType type);", "public int getChunksCount() {\n return chunksCount_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "int getChunksCount();", "int getChunksCount();", "public void setBufferSize(int i) {\n\n\t}", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "public Builder setChunkIndex(int value) {\n\n chunkIndex_ = value;\n onChanged();\n return this;\n }", "private int readChunkSize(int desired) {\n return Math.min(availableFirst(), desired);\n }", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "public entities.Torrent.ChunkRequest.Builder getChunkRequestBuilder() {\n\n onChanged();\n return getChunkRequestFieldBuilder().getBuilder();\n }", "@Override\n void enqueueBlockRequest(int index, int position, int length) {\n enqueue(pmCache.request(index, position, length));\n }" ]
[ "0.75496966", "0.7170581", "0.69892824", "0.688326", "0.68781567", "0.68781567", "0.68781567", "0.68781567", "0.6522647", "0.6352193", "0.6248034", "0.62428814", "0.6169934", "0.6155265", "0.61341524", "0.6095506", "0.608665", "0.60630655", "0.60630655", "0.60630655", "0.60630655", "0.6049984", "0.6034557", "0.6027867", "0.60214996", "0.6003913", "0.59989643", "0.5976928", "0.5976928", "0.5951397", "0.5897599", "0.588024", "0.58004934", "0.58004934", "0.58004934", "0.58004934", "0.5779332", "0.5751858", "0.5749921", "0.56996584", "0.56557244", "0.56557244", "0.56557244", "0.56557244", "0.5653152", "0.56503874", "0.5641837", "0.563496", "0.56317145", "0.5624111", "0.559871", "0.55739987", "0.5553047", "0.55309933", "0.5527727", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.5523312", "0.55051523", "0.5488815", "0.5485514", "0.5480932", "0.5477876", "0.54648477", "0.54623735", "0.5460544", "0.5447627", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.5442587", "0.543033", "0.5421373", "0.54183686", "0.540795", "0.53994524", "0.53918946", "0.537172", "0.53603554", "0.53252476", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.5318449", "0.53120655", "0.53120655", "0.53042156", "0.5303494", "0.53026235", "0.5298529", "0.52966285", "0.5289342", "0.52872545" ]
0.58374727
32
.ChunkResponse chunkResponse = 11;
@java.lang.Override public boolean hasChunkResponse() { return chunkResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponse getChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "boolean hasChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "@java.lang.Override\n public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n return getChunkResponse();\n }", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "@java.lang.Override\n public entities.Torrent.ChunkResponse getChunkResponse() {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.76127803", "0.689421", "0.68631434", "0.6827106", "0.67847973", "0.6521442", "0.6472285", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.61997634", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.6058618
29
.ChunkResponse chunkResponse = 11;
@java.lang.Override public entities.Torrent.ChunkResponse getChunkResponse() { return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponse getChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "boolean hasChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "@java.lang.Override\n public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n return getChunkResponse();\n }", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "@java.lang.Override\n public boolean hasChunkResponse() {\n return chunkResponse_ != null;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.76127803", "0.689421", "0.68631434", "0.6827106", "0.67847973", "0.6521442", "0.6472285", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.6058618", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.61997634
19
.ChunkResponse chunkResponse = 11;
@java.lang.Override public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() { return getChunkResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.ChunkResponse getChunkResponse();", "entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder();", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse();", "boolean hasChunkResponse();", "public void setChunked(boolean b) {\n/* 178 */ this.chunked = b;\n/* */ }", "void sendChunkRequest(int chunkX, int chunkY);", "boolean hasStoreChunkResponse();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "entities.Torrent.ChunkRequest getChunkRequest();", "int getChunkSize();", "public Builder setChunkResponse(entities.Torrent.ChunkResponse value) {\n if (chunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n chunkResponse_ = value;\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "public boolean isChunked() {\n/* 101 */ return this.chunked;\n/* */ }", "private ChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "long getChunkSize();", "@Test\n public void testChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertEquals(\"Unexpected numbed of received chunks.\", 3, counter);\n }", "@java.lang.Override\n public entities.Torrent.ChunkResponse getChunkResponse() {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }", "void mo54417a(DownloadChunk downloadChunk);", "public int getChunkNo() {\n return chunkNo;\n }", "public int getChunkNo() {\n return chunkNo;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "public boolean hasStoreChunkResponse() {\n return msgCase_ == 8;\n }", "@Test\n public void testInterceptedChunkedOutputToChunkInput() throws Exception {\n final ChunkedInput<String> input = target().path(\"test/intercepted\").request().get(new javax.ws.rs.core.GenericType<ChunkedInput<String>>() {});\n int counter = 0;\n String chunk;\n while ((chunk = input.read()) != null) {\n Assert.assertEquals((\"Unexpected value of chunk \" + counter), \"test\", chunk);\n counter++;\n } \n Assert.assertThat(\"Unexpected numbed of received chunks.\", counter, Matchers.equalTo(3));\n Assert.assertThat(\"Unexpected number of chunked output interceptions.\", ChunkedInputOutputTest.TestWriterInterceptor.interceptCounter.get(), Matchers.equalTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output write calls.\", ChunkedInputOutputTest.TestWriterInterceptor.writeCounter.get(), Matchers.greaterThanOrEqualTo(1));\n Assert.assertThat(\"Unexpected number of intercepted output flush calls.\", ChunkedInputOutputTest.TestWriterInterceptor.flushCounter.get(), Matchers.greaterThanOrEqualTo(3));\n Assert.assertThat(\"Unexpected number of intercepted output close calls.\", ChunkedInputOutputTest.TestWriterInterceptor.closeCounter.get(), Matchers.equalTo(1));\n }", "public int getChunkSize() {\n return chunkSize;\n }", "public entities.Torrent.ChunkResponse getChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n return chunkResponse_ == null ? entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n } else {\n return chunkResponseBuilder_.getMessage();\n }\n }", "public void setChunking (boolean b) {\n\tchunk = b;\n }", "@java.lang.Override\n public boolean hasChunkResponse() {\n return chunkResponse_ != null;\n }", "boolean hasChunkRequest();", "public String initializeChunk() {\n\t\ttry {\n\t\t\t// request \n\t\t\t// write payload size (2 ints, 4 + 4)\n\t\t\toos.writeInt(8);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.InitializeChunk);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint chunkHandleSize = getPayloadInt(ois);\n\t\t\t// reduce size by payload size int \n\t\t\tchunkHandleSize -= 4; \n\t\t\tbyte[] handle = getPayload(ois, chunkHandleSize);\n\t\t\treturn (new String(handle).toString());\n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(\"ioe in initialize chunk \" + ioe.getMessage());\n\t\t}\n\t\treturn null; \n\t}", "public boolean hasChunkResponse() {\n return chunkResponseBuilder_ != null || chunkResponse_ != null;\n }", "private StoreChunkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder();", "public entities.Torrent.ChunkResponse.Builder getChunkResponseBuilder() {\n\n onChanged();\n return getChunkResponseFieldBuilder().getBuilder();\n }", "boolean canRequestChunk();", "void httpResponse (HttpHeader response, BufferHandle bufferHandle, \n\t\t boolean keepalive, boolean isChunked, long dataSize);", "public boolean getChunking () {\n\treturn chunk;\n }", "public int getChunkSize () {\n return this.CHUNK_SIZE;\n }", "public entities.Torrent.ChunkResponseOrBuilder getChunkResponseOrBuilder() {\n if (chunkResponseBuilder_ != null) {\n return chunkResponseBuilder_.getMessageOrBuilder();\n } else {\n return chunkResponse_ == null ?\n entities.Torrent.ChunkResponse.getDefaultInstance() : chunkResponse_;\n }\n }", "DataChunk nextChunk() throws RemoteException;", "@Override\npublic int writingBenches() {\n\treturn 200;\n}", "@Override\n public void setContentLength(int arg0) {\n\n }", "void setChunkType(String aChunkType);", "public Builder clearChunkResponse() {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = null;\n onChanged();\n } else {\n chunkResponse_ = null;\n chunkResponseBuilder_ = null;\n }\n\n return this;\n }", "OptimizeResponse() {\n\n\t}", "public int getChunkSize() {\r\n\t\treturn chunkSize;\r\n\t}", "@Test\n public void testChunkedOutputToSingleString() throws Exception {\n final String response = target().path(\"test\").request().get(String.class);\n Assert.assertEquals(\"Unexpected value of chunked response unmarshalled as a single string.\", \"test\\r\\ntest\\r\\ntest\\r\\n\", response);\n }", "public Builder setStoreChunkResponse(edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse value) {\n if (storeChunkResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n msg_ = value;\n onChanged();\n } else {\n storeChunkResponseBuilder_.setMessage(value);\n }\n msgCase_ = 8;\n return this;\n }", "public int getChunkSize() {\n return chunkSize_;\n }", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "void requestProcessed( C conn, int numResponseExpected ) ;", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "String getChunkType();", "public int getResponse() {return response;}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponseOrBuilder getStoreChunkResponseOrBuilder() {\n if ((msgCase_ == 8) && (storeChunkResponseBuilder_ != null)) {\n return storeChunkResponseBuilder_.getMessageOrBuilder();\n } else {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "int getChunkId();", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public int getChunkSize() {\n return chunkSize_;\n }", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (storeChunkResponseBuilder_ == null) {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n } else {\n if (msgCase_ == 8) {\n return storeChunkResponseBuilder_.getMessage();\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse getStoreChunkResponse() {\n if (msgCase_ == 8) {\n return (edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse) msg_;\n }\n return edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.getDefaultInstance();\n }", "Response mo35726n0() throws IOException;", "public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }", "public byte[] getChunk(String ChunkHandle, int offset, int NumberOfBytes) {\n\t\t\n\t\tbyte[] payload = null;\n\t\t\n\t\ttry {\n\t\t\t// request \n\t\t\tbyte[] handle = ChunkHandle.getBytes();\n\t\t\t// write payload size (4-command + 4-handle-length + actual handle)\n\t\t\toos.writeInt(4 + 4 + 4 + 4 + handle.length);\n\t\t\t// write command identifier \n\t\t\toos.writeInt(ChunkServer.GetChunk);\n\t\t\t// write chunkHandle length \n\t\t\toos.writeInt(handle.length);\n\t\t\t// write chunk handle\n\t\t\toos.write(handle);\n\t\t\t// write offset \n\t\t\toos.writeInt(offset);\n\t\t\t// write number of bytes\n\t\t\toos.writeInt(NumberOfBytes);\n\t\t\toos.flush();\n\t\t\t// parse response \n\t\t\tint payloadSize = getPayloadInt(ois);\n\t\t\tSystem.out.println(\"Recieving this size: \" + payloadSize);\n\t\t\tpayload = getPayload(ois, payloadSize);\n\t\t\tSystem.out.print(\"received payload in client\");\n\t\t\t\n\t\t\treturn payload; \n\t\t\t\n\t\t} catch (IOException ioe) {\n\t\t\tSystem.out.println(ioe.getMessage());\n\t\t}\n\t\t\n\t\treturn payload; \n\t\t\n\t}", "void responseSequenceNumber() {\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString getResponse(int index);", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public long getChunkSize() {\n return chunkSize_;\n }", "public static Response newChunkedResponse(Response.IStatus status, String mimeType,\n\t\t\tInputStream data) {\n\t\treturn new Response(status, mimeType, data, -1);\n\t}", "public Builder setChunkResponse(\n entities.Torrent.ChunkResponse.Builder builderForValue) {\n if (chunkResponseBuilder_ == null) {\n chunkResponse_ = builderForValue.build();\n onChanged();\n } else {\n chunkResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "public int getBufferSize() {\n return this.response.getBufferSize();\n }", "<H extends ResponseHandler<Result[]>> H nextBatch(H handler);", "public edu.usfca.cs.dfs.StorageMessages.StoreChunkResponse.Builder getStoreChunkResponseBuilder() {\n return getStoreChunkResponseFieldBuilder().getBuilder();\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "@java.lang.Override\n public int getChunkIndex() {\n return chunkIndex_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getChunkId() {\n return chunkId_;\n }", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public void setContentLength(int i) {\n\n\t}", "@java.lang.Override\n public int getResponseCount() {\n return response_.size();\n }", "void stubNextResponse(HttpExecuteResponse nextResponse);", "void setChunk(Boolean aIsChunk);", "void setLastChunk(Boolean aIsLastChunk);", "public void sendChunk(String fileName,ObjectOutputStream out)\n {\n FileInputStream fInput;\n BufferedInputStream bufInput;\n byte[] byteToSend = new byte[chunkSize];\n try\n {\n fInput = new FileInputStream(fileName);\n bufInput = new BufferedInputStream(fInput);\n int b;\n int i=0;\n b = bufInput.read(byteToSend,0,chunkSize);\n out.write(byteToSend,0,chunkSize);\n out.flush();\n bufInput.close();\n }\n catch(FileNotFoundException ex)\n {\n System.out.println(\"File Chunk Not found Exception: Some chunk missing.\");\n }\n catch(IOException ex)\n {\n System.out.println(\"IOException while reading from the chunk file.\");\n }\n }", "@Override\n public boolean startContent(int statusCode, Compression compression) {\n return true;\n }", "public void setChunkNumber(int chunkNumber) {\r\n\t\tthis.chunkNumber = chunkNumber;\r\n\t}" ]
[ "0.76127803", "0.689421", "0.68631434", "0.6827106", "0.67847973", "0.6521442", "0.6423145", "0.631949", "0.63179505", "0.6315173", "0.6304548", "0.6237635", "0.62216306", "0.62191415", "0.62191415", "0.62191415", "0.62191415", "0.6205167", "0.61997634", "0.6185729", "0.61624604", "0.61624604", "0.6147691", "0.6127977", "0.60859364", "0.6078434", "0.60712343", "0.60597616", "0.6058618", "0.60444075", "0.60082656", "0.6004962", "0.59973407", "0.59547323", "0.594303", "0.59425306", "0.591819", "0.59122777", "0.5898738", "0.5893066", "0.5806769", "0.57947266", "0.57923245", "0.5786592", "0.57585347", "0.575823", "0.5741261", "0.5733664", "0.57299364", "0.5696999", "0.5683345", "0.5612647", "0.56039596", "0.55850226", "0.55803216", "0.5565494", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.555431", "0.5552268", "0.5552268", "0.5549423", "0.554129", "0.5530548", "0.5525945", "0.5521206", "0.5515143", "0.5498325", "0.54975045", "0.5490311", "0.54831505", "0.5475449", "0.5475449", "0.5475449", "0.5475449", "0.54687035", "0.54453146", "0.53983974", "0.5394236", "0.5392382", "0.53885335", "0.53885335", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.53865236", "0.5368535", "0.5365395", "0.5356758", "0.5356715", "0.5356533", "0.53496534", "0.5348419", "0.53483033", "0.5346381" ]
0.6472285
6
.DownloadRequest downloadRequest = 12;
@java.lang.Override public boolean hasDownloadRequest() { return downloadRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.DownloadRequest getDownloadRequest();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "boolean hasDownloadRequest();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7072586", "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6346663", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.59924924", "0.5991619", "0.59850454", "0.5981307", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5903274", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.5360622
93
.DownloadRequest downloadRequest = 12;
@java.lang.Override public entities.Torrent.DownloadRequest getDownloadRequest() { return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.DownloadRequest getDownloadRequest();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@java.lang.Override\n public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n return getDownloadRequest();\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "boolean hasDownloadRequest();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "@java.lang.Override\n public boolean hasDownloadRequest() {\n return downloadRequest_ != null;\n }", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7072586", "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6346663", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.59924924", "0.5991619", "0.59850454", "0.5981307", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.5360622", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.5903274
33
.DownloadRequest downloadRequest = 12;
@java.lang.Override public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() { return getDownloadRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.DownloadRequest getDownloadRequest();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "public void download() {\n }", "void mo54418a(DownloadTask downloadTask);", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "void mo54417a(DownloadChunk downloadChunk);", "private void sendNotification(Download download) {\n }", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "private void sendIntent(Download download) {\n }", "File downloadExtension(DownloadExtensionRequest request);", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public void downloadStarted();", "public void onDownloadProgress(int current, int total);", "boolean mo54433c(DownloadInfo downloadInfo);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public Builder setDownloadRequest(entities.Torrent.DownloadRequest value) {\n if (downloadRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadRequest_ = value;\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "boolean hasDownloadRequest();", "DownloadInfo mo54444i(int i);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "@java.lang.Override\n public entities.Torrent.DownloadRequest getDownloadRequest() {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }", "public void onDownloadSuccess(String fileInfo);", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "public int getDownloadBandwidth();", "public entities.Torrent.DownloadRequest getDownloadRequest() {\n if (downloadRequestBuilder_ == null) {\n return downloadRequest_ == null ? entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n } else {\n return downloadRequestBuilder_.getMessage();\n }\n }", "public void downloadDay(){\n\n}", "List<Transfer> requestDownloads(Leecher leecher);", "public void downloadCompleted(File f);", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "public void setDownloadBandwidth(int bw);", "interface BaseDownload extends BaseDownloadableColumns {\n /**\n * The requester of download.\n * <P>Type: TEXT</P>\n */\n static final String REQUESTER = \"REQUESTER\";\n\n /**\n * The save path of local downloadable.\n * <P>Type: TEXT</P>\n */\n static final String SAVE_PATH = \"save_path\";\n\n /**\n * The file length of downloadable.\n * <P>Type: INTEGER</P>\n */\n static final String FILE_LENGTH = \"file_length\";\n }", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload() {\n Uri uri = Uri.parse( data.getStringExtra(PARAM_URL) );\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request( uri );\n request.setAllowedNetworkTypes( DownloadManager.Request.NETWORK_MOBILE | DownloadManager.Request.NETWORK_WIFI)\n //移动网络情况下是否允许漫游。\n .setAllowedOverRoaming(false)\n .setTitle(\"更新\") // 用于信息查看\n .setDescription(\"下载apk\"); // 用于信息查看\n //利用此属性下载后使用响应程序打开下载文件\n //request.setMimeType(\"application/vnd.android.package-archive\");\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, new Date().getTime()+\".apatch\");\n enqueue = dm.enqueue(request);\n }", "public entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder() {\n if (downloadRequestBuilder_ != null) {\n return downloadRequestBuilder_.getMessageOrBuilder();\n } else {\n return downloadRequest_ == null ?\n entities.Torrent.DownloadRequest.getDefaultInstance() : downloadRequest_;\n }\n }", "void mo54425b(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "public interface DownloadProgressListener\n{\n /**\n * 下载进度监听方法,获取和处理下载点数据的大小\n * @param size\n */\n public void onDownloadSize(int size);\n\n}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "private DownloadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public String getDownloadUrl() {\n return downloadUrl;\n }", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "public interface DownloadListener {\n void onDownloadStart(DownloadTask task);\n\n void onDownloadProgress(DownloadTask task);\n\n void onDownloadSuccess(DownloadTask task);\n\n void onDownloadFail(DownloadTask task);\n\n void onDownloadDeleted(DownloadTask task);\n\n void onDownloadPaused(DownloadTask task);\n\n void onDownloadResumed(DownloadTask task);\n}", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public interface DownloadListener {\n void onStart(String url,String savePath);\n void onProgress(String url, String savePath,long progress,long max);\n void onComplete(String url,String savePath);\n void onCancel(String url,String savePath);\n void onFail(String url,String savePath);\n\n // boolean isCanceled(String url,String savePath);\n String generalFileName(String url);\n long getMax(String url,String savePath);\n long getAvailable(String url,String savePath);\n}", "public Map<String, String> runDownloadRequest(DvnRJobRequest sro, RConnection c){\n \n String optionBanner = \"########### downloading option ###########\\n\";\n dbgLog.fine(optionBanner);\n historyEntry.add(optionBanner);\n \n Map<String, String> sr = new HashMap<String, String>();\n sr.put(\"requestdir\", requestdir);\n sr.put(\"option\", \"download\");\n \n String RcodeFile = \"Rcode.\" + PID + \".R\";\n \n try {\n // create a temp dir\n String createTmpDir = \"dir.create('\"+wrkdir +\"')\";\n dbgLog.fine(\"createTmpDir=\"+createTmpDir);\n historyEntry.add(createTmpDir);\n c.voidEval(createTmpDir);\n \n \n String dwnldOpt = sro.getDownloadRequestParameter();\n String dwnldFlxt = dwlndParam.get(dwnldOpt);\n \n sr.put(\"format\", dwnldFlxt); \n \n String dataFileName = \"Data.\" + PID + \".\" + dwnldFlxt;\n \n sr.put(\"subsetfile\", \"/\"+requestdir+ \"/\" +dataFileName);\n \n // data file to be copied back to the dvn\n String dsnprfx = wrkdir + \"/\" + dataFileName;\n \n String univarDataDwnld = \"univarDataDwnld(dtfrm=x,\"+\n \"dwnldoptn='\"+dwnldOpt+\"'\"+\n \", dsnprfx='\"+dsnprfx+\"')\";\n \n dbgLog.fine(\"univarDataDwnld=\"+univarDataDwnld);\n historyEntry.add(univarDataDwnld);\n c.voidEval(univarDataDwnld);\n \n int wbFileSize = getFileSize(c,dsnprfx);\n \n dbgLog.fine(\"wbFileSize=\"+wbFileSize);\n \n // write back the data file to the dvn\n \n String dtflprefix = \"tmpDataFile\";\n \n File dtfl = writeBackFileToDvn(c, dsnprfx, dtflprefix, dwlndParam.get(dwnldOpt), wbFileSize);\n if (dtfl != null){\n sr.put(\"wbDataFileName\", dtfl.getAbsolutePath());\n dbgLog.fine(\"wbDataFileName=\"+dtfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wbDataFileName is null\");\n }\n \n // save workspace\n String objList = \"objList<-ls()\";\n dbgLog.fine(\"objList=\"+objList);\n c.voidEval(objList);\n \n String RdataFileName = \"Rworkspace.\"+PID+\".RData\";\n \n sr.put(\"Rdata\", \"/\"+requestdir+ \"/\" + RdataFileName);\n \n String saveWS = \"save(list=objList, file='\"+wrkdir +\"/\"+ RdataFileName +\"')\";\n dbgLog.fine(\"save the workspace=\"+saveWS);\n c.voidEval(saveWS);\n \n // write back the R workspace to the dvn \n \n String wrkspFileName = wrkdir +\"/\"+ RdataFileName;\n dbgLog.fine(\"wrkspFileName=\"+wrkspFileName);\n \n int wrkspflSize = getFileSize(c,wrkspFileName);\n \n File wsfl = writeBackFileToDvn(c, wrkspFileName, RWRKSP_FILE_PREFIX ,\"RData\", wrkspflSize);\n \n if (wsfl != null){\n sr.put(\"wrkspFileName\", wsfl.getAbsolutePath());\n dbgLog.fine(\"wrkspFileName=\"+wsfl.getAbsolutePath());\n } else {\n dbgLog.fine(\"wrkspFileName is null\");\n }\n \n // command history\n String[] ch = (String[])historyEntry.toArray(new String[historyEntry.size()]);\n c.assign(\"ch\", new REXPString(ch));\n String saveRcodeFile = \"cat(file='\"+ wrkdir +\"/\"+ RcodeFile +\"',paste(ch,collapse='\\n'))\";\n dbgLog.fine(saveRcodeFile);\n c.voidEval(saveRcodeFile);\n \n \n // tab data file\n String mvTmpTabFile = \"file.rename('\"+ tempFileName +\"','\"+ tempFileNameNew +\"')\";\n c.voidEval(mvTmpTabFile);\n dbgLog.fine(\"move temp file=\"+mvTmpTabFile);\n \n // move the temp dir to the web-temp root dir\n String mvTmpDir = \"file.rename('\"+wrkdir+\"','\"+webwrkdir+\"')\";\n dbgLog.fine(\"web-temp_dir=\"+mvTmpDir);\n c.voidEval(mvTmpDir);\n \n } catch (RserveException rse) {\n rse.printStackTrace();\n sr.put(\"RexecError\", \"true\");\n return sr;\n }\n \n sr.put(\"RexecError\", \"false\");\n return sr;\n }", "@Override public String Async_key() {return Key_wiki_download;}", "void mo54411a(int i, int i2, IDownloadListener iDownloadListener, ListenerType listenerType, boolean z);", "public interface DownloadListener\n{\n void onCancel(boolean isAuto);\n\n void onFailStart(boolean isAuto);\n\n void onFailed(boolean isAuto);\n\n void onProgress(int paramInt,boolean isAuto);\n\n void onStart(boolean isAuto);\n\n void onSuccess(boolean isAuto);\n\n void onWait(boolean isAuto);\n}", "public interface IPresenterDownload {\n void findDownloadMessage();\n void sendDownLoadMessage(DownloadDoc doc);\n}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public VersionDownload() {\n }", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "void download(SearchResult result, String downloadPath);", "public int getDownloadPtime();", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public Builder setDownloadRequest(\n entities.Torrent.DownloadRequest.Builder builderForValue) {\n if (downloadRequestBuilder_ == null) {\n downloadRequest_ = builderForValue.build();\n onChanged();\n } else {\n downloadRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "private void setCurrentDownload(RqDownload dl)\n {\n download = dl;\n File f = attachRqChannel.responder.fetchFileById(dl.getId());\n try {\n fileSplitter = new FileSplitter(f, download);\n data = fileSplitter.getData();\n bbw.put(data.buildDatas());\n } catch (IOException e) {\n e.printStackTrace(System.err);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n else if (id==R.id.share)\n {\n Toast.makeText(getApplicationContext(),\"Please Wait\",Toast.LENGTH_SHORT).show();\n dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(urlstring)).setDestinationInExternalPublicDir(\"/Society365\", legdername+\" - \"+timeperiod2+\".pdf\");\n\n request.setDescription(urlstring); //appears the same in Notification bar while downloading\n\n enqueue = dm.enqueue(request);\n }\n\n\n return super.onOptionsItemSelected(item);\n }", "public interface Downloader {\n void download(String fileLink);\n\n}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "public boolean getSupportsDownloads() \n {\n return true; \n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "private void startDownloadActivity() {\n checking();\n numDownloading = 0;\n updateMax = 0;\n updateProgress = 0;\n readPref();\n writePref();\n update();\n }", "void downloadingFile(String path);", "private DownloadRequestState(\r\n String name )\r\n {\r\n super( name );\r\n }", "public void downloadFile(final Context context, final String fileKey, String pageFileKey, String fileType, final DownloadListener downloadListener) {\n\n final String pathName = Config.getPathName(context) + fileType + getFIleNameFromFileKEy(fileKey);\n final String pagePathName = Config.getPathName(context) + PAGES_FILE + getFIleNameFromFileKEy(pageFileKey);\n\n final long totalBytes = 0;\n TransferObserver downloadObserver = transferUtility.download(\n Config.BUCKET_NAME,\n fileKey,\n new File(pathName));\n\n\n // Attach a listener to the observer to get state update and progress notifications\n downloadObserver.setTransferListener(new TransferListener() {\n\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (TransferState.COMPLETED == state) {\n\n downloadListener.onDownloadFinish(id, state.name(), pathName, pagePathName);\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent,long bytesTotal) {\n\n\n if (bytesTotal == 0){\n\n bitesCorrent = bytesCurrent;\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n\n URL url = null;\n try {\n url = new URL(S3_JABRUTOUCH + fileKey);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n URLConnection conection = null;\n try {\n conection = url.openConnection();\n } catch (IOException e) {\n e.printStackTrace();\n }\n // getting file length\n int lengthOfFile = conection.getContentLength();\n\n float percentDonef = ((float) bitesCorrent / (float) lengthOfFile) * 100;\n final int percentDone = (int) percentDonef;\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n downloadListener.onProgressChanged(percentDone);\n }\n });\n }\n });\n thread.start();\n\n }else {\n\n\n float percentDonef = ((float) bytesCurrent / (float) bytesTotal) * 100;\n int percentDone = (int) percentDonef;\n\n downloadListener.onProgressChanged(percentDone);\n }\n\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n\n Toast.makeText(context, \"Error downloading file \" + fileKey, Toast.LENGTH_LONG).show();\n downloadListener.onDownloadError();\n\n }\n\n });\n\n // If you prefer to poll for the data, instead of attaching a\n // listener, check for the state and progress in the observer.\n if (TransferState.COMPLETED == downloadObserver.getState()) {\n // Handle a completed upload.\n\n\n }\n\n\n }", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "public Blob downloadFile(String inKey, String inFileName);", "@java.lang.Override\n public boolean hasDownloadRequest() {\n return downloadRequest_ != null;\n }", "public SWDownloadSegment getDownloadSegment()\r\n {\r\n return downloadSegment;\r\n }", "public interface FileDownloadListener {\n\n\t/**\n\t * Listener for the progress of downloadFile\n\t * @param current current file data offset\n\t * @param total total length of file data\n\t */\n\tpublic void onDownloadProgress(int current, int total);\n\t\n\tpublic boolean cancelDownload();\n}", "public interface FilePartAction {\n DownloadInfo[] partTask(DownloadFile dFile, int length);\n}", "public void setDownloadTime(long downloadTime) {\n\t\tthis.downloadTime = downloadTime;\n\t}", "public interface FilePostDownloadHandler {\n void onPostDownload();\n}", "void downloadCompleted(String blobId);", "@Override\n\t\t\t\t\t\tpublic void onProgress(String url, int downloadedSize, int totalSize) {\n\n\t\t\t\t\t\t}" ]
[ "0.7072586", "0.7034332", "0.6955357", "0.68687266", "0.6865342", "0.6807722", "0.6679258", "0.65559274", "0.6555713", "0.649137", "0.6465656", "0.63899016", "0.6346663", "0.6208843", "0.6191679", "0.6164553", "0.610612", "0.6103972", "0.6096092", "0.60692334", "0.60623443", "0.60524917", "0.60514474", "0.602", "0.5996307", "0.5991619", "0.59850454", "0.5981307", "0.59727603", "0.5953229", "0.59090996", "0.5908798", "0.5903274", "0.5859237", "0.58522505", "0.5848056", "0.5837018", "0.58291614", "0.5798698", "0.57951874", "0.5790708", "0.5786875", "0.57862824", "0.5764911", "0.57585794", "0.57488203", "0.57470125", "0.5722064", "0.5701854", "0.56955826", "0.56947863", "0.56936085", "0.568242", "0.56790674", "0.567415", "0.5667893", "0.5635663", "0.56341654", "0.56332034", "0.5625079", "0.5619608", "0.5611289", "0.5601117", "0.55906624", "0.55602425", "0.55568117", "0.5533519", "0.5527651", "0.5521315", "0.5513845", "0.54944456", "0.5488187", "0.54832", "0.5478065", "0.54662174", "0.5465866", "0.54648095", "0.54615283", "0.5458625", "0.54563874", "0.54399145", "0.5435212", "0.54284847", "0.54263633", "0.5420903", "0.5409294", "0.540146", "0.53903306", "0.5390061", "0.53820515", "0.53769845", "0.5361831", "0.5360622", "0.53577226", "0.5356656", "0.5354797", "0.53537756", "0.53519136", "0.5347555", "0.53472996" ]
0.59924924
25
.DownloadResponse downloadResponse = 13;
@java.lang.Override public boolean hasDownloadResponse() { return downloadResponse_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "boolean hasDownloadResponse();", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6789641", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6286553", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.6071757", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5959001", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57466197", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.54370564
80
.DownloadResponse downloadResponse = 13;
@java.lang.Override public entities.Torrent.DownloadResponse getDownloadResponse() { return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "boolean hasDownloadResponse();", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "@java.lang.Override\n public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n return getDownloadResponse();\n }", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@java.lang.Override\n public boolean hasDownloadResponse() {\n return downloadResponse_ != null;\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6789641", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6286553", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.6071757", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5959001", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54370564", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.57466197
39
.DownloadResponse downloadResponse = 13;
@java.lang.Override public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() { return getDownloadResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void download() {\n }", "entities.Torrent.DownloadResponse getDownloadResponse();", "void mo54427b(DownloadInfo downloadInfo);", "void mo54428b(DownloadTask downloadTask);", "void onDownloadComplete(EzDownloadRequest downloadRequest);", "@Override\r\n\tpublic void download() {\n\t\t\r\n\t}", "void mo54417a(DownloadChunk downloadChunk);", "void mo54418a(DownloadTask downloadTask);", "entities.Torrent.DownloadRequest getDownloadRequest();", "@Override public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\njava.lang.CharSequence _result;\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeString(appId);\n_data.writeString(url);\n_data.writeLong(duration);\n_data.writeString(folder);\nmRemote.transact(Stub.TRANSACTION_download, _data, _reply, 0);\n_reply.readException();\nif ((0!=_reply.readInt())) {\n_result = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(_reply);\n}\nelse {\n_result = null;\n}\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\nreturn _result;\n}", "public void onDownloadSuccess(String fileInfo);", "entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder();", "private void onReceivedResponseData(org.apache.http.HttpResponse r14, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo r15) {\n /*\n r13 = this;\n r2 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r6 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n r7 = 0;\n r12 = 0;\n r0 = r14.getEntity();\n r1 = r13.verifyTotalLen(r14, r0);\n if (r1 != 0) goto L_0x0022;\n L_0x0010:\n r0 = \"_DownloadTask\";\n r1 = \"verifyTotalLen false\";\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\n r1 = \"totalLen is not match the requestSize\";\n r0.<init>(r2, r1);\n throw r0;\n L_0x0022:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r4 = 0;\n r1 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r1 != 0) goto L_0x015c;\n L_0x002e:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n r2 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r1 != r2) goto L_0x00f9;\n L_0x003a:\n r1 = r13.mDownloadInfo;\n r2 = r0.getContentLength();\n r1.setTotalSize(r2);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 200, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n L_0x005f:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"first start downloadinfoTotalSize = \";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n if (r1 == 0) goto L_0x00a0;\n L_0x0084:\n r1 = r1.getValue();\n r1 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r1);\n r2 = r1.getStart();\n r15.responseRangePosition = r2;\n r2 = r1.getEnd();\n r4 = r1.getStart();\n r2 = r2 - r4;\n r4 = 1;\n r2 = r2 + r4;\n r15.responseRangeLength = r2;\n L_0x00a0:\n r1 = r13.mDownloadInfo;\n r2 = r1.getTotalSize();\n r15.responseContentLength = r2;\n L_0x00a8:\n r1 = r13.mSaveFile;\n if (r1 != 0) goto L_0x00bb;\n L_0x00ac:\n r1 = new com.tencent.tmassistantsdk.storage.TMAssistantFile;\n r2 = r13.mDownloadInfo;\n r2 = r2.mTempFileName;\n r3 = r13.mDownloadInfo;\n r3 = r3.mFileName;\n r1.<init>(r2, r3);\n r13.mSaveFile = r1;\n L_0x00bb:\n r2 = 0;\n r10 = r0.getContent();\t Catch:{ SocketException -> 0x0406 }\n r0 = \"_DownloadTask\";\n r1 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x0406 }\n r4 = \"start write file, fileName: \";\n r1.<init>(r4);\t Catch:{ SocketException -> 0x0406 }\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x0406 }\n r4 = r4.mFileName;\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.append(r4);\t Catch:{ SocketException -> 0x0406 }\n r1 = r1.toString();\t Catch:{ SocketException -> 0x0406 }\n com.tencent.tmassistantsdk.util.TMLog.i(r0, r1);\t Catch:{ SocketException -> 0x0406 }\n r8 = r2;\n L_0x00dc:\n r0 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r10.read(r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r3 <= 0) goto L_0x00eb;\n L_0x00e4:\n r0 = r13.mStopTask;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0262;\n L_0x00e8:\n r10.close();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x00eb:\n r0 = r13.mSaveFile;\n if (r0 == 0) goto L_0x00f6;\n L_0x00ef:\n r0 = r13.mSaveFile;\n r0.close();\n r13.mSaveFile = r12;\n L_0x00f6:\n r15.receiveDataSize = r8;\n return;\n L_0x00f9:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x0135;\n L_0x0103:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\n r2 = r13.mDownloadInfo;\n r1 = r1.getValue();\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r1);\n r2.setTotalSize(r4);\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"HTTPCode 206, totalBytes:\";\n r2.<init>(r3);\n r3 = r13.mDownloadInfo;\n r4 = r3.getTotalSize();\n r2 = r2.append(r4);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.i(r1, r2);\n goto L_0x005f;\n L_0x0135:\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\n r3 = \"statusCode=\";\n r2.<init>(r3);\n r3 = r14.getStatusLine();\n r3 = r3.getStatusCode();\n r2 = r2.append(r3);\n r3 = \" onReceivedResponseData error.\";\n r2 = r2.append(r3);\n r2 = r2.toString();\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\n goto L_0x005f;\n L_0x015c:\n r1 = r14.getStatusLine();\n r1 = r1.getStatusCode();\n if (r1 != r6) goto L_0x00a8;\n L_0x0166:\n r1 = \"content-range\";\n r1 = r14.getFirstHeader(r1);\t Catch:{ Throwable -> 0x0214 }\n r2 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r2 = com.tencent.tmassistantsdk.downloadservice.ByteRange.parseContentRange(r2);\t Catch:{ Throwable -> 0x0214 }\n r3 = r1.getValue();\t Catch:{ Throwable -> 0x0214 }\n r4 = com.tencent.tmassistantsdk.downloadservice.ByteRange.getTotalSize(r3);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r15.responseRangePosition = r8;\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r10 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r8 = r8 - r10;\n r10 = 1;\n r8 = r8 + r10;\n r15.responseRangeLength = r8;\t Catch:{ Throwable -> 0x0214 }\n r15.responseContentLength = r4;\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"totalSize = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r4);\t Catch:{ Throwable -> 0x0214 }\n r8 = \" downloadinfoTotalSize = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.w(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"mReceivedBytes = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r8.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r3 = \"_DownloadTask\";\n r6 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r8 = \"start = \";\n r6.<init>(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = \", end = \";\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r8 = r2.getEnd();\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.append(r8);\t Catch:{ Throwable -> 0x0214 }\n r6 = r6.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.i(r3, r6);\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getStart();\t Catch:{ Throwable -> 0x0214 }\n r6 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r8 = r6.mReceivedBytes;\t Catch:{ Throwable -> 0x0214 }\n r2 = (r2 > r8 ? 1 : (r2 == r8 ? 0 : -1));\n if (r2 == 0) goto L_0x022a;\n L_0x0209:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 706; // 0x2c2 float:9.9E-43 double:3.49E-321;\n r2 = \"The received size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x0214:\n r0 = move-exception;\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x021d }\n r2 = 704; // 0x2c0 float:9.87E-43 double:3.48E-321;\n r1.<init>(r2, r0);\t Catch:{ all -> 0x021d }\n throw r1;\t Catch:{ all -> 0x021d }\n L_0x021d:\n r0 = move-exception;\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0229;\n L_0x0222:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0229:\n throw r0;\n L_0x022a:\n r2 = r13.mDownloadInfo;\t Catch:{ Throwable -> 0x0214 }\n r2 = r2.getTotalSize();\t Catch:{ Throwable -> 0x0214 }\n r2 = (r4 > r2 ? 1 : (r4 == r2 ? 0 : -1));\n if (r2 == 0) goto L_0x023f;\n L_0x0234:\n r0 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ Throwable -> 0x0214 }\n r1 = 705; // 0x2c1 float:9.88E-43 double:3.483E-321;\n r2 = \"The total size is not equal with ByteRange.\";\n r0.<init>(r1, r2);\t Catch:{ Throwable -> 0x0214 }\n throw r0;\t Catch:{ Throwable -> 0x0214 }\n L_0x023f:\n r2 = \"_DownloadTask\";\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0214 }\n r4 = \"response ByteRange: \";\n r3.<init>(r4);\t Catch:{ Throwable -> 0x0214 }\n r1 = r3.append(r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r1.toString();\t Catch:{ Throwable -> 0x0214 }\n com.tencent.tmassistantsdk.util.TMLog.d(r2, r1);\t Catch:{ Throwable -> 0x0214 }\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x00a8;\n L_0x0259:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n goto L_0x00a8;\n L_0x0262:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0 + r4;\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x03be;\n L_0x0272:\n r2 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r2.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1));\n if (r0 != 0) goto L_0x0315;\n L_0x027c:\n r6 = 1;\n L_0x027d:\n r0 = r13.mSaveFile;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mRecvBuf;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 0;\n r4 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r4.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.write(r1, r2, r3, r4, r6);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 != 0) goto L_0x03b4;\n L_0x028c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.getSavePathRootDir();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = com.tencent.tmassistantsdk.downloadservice.DownloadHelper.isSpaceEnough(r0, r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0367;\n L_0x029c:\n r0 = com.tencent.tmassistantsdk.storage.TMAssistantFile.isSDCardExistAndCanWrite();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n if (r0 == 0) goto L_0x0318;\n L_0x02a2:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x02ef:\n r0 = move-exception;\n r2 = r8;\n L_0x02f1:\n r1 = \"_DownloadTask\";\n r4 = \"\";\n r5 = 0;\n r5 = new java.lang.Object[r5];\t Catch:{ all -> 0x0305 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r1, r0, r4, r5);\t Catch:{ all -> 0x0305 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ all -> 0x0305 }\n r4 = 605; // 0x25d float:8.48E-43 double:2.99E-321;\n r1.<init>(r4, r0);\t Catch:{ all -> 0x0305 }\n throw r1;\t Catch:{ all -> 0x0305 }\n L_0x0305:\n r0 = move-exception;\n r8 = r2;\n L_0x0307:\n r1 = r13.mSaveFile;\n if (r1 == 0) goto L_0x0312;\n L_0x030b:\n r1 = r13.mSaveFile;\n r1.close();\n r13.mSaveFile = r12;\n L_0x0312:\n r15.receiveDataSize = r8;\n throw r0;\n L_0x0315:\n r6 = r7;\n goto L_0x027d;\n L_0x0318:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no sdCard! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 711; // 0x2c7 float:9.96E-43 double:3.513E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0365:\n r0 = move-exception;\n goto L_0x0307;\n L_0x0367:\n r0 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"write file failed, no enough space! fileName: \";\n r0.<init>(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r1.mFileName;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" receivedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r1.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" readedSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \" totalSize: \";\n r0 = r0.append(r1);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r1.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.append(r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = r0.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = \"_DownloadTask\";\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 710; // 0x2c6 float:9.95E-43 double:3.51E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x03b4:\n r0 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0.updateReceivedSize(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r0 = (long) r3;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r8 = r8 + r0;\n goto L_0x00dc;\n L_0x03be:\n r0 = \"write file size too long.\";\n r1 = \"_DownloadTask\";\n r2 = new java.lang.StringBuilder;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = \"write file size too long.\\r\\nreadedLen: \";\n r2.<init>(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nreceivedSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.mReceivedBytes;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\ntotalSize: \";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = r13.mDownloadInfo;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r4 = r3.getTotalSize();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.append(r4);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r3 = \"\\r\\nisTheEndData: false\";\n r2 = r2.append(r3);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = r2.toString();\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n com.tencent.tmassistantsdk.util.TMLog.w(r1, r2);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r1 = new com.tencent.tmassistantsdk.downloadservice.StopRequestException;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n r2 = 703; // 0x2bf float:9.85E-43 double:3.473E-321;\n r1.<init>(r2, r0);\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n throw r1;\t Catch:{ SocketException -> 0x02ef, all -> 0x0365 }\n L_0x0406:\n r0 = move-exception;\n goto L_0x02f1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.tmassistantsdk.downloadservice.DownloadTask.onReceivedResponseData(org.apache.http.HttpResponse, com.tencent.tmassistantsdk.protocol.jce.DownloadChunkLogInfo):void\");\n }", "@Test\n public void downloadTest() throws ApiException {\n Integer devid = null;\n String path = null;\n File response = api.download(devid, path);\n\n // TODO: test validations\n }", "MovilizerRequest prepareDownloadRequest(Long systemId, String password, Integer numResponses,\n MovilizerRequest request);", "public void downloadCompleted(File f);", "File downloadExtension(DownloadExtensionRequest request);", "boolean hasDownloadResponse();", "void onDownloadFailed(EzDownloadRequest downloadRequest, int errorCode, String errorMessage);", "@Override\n @RequestMapping(\"download.feep\")\n public void download(HttpServletRequest request, HttpServletResponse response) throws FeepControllerException {\n\n }", "@GET(\"/resource/example.zip\")\n Call<ResponseBody> downloadFileWithFixedUrl();", "void download(SearchResult result, String downloadPath);", "boolean mo54433c(DownloadInfo downloadInfo);", "boolean mo54421a(DownloadInfo downloadInfo);", "public void downloadStarted();", "private synchronized void executeDownload(DownloadRequest request, String downloadUrl) {\n HttpURLConnection conn = null;\n URL url;\n InputStream inputStream = null;\n RandomAccessFile randomAccessFile;\n\n try {\n url = new URL(downloadUrl);\n long localFileLength = FileUtils.getLocalFileSize(getFullFileName());\n long remoteFileLength = fileTotalSize;\n\n // 远程文件不存在\n if (remoteFileLength == -1l) {\n // Log.log(\"下载文件不存在...\");\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Remote file not found\");\n return;\n }\n\n request.setFileFullName(getFullFileName());\n randomAccessFile = new RandomAccessFile(getFullFileName(), \"rwd\");\n\n\n conn = (HttpURLConnection) url.openConnection();\n conn.setInstanceFollowRedirects(false);\n conn.setConnectTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setReadTimeout(request.getRetryPolicy().getCurrentTimeout());\n conn.setRequestMethod(\"GET\");\n\n // 本地文件存在\n randomAccessFile.seek(localFileLength);\n conn.setRequestProperty(\"Range\", \"bytes=\"\n + localFileLength + \"-\" + remoteFileLength);\n\n inputStream = conn.getInputStream();\n\n\n HashMap<String, String> customHeaders = request.getCustomHeaders();\n if (customHeaders != null) {\n for (String headerName : customHeaders.keySet()) {\n conn.addRequestProperty(headerName, customHeaders.get(headerName));\n }\n }\n\n // Status Connecting is set here before\n // urlConnection is trying to connect to destination.\n updateDownloadState(request, DownloadManager.STATUS_CONNECTING);\n\n final int responseCode = conn.getResponseCode();\n\n DownLoadLog.v(\"Response code obtained for downloaded Id \"\n + request.getDownloadId()\n + \" : httpResponse Code \"\n + responseCode);\n\n switch (responseCode) {\n case HTTP_PARTIAL:\n case HTTP_OK:\n shouldAllowRedirects = false;\n if (fileTotalSize > 1) {\n transferData(request, inputStream, randomAccessFile);\n } else {\n updateDownloadFailed(request, DownloadManager.ERROR_DOWNLOAD_SIZE_UNKNOWN, \"Transfer-Encoding not found as well as can't know size of download, giving up\");\n }\n break;\n case HTTP_MOVED_PERM:\n case HTTP_MOVED_TEMP:\n case HTTP_SEE_OTHER:\n case HTTP_TEMP_REDIRECT:\n // Take redirect url and call executeDownload recursively until\n // MAX_REDIRECT is reached.\n while (mRedirectionCount < MAX_REDIRECTS && shouldAllowRedirects) {\n mRedirectionCount++;\n DownLoadLog.v(TAG, \"Redirect for downloaded Id \" + request.getDownloadId());\n final String location = conn.getHeaderField(\"Location\");\n executeDownload(request, location);\n }\n\n if (mRedirectionCount > MAX_REDIRECTS && shouldAllowRedirects) {\n updateDownloadFailed(request, DownloadManager.ERROR_TOO_MANY_REDIRECTS, \"Too many redirects, giving up\");\n return;\n }\n break;\n case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:\n updateDownloadFailed(request, HTTP_REQUESTED_RANGE_NOT_SATISFIABLE, conn.getResponseMessage());\n break;\n case HTTP_UNAVAILABLE:\n updateDownloadFailed(request, HTTP_UNAVAILABLE, conn.getResponseMessage());\n break;\n case HTTP_INTERNAL_ERROR:\n updateDownloadFailed(request, HTTP_INTERNAL_ERROR, conn.getResponseMessage());\n break;\n default:\n updateDownloadFailed(request, DownloadManager.ERROR_UNHANDLED_HTTP_CODE, \"Unhandled HTTP response:\" + responseCode + \" message:\" + conn.getResponseMessage());\n break;\n }\n } catch (SocketTimeoutException e) {\n e.printStackTrace();\n // Retry.\n attemptRetryOnTimeOutException(request);\n } catch (ConnectTimeoutException e) {\n e.printStackTrace();\n attemptRetryOnTimeOutException(request);\n } catch (IOException e) {\n e.printStackTrace();\n updateDownloadFailed(request, DownloadManager.ERROR_HTTP_DATA_ERROR, \"IOException \" + e.getMessage());\n } finally {\n if (conn != null) {\n conn.disconnect();\n }\n }\n }", "public void onDownloadProgress(int current, int total);", "private void sendNotification(Download download) {\n }", "void mo45684a(DownloadInfo cVar, BaseException aVar, int i) throws RemoteException;", "@Override\n public boolean isDownloadable() {\n return true;\n }", "public Builder setDownloadResponse(entities.Torrent.DownloadResponse value) {\n if (downloadResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n downloadResponse_ = value;\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(value);\n }\n\n return this;\n }", "void downloadCompleted(String blobId);", "void onProgress(EzDownloadRequest downloadRequest, long totalBytes, long downloadedBytes, int progress);", "@SuppressLint(\"NewApi\")\r\n\tprivate void downloadFile() {\n\t\tLog.d(TAG, \"In fuction downloadFile()\");\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"dd-MM-yy\");\r\n \tCalendar cal = Calendar.getInstance();\r\n \tString programmaNameUnderscore = mName.replace(\" \", \"_\");\r\n \tprogrammaNameUnderscore = programmaNameUnderscore.replace(\",\",\"\");\r\n \tString fileName = programmaNameUnderscore + \"_\" + dateFormat.format(cal.getTime())+\".mp3\";\r\n \t\r\n \t\r\n\t\tRequest request = new Request(Uri.parse(mDownloadUrl));\r\n\t\trequest.setDescription(mName);\r\n \t// in order for this if to run, you must use the android 3.2 to compile your app\r\n \tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {\r\n \t request.allowScanningByMediaScanner();\r\n \t request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\r\n \t}\r\n \trequest.setDestinationInExternalPublicDir(Environment.DIRECTORY_MUSIC, getString(R.string.download_subdir_test) + File.separator + fileName);\r\n\t}", "@Override\n public void Download(DownloadBatchResult getBatchRes) {\n }", "private void startDownload(){\n final DownloadCurrent downloadCurrent = new DownloadCurrent(this);\n downloadCurrent.execute(UpdateTalesData.sData_HTTP);\n sProgDialDownload.setOnCancelListener(new DialogInterface.OnCancelListener() {\n @Override\n public void onCancel(DialogInterface dialog) {\n downloadCurrent.cancel(true);\n }\n });\n\n }", "default void download(SearchResult result) {\n download(result, \".\");\n }", "public String getDownloadUrl() {\n return downloadUrl;\n }", "@java.lang.Override\n public entities.Torrent.DownloadResponse getDownloadResponse() {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }", "protected synchronized void downloaded(int value) {\r\n\t\tdDownloaded += value;\r\n\t\tstateChanged();\r\n\t}", "public CompletionStage<Result> download()\n {\n IRequestValidator requestValidator=new CertDownloadRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_DOWNLOAD);\n }", "public void reviewFileDownload(HttpServletRequest request, HttpServletResponse response, int reviewNum, int idx) throws Exception;", "public void download(HttpServletResponse response) throws IOException {\n\t\tString f;\n\t\tif (this.filename != null) {\n\t\t\tFile file = new File(this.filepath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tthrow new IOException(\"file does not exit:\" + filename);\n\t\t\t} else {\n\t\t\t\tf = toUtf8String(filename);\n\t\t\t\tresponse.setContentType(\"application/x-msdownload\");\n\t\t\t\tresponse.setContentLength((int) file.length());\n\t\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment;\"\n\t\t\t\t\t\t+ \" filename=\" + f);\n\t\t\t\twrite(response.getOutputStream());\n\t\t\t}\n\t\t}\n\t}", "boolean hasDownloadRequest();", "void fileDownloaded(String path);", "public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimeType,\n long contentLength) {\n\n DownloadManager.Request request = new DownloadManager.Request(\n Uri.parse(url));\n request.setMimeType(mimeType);\n String cookies = CookieManager.getInstance().getCookie(url);\n request.addRequestHeader(\"cookie\", cookies);\n request.addRequestHeader(\"User-Agent\", userAgent);\n request.setDescription(\"Downloading File...\");\n request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));\n request.allowScanningByMediaScanner();\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n request.setDestinationInExternalPublicDir(\n \"/MyUniversity\", URLUtil.guessFileName(\n url, contentDisposition, mimeType));\n DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);\n dm.enqueue(request);\n Toast.makeText(getApplicationContext(), \"Downloading File\", Toast.LENGTH_LONG).show();\n\n\n }", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));\n //cookie\n String cookie= CookieManager.getInstance().getCookie(url);\n //Add cookie and User-Agent to request\n request.addRequestHeader(\"Cookie\",cookie);\n request.addRequestHeader(\"User-Agent\",userAgent);\n\n //file scanned by MediaScannar\n request.allowScanningByMediaScanner();\n //Download is visible and its progress, after completion too.\n request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);\n //DownloadManager created\n DownloadManager downloadManager= (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n //Saving file in Download folder\n request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, filename);\n //download enqued\n downloadManager.enqueue(request);\n }", "public java.lang.CharSequence download(java.lang.String appId, java.lang.String url, long duration, java.lang.String folder) throws android.os.RemoteException;", "@Override\r\n protected void onPostExecute(String file_url) {\r\n System.out.println(\"Downloaded\");\r\n }", "public int getResponse() {return response;}", "public Long getDownloadid() {\r\n\t\treturn downloadid;\r\n\t}", "private int DownloadFile(URL url) {\n try {\n //---simulate taking some time to download a file---\n thread.sleep(5000);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return 100;\n }", "private void sendIntent(Download download) {\n }", "public Type getDownloadType() {\n return this.mDownloadType;\n }", "void downloadingFile(String path);", "void onDownloadFileCreated(DownloadFileInfo downloadFileInfo);", "@Override public String Async_key() {return Key_wiki_download;}", "@Override\n\t\tpublic void downloadCanceled() {\n\n\t\t}", "public void onFileDownloadComplete(String filePath, Object object);", "public void onFileDownloadComplete(String filePath);", "public void downloadDay(){\n\n}", "@Override\n public void passDownloadRequest(DownloadReq downloadReq) {\n\n// if (searchRequest.getCredential().getIp() == node.getCredential().getIp() && searchRequest.getCredential().getPort() == node.getCredential().getPort()) {\n if (downloadReq.getCred().equals(node.getCred())) {\n return; // search query loop has eliminated\n }\n List<String> mySearchResults = checkFilesInFileList(downloadReq.getFileName(), node.getFileList());\n\n File file = node.getDownloadTable().get(mySearchResults.get(0));\n\n DownloadRes downloadRes = new DownloadRes(downloadReq.getCred(), downloadReq.getFileName(), file.getFileHash(), file.getFileSize());\n downloadOk(downloadRes);\n }", "public entities.Torrent.DownloadResponse getDownloadResponse() {\n if (downloadResponseBuilder_ == null) {\n return downloadResponse_ == null ? entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n } else {\n return downloadResponseBuilder_.getMessage();\n }\n }", "private void download()\n {\n if(mDownloadConnection!=null && mDownloadConnection.mBinder!=null)\n {\n if (mDownloadConnection.mBinder.download(\"file1\"))\n {\n mTvFilename.setText(\"file1\");\n }\n }\n }", "@Override\n public void onVersionFileDownloadTimeout() {\n\n }", "@Override\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype,\n long contentLength) {\n }", "@Override\n protected void onPostExecute(Integer downloadStatue) {\n if(downloadStatue == DOWNLOAD_SUCCESS)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onSuccess();\n //scanFile();\n }else if(downloadStatue == DOWNLOAD_FAILED)\n {\n this.setDownloadCanceled(false);\n this.setDownloadPaused(false);\n downloadListener.onFailed();\n }else if(downloadStatue == DOWNLOAD_PAUSED)\n {\n downloadListener.onPaused();\n }else if(downloadStatue == DOWNLOAD_CANCELED)\n {\n downloadListener.onCanceled();\n }\n }", "public Builder setDownloadResponse(\n entities.Torrent.DownloadResponse.Builder builderForValue) {\n if (downloadResponseBuilder_ == null) {\n downloadResponse_ = builderForValue.build();\n onChanged();\n } else {\n downloadResponseBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "protected abstract File download(Exception previousException) throws Exception;", "DownloadInfo mo54444i(int i);", "public void postRequestDownloadProgress(Request<?> request, long transferredBytesSize, long totalSize);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "Mono<PieceEvent> downloadBlock(Link link, RequestMessage requestMessage);", "private DownloadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public DownloadResponseInner() {\n }", "String download(String path) throws IOException;", "private void DownloadFile(String url){\n ContentManager contentManager = ContentManager.getInstance();\n String fileName = contentManager.getCurrentPlayingSongTitle().trim();\n fileName = TextUtil.removeAccent(fileName);\n fileName += url.substring(url.length()-4, url.length());\n final FileDownloadWorker fileDownloadWorker = new FileDownloadWorker(getContext(), true, this);\n fileDownloadWorker\n .setDialogMessage(getContext().getString(R.string.wait_downloading))\n .setHorizontalProgressbar()\n .setDialogCancelCallback(getContext().getString(R.string.hide), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n fileDownloadWorker.showNotificationProgress();\n }\n });\n fileDownloadWorker.execute(url, fileName);\n }", "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void onDownloadFile2(View view) {\n String url = \"http://txt.99dushuzu.com/download-txt/3/21068.txt\";\n EasyHttp.downLoad(url)\n .savePath(Environment.getExternalStorageDirectory().getPath()+\"/test/QQ\")\n .saveName(FileUtils.getFileName(url))\n .execute(new DownloadProgressCallBack<String>() {\n @Override\n public void update(long bytesRead, long contentLength, boolean done) {\n int progress = (int) (bytesRead * 100 / contentLength);\n HttpLog.e(progress + \"% \");\n dialog.setProgress(progress);\n if (done) {\n dialog.setMessage(\"下载完成\");\n }\n }\n\n @Override\n public void onStart() {\n dialog.show();\n }\n\n @Override\n public void onComplete(String path) {\n showToast(\"文件保存路径:\" + path);\n dialog.dismiss();\n }\n\n @Override\n public void onError(ApiException e) {\n showToast(e.getMessage());\n dialog.dismiss();\n }\n });\n }", "@java.lang.Override\n public boolean hasDownloadResponse() {\n return downloadResponse_ != null;\n }", "@Override \r\n public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, \r\n\t long contentLength) {\n \tString filename = SDHelper.getAppDataPath() + File.separator \r\n\t\t\t\t\t+ getFilename(url);\r\n \tFile file =new File(filename);\r\n \tif (file.exists()) {\r\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\r\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n\t\t\t\tString ext = getExt(file);\r\n\t\t\t\tString mark = null;\r\n\t\t\t if (ext.equalsIgnoreCase(\"doc\")||ext.equalsIgnoreCase(\"docx\"))\r\n\t\t\t\t\tmark = \"application/msword\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"xls\")||ext.equalsIgnoreCase(\"xlsx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-excel\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"ppt\")||ext.equalsIgnoreCase(\"pptx\"))\r\n\t\t\t\t\tmark = \"application/vnd.ms-powerpoint\";\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"pdf\"))\r\n\t\t\t\t\tmark = \"application/pdf\";\r\n\t\t\t\t\r\n\t\t\t\telse if (ext.equalsIgnoreCase(\"apk\"))\r\n\t\t\t\t\tmark = \t\"application/vnd.android.package-archive\"; \r\n\t\t\t\tintent.setDataAndType(Uri.fromFile(file), mark);\r\n\t\t\t\tmContext.startActivity(intent);\r\n\r\n \t}\r\n \telse \r\n \t new getFileAsync().execute(url);\r\n \t\r\n \t}", "public void pressOnDownloadBtn() {\n Network.sendMsg(\n new FileRequest(\n serverFilesList.getSelectionModel().getSelectedItem()));\n }", "public int getDownloadBandwidth();", "public interface DownloadData {\n public void download();\n public String getFileLocation();\n}", "private void downloadFinished() {\n downloadFinished = true;\n editor.getProgressBar().setVisible(false);\n editor.getProgressBarLabel().setVisible(false);\n editor.setOkEnabled(true);\n editor.getProgressBar().setValue(editor.getProgressBar().getMaximum());\n }", "public entities.Torrent.DownloadResponseOrBuilder getDownloadResponseOrBuilder() {\n if (downloadResponseBuilder_ != null) {\n return downloadResponseBuilder_.getMessageOrBuilder();\n } else {\n return downloadResponse_ == null ?\n entities.Torrent.DownloadResponse.getDefaultInstance() : downloadResponse_;\n }\n }", "private String getDownloadRecording() throws Exception {\n return curl + \" \" + downloadParams + \" \" + prefixLocalIpAddress + getLocalIpAddress() + \":\" + defaultPort + \" \" + downloadRecording;\n }", "entities.Torrent.DownloadRequestOrBuilder getDownloadRequestOrBuilder();", "public boolean hasDownloadResponse() {\n return downloadResponseBuilder_ != null || downloadResponse_ != null;\n }", "private void DownloadCompleted(ByteBuffer packet) throws RuntimeException, IOException{\n\t\t// (for download completion ack c->s) [header | file_id (4)]\n\t\t// no HEADER\n\t\t\n\t\t// parse the req\n\t\tif (packet.capacity() < 4)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"file not correctly specified\");\n\t\tint file_id = packet.getInt(0);\n\t\tfor (ServerFile f : totalFiles().keySet()){\n\t\t\tif (f.id() == file_id){\n\t\t\t\tclient.addUpload(f);\n\t\t\t\t// construct response\n\t\t\t\tString send_name = f.name() + '\\0';\n\t\t\t\tbuf = Utility.addHeader(Constants.DOWNLOAD_ACK, send_name.length(), client.getId());\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < send_name.length(); i++){\n\t\t\t\t\tbuf.put(Constants.HEADER_LEN + i, send_name.getBytes()[i]);\n\t\t\t\t}\n\t\t\t\tout.write(buf.array());\n\t\t\t\tout.flush();\n\t\t\t\tSystem.out.println(client.getAddress() + \n\t\t\t\t\t\t\": Correctly processed download ack for \" + file_id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tthrow new RuntimeException(\"file id does not exist\");\n\t}", "@Override\n public void onProgress(long downloaded, long total) {\n int progress = (int) (downloaded / total * 100);\n bar.setProgress(progress);\n }", "@Override\r\n public void onDownloading(String url, int progress) {\n DownloadInfo info = new DownloadInfo(url, callback).setProgress(progress);\r\n handleMessage(MSG_DOWNLOAD_ING, info);\r\n }", "private void onDownloadComplete(String file_name, String downloadPath) {\n\n file_name_nv=file_name;\n getstartshow(file_name_nv);\n }", "public int getDownloadPtime();", "@Override\n\t\t\t\t\t\tpublic void failed() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载失败\");\n\t\t\t\t\t\t}", "private JSONObject m54374a(FileDownloadTaskInfo fileDownloadTaskInfo) {\n String str;\n long j = 0;\n AppMethodBeat.m2504i(130705);\n JSONObject jSONObject = new JSONObject();\n switch (fileDownloadTaskInfo.status) {\n case -1:\n this.hxN = \"fail_apilevel_too_low\";\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n case 1:\n str = \"downloading\";\n break;\n case 2:\n str = \"download_pause\";\n break;\n case 3:\n if (!C1173e.m2561ct(fileDownloadTaskInfo.path)) {\n str = \"default\";\n break;\n }\n str = \"download_succ\";\n break;\n case 4:\n str = \"download_fail\";\n break;\n default:\n str = \"default\";\n break;\n }\n C4990ab.m7417i(\"MicroMsg.JsApiQueryDownloadTask\", \"doQueryDownloadTask, state = %s\", str);\n if (!(!fileDownloadTaskInfo.kNt || C5023at.isWifi(C4996ah.getContext()) || fileDownloadTaskInfo.status == 3 || fileDownloadTaskInfo.status == 1)) {\n str = \"download_wait_wifi\";\n }\n if ((str == \"downloading\" || str == \"download_pause\") && fileDownloadTaskInfo.jrb != 0) {\n j = (long) ((((float) fileDownloadTaskInfo.kNr) / ((float) fileDownloadTaskInfo.jrb)) * 100.0f);\n }\n try {\n jSONObject.put(\"appId\", fileDownloadTaskInfo.appId);\n jSONObject.put(\"downloadId\", fileDownloadTaskInfo.f16167id);\n jSONObject.put(\"state\", str);\n jSONObject.put(\"progress\", j);\n } catch (JSONException e) {\n C4990ab.m7412e(\"MicroMsg.JsApiQueryDownloadTask\", e.getMessage());\n }\n AppMethodBeat.m2505o(130705);\n return jSONObject;\n }", "public String getSourceDownloadUrl();", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\r\n\t\tt.start();\r\n\t}", "List<Transfer> requestDownloads(Leecher leecher);", "public ProgressBarsPage jqueryDownload() {\n\t\tstartDownload.click();\n\t\tWebDriverWait wait = new WebDriverWait(driver, 10);\n\t\twait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//div[text()='Complete!']\")));\n\t\tcloseDownload.click();\n\t\treturn new ProgressBarsPage(driver);\n\t}" ]
[ "0.68323", "0.6789641", "0.6630636", "0.6606477", "0.6602046", "0.65828305", "0.65811276", "0.64497703", "0.6415906", "0.6318806", "0.6318471", "0.6286553", "0.6214742", "0.6213296", "0.61794436", "0.616223", "0.61309963", "0.6071757", "0.60582715", "0.6057023", "0.6032461", "0.60175925", "0.601189", "0.59827745", "0.5981682", "0.5958278", "0.5956365", "0.59414876", "0.59358793", "0.59160376", "0.5915747", "0.58708435", "0.5860112", "0.58517575", "0.57818437", "0.5778671", "0.57745653", "0.575145", "0.57466197", "0.57351524", "0.57119226", "0.56985855", "0.5689453", "0.56741476", "0.56706214", "0.5662419", "0.56617284", "0.56551546", "0.56451446", "0.5628319", "0.5627883", "0.5621473", "0.56167597", "0.56132483", "0.5597167", "0.5596807", "0.5587705", "0.55876786", "0.55851585", "0.5570676", "0.5552608", "0.5542991", "0.5542949", "0.55405813", "0.5530216", "0.55277336", "0.55208176", "0.5519505", "0.5519188", "0.5501426", "0.5490275", "0.5487365", "0.5478704", "0.547705", "0.5457015", "0.5452497", "0.54510885", "0.5444462", "0.5442144", "0.54370564", "0.54354835", "0.54134315", "0.54122245", "0.5400153", "0.53891206", "0.5386213", "0.5378131", "0.53768295", "0.53742456", "0.5360121", "0.53555316", "0.5353318", "0.5323541", "0.5317658", "0.5316668", "0.5307025", "0.53038055", "0.53009886", "0.5300371", "0.5294776" ]
0.5959001
25
.RegistrationRequest registrationRequest = 14;
@java.lang.Override public boolean hasRegistrationRequest() { return registrationRequest_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequest getRegistrationRequest();", "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "boolean hasRegistrationRequest();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.7233358", "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.6677461", "0.65441483", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.6344257", "0.62753135", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.57810074
59
.RegistrationRequest registrationRequest = 14;
@java.lang.Override public entities.Torrent.RegistrationRequest getRegistrationRequest() { return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequest getRegistrationRequest();", "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "boolean hasRegistrationRequest();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n return getRegistrationRequest();\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@java.lang.Override\n public boolean hasRegistrationRequest() {\n return registrationRequest_ != null;\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.7233358", "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.6677461", "0.65441483", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.62753135", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57810074", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.6344257
16
.RegistrationRequest registrationRequest = 14;
@java.lang.Override public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() { return getRegistrationRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "entities.Torrent.RegistrationRequest getRegistrationRequest();", "Register.Req getRegisterReq();", "UserRegistrationResponse registrationPost(RegistrationForm registrationForm);", "public void setRegistration( String registration ) {\n this.registration = registration;\n }", "public RegistrationInfo getRegistrationInfo();", "public String getRegistrationNumber(){\n return registrationNumber;\n }", "public void confirmRegistration(RegistrationData d) {}", "entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder();", "boolean hasRegistrationRequest();", "void onNewRegistrationId(String registrationId);", "entities.Torrent.RegistrationResponse getRegistrationResponse();", "public void register(RegistrationData d) {}", "public ChangeRegistrationResponse() {\r\n super(FunctionID.CHANGE_REGISTRATION.toString());\r\n }", "private static int requestRegNum() { // From Assignment2 Starter Code by Dave Houtman\r\n\t\treturn (Integer.parseInt(getResponseTo(\"Enter registration number : \")));\r\n\t}", "public String mo56450e() {\n return \"registration\";\n }", "public void setRegistrationNumber(String newRegistrationNumber){\n registrationNumber= newRegistrationNumber;\n }", "@java.lang.Override\n public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }", "public Builder setRegistrationRequest(entities.Torrent.RegistrationRequest value) {\n if (registrationRequestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n registrationRequest_ = value;\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(value);\n }\n\n return this;\n }", "private void AddMetaRegistrationInformation(Registration reg) {\n }", "private RegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public entities.Torrent.RegistrationRequest getRegistrationRequest() {\n if (registrationRequestBuilder_ == null) {\n return registrationRequest_ == null ? entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n } else {\n return registrationRequestBuilder_.getMessage();\n }\n }", "public void v_GuestRegistration(){\n\t\tResult=\"Pass\";\n\t\tLF.AddActualResult(Result);\n\t}", "private void setRegisterReq(\n Register.Req.Builder builderForValue) {\n req_ = builderForValue.build();\n reqCase_ = 7;\n }", "@Override\n public RegisterBO register(UserRequest userRequest) {\n User user = new User().with(u -> u.email = userRequest.getEmail())\n .with(u -> u.username = userRequest.getEmail())\n .with(u -> u.preferredLanguages.add(new Locale(\"es\", \"CL\")))//TODO: revisar mas adelante\n .with(u -> u.password = userRequest.getPassword())\n .with(u -> u.fullName = userRequest.getFullName());\n if (userRequest.getPhone() != null)\n user.with(u -> u.mobilePhone = userRequest.getPhone().trim());\n\n // Se inicia el registro de usuario y objecto request\n UserRegistration registration = new UserRegistration();\n registration.applicationId = UUID.fromString(aplicationId);\n registration.verified = false;\n\n RegistrationRequest request = new RegistrationRequest(user, registration);\n\n // Uso el objeto ClientResponse para capturar respuesta\n ClientResponse<RegistrationResponse, Errors> response = getFusionAuthClient.register(null, request);\n\n // Traducto respuesta segun exito o error\n return registerTranslate.translate(response);\n }", "public static void register(GCMRegistrationRequest request,\n APIResponseHandler<GenericSuccessModel> response) {\n\n APIConnection.send(API_PATH + \"register\", request, GenericSuccessModel.class, response);\n }", "public String getRegistrationType() {\n\t\treturn registrationType;\n\t}", "@Override\n\tpublic String getRegistrationTag() {\n\t\treturn registrationTag;\n\t}", "@UpnpAction(out = {@UpnpOutputArgument(name = \"RegistrationRespMsg\", stateVariable = \"A_ARG_TYPE_RegistrationRespMsg\")})\n/* */ public byte[] registerDevice(@UpnpInputArgument(name = \"RegistrationReqMsg\", stateVariable = \"A_ARG_TYPE_RegistrationReqMsg\") byte[] registrationReqMsg) {\n/* 138 */ return new byte[0];\n/* */ }", "entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder();", "public entities.Torrent.RegistrationRequestOrBuilder getRegistrationRequestOrBuilder() {\n if (registrationRequestBuilder_ != null) {\n return registrationRequestBuilder_.getMessageOrBuilder();\n } else {\n return registrationRequest_ == null ?\n entities.Torrent.RegistrationRequest.getDefaultInstance() : registrationRequest_;\n }\n }", "public String getRegisterNumber() { return registerNumber; }", "@Override\n public void onRegistrationSuccess(RegistrationResponse response) {\n if (response.isStatus()) {\n\n startActivityForResult(new Intent(this,VerifyEmailActivity.class)\n .putExtra(getString(R.string.from_sign_up_key),true)\n .putExtra(getString(R.string.email_id_key),model.getEmail().getValue()),VERIFY_EMAIL_REQUEST_CODE);\n\n\n } else {\n StringBuilder errorMsg = new StringBuilder();\n if (null != response.getErrors()) {\n for (Error e : response.getErrors()) {\n if (e.getCode().equalsIgnoreCase(\"REG005\")) {\n signUpBinding.txtEmailId.setErrorEnabled(true);\n signUpBinding.txtEmailId.setError(e.getMessage());\n } else {\n errorMsg.append(e.getMessage()).append(\"\\n\");\n }\n }\n } else {\n errorMsg.append(getString(R.string.server_error));\n }\n signUpBinding.txtError.setText(errorMsg);\n signUpBinding.txtError.setVisibility(View.VISIBLE);\n }\n }", "@GetMapping\n public String onRegistration() {\n return \"registration\";\n }", "public String getRegisterId()\n/* */ {\n/* 273 */ return this.registerId;\n/* */ }", "public DictAccountRegistration getRegistration()\n {\n return registration;\n }", "private void setRegisterReq(Register.Req value) {\n if (value == null) {\n throw new NullPointerException();\n }\n req_ = value;\n reqCase_ = 7;\n }", "public void createSignUpSession(Registration registration, RegResult regResult) {\n editor.putString(KEY_ID, String.valueOf(regResult.getAUId()));\n editor.putString(KEY_EMAIL, registration.getEmail());\n editor.putString(KEY_NAME, registration.getName());\n editor.putString(KEY_NUMBER,registration.getMobile());\n //editor.putString(KEY_CARDNO,registration.getCardno());\n // Storing login value as TRUE\n editor.putBoolean(IS_LOGIN, true);\n editor.commit();\n }", "void signUp(SignUpRequest signupRequest);", "@PostMapping(\"/signup\")\n public ResponseEntity<?> registerUser(@RequestBody RegistrationRequest registrationRequest){\n return userService.registerUser(registrationRequest);\n }", "public String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "public boolean isRegistrationRequiredForCalling()\n {\n return true;\n }", "public void setAWSUserRegistration_Agree() {\r\n\r\n Tx_RN171DeviceSetDeviceName();\r\n\r\n /////////////////////////////////////////////////\r\n //Register/Insert Customer\r\n /////////////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerURL(AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregistrationPassword,\r\n AppGlobals.userregInfo.userregistrationStreetAddress,\r\n AppGlobals.userregInfo.userregistrationSuburb,\r\n AppGlobals.userregInfo.userregistrationCityRegion,\r\n AppGlobals.userregInfo.userregistrationFirstName,\r\n AppGlobals.userregInfo.userregistrationLastName,\r\n AppGlobals.userregInfo.userregistrationPostcode,\r\n AppGlobals.userregInfo.userregistrationCountry,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Successful Registration\\\"\")) {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n\r\n /////////////////////////////////////////\r\n //Register Appliance\r\n /////////////////////////////////////////\r\n\r\n //Call method and post appropriate values\r\n AWSconnection.insertCustomerApplianceURL(AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceSerial,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceType,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceModel,\r\n AppGlobals.fireplaceWifi.get(AppGlobals.selected_fireplaceWifi).UUID,\r\n AppGlobals.userregInfo.userregistrationEmail,\r\n AppGlobals.userregInfo.userregApplianceInfo_now.userregistrationApplianceName,\r\n\r\n //Call interface to retrieve Async results\r\n new AWSconnection.textResult() {\r\n @Override\r\n\r\n public void getResult(String result) {\r\n\r\n //Do stuff with results here\r\n //Returns either success or fail message\r\n //Log.i(\"Registration:\", result);\r\n Log.d(\"myApp_AWS\", \"Registration:\" + result);\r\n\r\n if (!result.equals(\"\\\"Appliance Registration Successful\\\"\")) {\r\n\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Web Services Error.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n } else {\r\n runOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n Toast.makeText(Rinnai11eRegistration.this, \"Update Successful.\",\r\n Toast.LENGTH_LONG).show();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }", "@Override\r\n\tpublic User1 userRegistration() {\n\t\treturn null;\r\n\t}", "private RegistrationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "boolean hasRegistrationResponse();", "public Builder setRegistrationRequest(\n entities.Torrent.RegistrationRequest.Builder builderForValue) {\n if (registrationRequestBuilder_ == null) {\n registrationRequest_ = builderForValue.build();\n onChanged();\n } else {\n registrationRequestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "Register.Res getRegisterRes();", "@Override\n protected void onSubmit()\n {\n final ApplicationUser appUser = (ApplicationUser) getModelObject();\n UserRegistration userRegistration = new UserRegistration(appUser.getBusinessUser());\n paramUserId = userRegistration.getUserId();\n //paramDateTime = userRegistration.getRequestTimeAsString();\n //paramToken = userRegistration.getMailToken();\n\n // Note: Dccd does not use a validation Page!\n\n\t\t\t// Construct the url for the activation of member and/or organisation\n\t\t\tMap<String, String> parameterMap = new HashMap<String, String>();\n\t\t\tparameterMap.put(\"userId\", paramUserId);\n\t\t\tparameterMap.put(\"inEditMode\", \"0\"); // activation button is placed on non-edit page!\n\t\t\tparameterMap.put(\"enableModeSwitch\", \"1\");\n\t\t\tfinal String activationUrl = createPageURL(MemberPage.class, parameterMap);\n\t\t\tuserRegistration.setActivationUrl(activationUrl);\n\t\t\tlogger.debug(\"activationUrl: \" + activationUrl);\n\n if (isOrganisationEdit())\n {\n \tlogger.debug(\"new Organisation must now be registered\");\n \tassert(null != newOrganisation);\n \t// Also register the new organisation\n \tlogger.debug(\"New organistation: \" + newOrganisation.getId());\n \tOrganisationRegistration organisationRegistration =\n \t\tnew OrganisationRegistration(newOrganisation);\n\n \tuserRegistration.setOrganisation(newOrganisation);\n \tDccdUserService.getService().handleRegistrationRequest(userRegistration, organisationRegistration);\n\n \tif (!organisationRegistration.isCompleted())\n \t{\n \t\t// something went wrong!\n \tlogger.debug(\"Could not complete organisation registration\");\n for (String stateKey : organisationRegistration.getAccumulatedStateKeys())\n {\n //error(getString(stateKey));\n \t// allow for substitution\n error(getString(stateKey, new Model(organisationRegistration)));\n }\n \t}\n }\n else\n {\n \tuserRegistration.setOrganisation(selectedOrganisation);\n \tuserRegistration = DccdUserService.getService().handleRegistrationRequest(userRegistration);\n }\n\n if (userRegistration.isCompleted())\n {\n disableForm(new String[] {});\n info(getString(\"missionAccomplished\", new Model(appUser)));\n //setResponsePage(new InfoPage(getString(\"registrationpage.header\")));\n // use specific page for the confirmation\n setResponsePage(new RegistrationConfirmPage(appUser));\n }\n else\n {\n \tlogger.debug(\"Could not complete user registration\");\n for (String stateKey : userRegistration.getAccumulatedStateKeys())\n {\n error(getString(stateKey));\n }\n }\n logger.debug(\"End onSubmit: \" + userRegistration.toString());\n }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "private void registration() {\n\t\tif (ur_name.getText().length() > 0 && email.getText().length() > 0\r\n\t\t\t\t&& pass.getText().length() > 0\r\n\t\t\t\t&& re_pass.getText().length() > 0) {\r\n\t\t\tif (pass.getText().toString()\r\n\t\t\t\t\t.equalsIgnoreCase(re_pass.getText().toString())) {\r\n\t\t\t\tString postEntity = \"user_name=\" + ur_name.getText().toString()\r\n\t\t\t\t\t\t+ \"&email=\" + email.getText().toString() + \"&password=\"\r\n\t\t\t\t\t\t+ pass.getText().toString() + \"&gcm_id=\"\r\n\t\t\t\t\t\t+ GlobalDeclares.getGcmId();\r\n\t\t\t\tnew ServerUtilities(getApplicationContext(),\r\n\t\t\t\t\t\tGlobalDeclares.NEW_REGISTRATION, postEntity, delegate);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\"Password does not match!\", Toast.LENGTH_LONG).show();\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\"You need to fill all the fields!\", Toast.LENGTH_LONG)\r\n\t\t\t\t\t.show();\r\n\t\t}\r\n\r\n\t}", "private void sendRegistrationRequestToServer() {\r\n\t\tnew ServerAsyncTask(ApplicationConstant.appurl\r\n\t\t\t\t+ ApplicationConstant.registrationRequestType + \"&userid=62\"\r\n\t\t\t\t+ \"&email=\" + emailAddress.getText().toString().trim()\r\n\t\t\t\t+ \"&firstname=\" + firstName.getText().toString().trim()\r\n\t\t\t\t+ \"&lastname=\" + lastName.getText().toString().trim()\r\n\t\t\t\t+ \"&password=\" + password.getText().toString().trim()\r\n\t\t\t\t+ \"&roles=1\" + \"access=20\", context, new ResponseCallback() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccessRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage(\"Successfully register on app\");\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onErrorRecieve(Object object) {\r\n\r\n\t\t\t\tloadingProgress.setVisibility(View.GONE);\r\n\t\t\t\tshowToastMessage((String) object);\r\n\t\t\t}\r\n\t\t}, ApplicationConstant.registrationRequestType).execute();\r\n\r\n\t}", "public Boolean register(HttpServletRequest request) throws Exception;", "@Override\n\tpublic String signUp_request() {\n\t\treturn null;\n\t}", "RegistrationModule createRegistrationModule();", "public Register.Req getRegisterReq() {\n if (reqCase_ == 7) {\n return (Register.Req) req_;\n }\n return Register.Req.getDefaultInstance();\n }", "public entities.Torrent.RegistrationRequest.Builder getRegistrationRequestBuilder() {\n\n onChanged();\n return getRegistrationRequestFieldBuilder().getBuilder();\n }", "private void sendRegistrationIdToBackend()\n {\n\tLog.d(Globals.TAG, \"REGISTER USERID: \" + regid);\n\tString name = ((EditText)findViewById(R.id.name_edittext)).getText().toString();\n\tnew AsyncTask<String, Void, String>()\n\t{\n\t @Override\n\t protected String doInBackground(String... params)\n\t {\n\t\tString msg = \"\";\n\t\ttry\n\t\t{\n\t\t Bundle data = new Bundle();\n\t\t data.putString(\"name\", params[0]);\n\t\t data.putString(\"action\", \"com.antoinecampbell.gcmdemo.REGISTER\");\n\t\t String id = Integer.toString(msgId.incrementAndGet());\n\t\t gcm.send(Globals.GCM_SENDER_ID + \"@gcm.googleapis.com\", id, Globals.GCM_TIME_TO_LIVE, data);\n\t\t msg = \"Sent registration\";\n\t\t}\n\t\tcatch (IOException ex)\n\t\t{\n\t\t msg = \"Error :\" + ex.getMessage();\n\t\t}\n\t\treturn msg;\n\t }\n\n\t @Override\n\t protected void onPostExecute(String msg)\n\t {\n\t\tToast.makeText(context, msg, Toast.LENGTH_SHORT).show();\n\t }\n\t}.execute(name);\n }", "private void register() {\n Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT);\n registrationIntent.setPackage(GSF_PACKAGE);\n registrationIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n registrationIntent.putExtra(EXTRA_SENDER, senderId);\n context.startService(registrationIntent);\n }", "@java.lang.Override\n public boolean hasRegistrationRequest() {\n return registrationRequest_ != null;\n }", "void onSignUpEmailRegistered();", "Boolean startRegistration(FaceuserPojo faceuserPojo);", "private void sendRegistrationIdToBackend() {\n // Your implementation here.\n }", "@RequestMapping(value = \"/registrationRequests\", method = RequestMethod.GET)\n public String registrationRequests()\n {\n return \"registrationRequests\";\n }", "private RegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public\n synchronized void processRegister(Request request, SipProvider sipProvider,\n ServerTransaction serverTransaction ) {\n try{\n MessageFactory messageFactory=proxy.getMessageFactory();\n \n String key=getKey(request);\n\n // Add the key if it is a new user:\n if (ProxyDebug.debug){\n ProxyDebug.println\n (\"Registrar, processRegister(), key: \\\"\"+key+\"\\\"\");\n }\n if (key==null){\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), key is null\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n return ;\n }\n \n // RFC 3261: 10.3:\n /* 6. The registrar checks whether the request contains the Contact\n header field. If not, it skips to the last step. If the\n Contact header field is present, the registrar checks if there\n is one Contact field value that contains the special value \"*\"\n and an Expires field. If the request has additional Contact\n fields or an expiration time other than zero, the request is\n invalid, and the server MUST return a 400 (Invalid Request) and\n skip the remaining steps. If not, the registrar checks whether\n the Call-ID agrees with the value stored for each binding. If\n not, it MUST remove the binding. If it does agree, it MUST\n remove the binding only if the CSeq in the request is higher\n than the value stored for that binding. Otherwise, the update\n MUST be aborted and the request fails.\n */\n \n if ( !hasContactHeaders(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n Response response=messageFactory.createResponse\n (Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0 ; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\"+response.toString());\n }\n return;\n }\n \n \n // bug report by Alistair Coles\n if ( hasStar(request) ) {\n Vector contactHeaders=getContactHeaders(key);\n if (contactHeaders.size()>1) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), more than one contact header\"+\n \" is present at the same time as a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response);\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if ( !hasExpiresZero(request) ) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), expires time different from\"+\n \" 0 with a wild card.\"+\n \" 400 INVALID REQUEST replied\");\n }\n Response response=messageFactory.createResponse\n (Response.BAD_REQUEST,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return ;\n }\n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), (* and expires=0) \"+\n \" we remove the registration!!\");\n }\n registrationsTable.removeRegistration(key);\n \n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n \n if ( registrationsTable.hasRegistration(key) ) {\n registrationsTable.updateRegistration(key,request);\n\n\t\tif ( proxy.getConfiguration().rfc2543Compatible && \n\t\tkey.indexOf(\":5060\") < 0 ) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"Updating proper registration for \" \n\t\t\t+ key);\n\n registrationsTable.updateRegistration(key, request);\n\t\t}\n\n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n\t\ttry{\n if ( hasExpiresZero(request) ) {\n response.addHeader(request.getHeader(ExpiresHeader.NAME));\n }\n }\n catch(Exception e){\n e.printStackTrace();\n }\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n else {\n // Let's check the Expires header:\n if ( hasExpiresZero(request) ) {\n // This message is lost....\n\t\t proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \"we don't have any record for this REGISTER.\");\n Response response=messageFactory.createResponse\n (Response.OK,request);\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n return;\n }\n \n registrationsTable.addRegistration(key,request);\n \n\t\tif (proxy.getConfiguration().rfc2543Compatible &&\n\t\t key.indexOf(\":5060\") < 0) {\n\t\t //\n\t\t // Hack for Cisco IP Phone which registers incorrectly\n\t\t // by not specifying :5060.\n\t\t //\n\t\t key += \":5060\";\n\n\t\t System.out.println(\"CISCO IP PHONE FIX: \"\n\t\t\t+ \"adding proper registration for \" + key);\n\n registrationsTable.addRegistration(key, request);\n\t\t}\n\n // we have to forward SUBSCRIBE if the presence server\n // is enabled:\n \n if (proxy.isPresenceServer()) {\n PresenceServer presenceServer=\n proxy.getPresenceServer();\n ProxyDebug.println(\"Registrar, processRegister(), \"+\n \" we have to check if we have some SUBSCRIBE stored.\");\n }\n \n Vector contactHeaders=getContactHeaders(key);\n Response response=\n messageFactory.createResponse(Response.OK,request);\n if ( contactHeaders!=null ) {\n for (int i = 0; i < contactHeaders.size(); i++) {\n ContactHeader contact = (ContactHeader)\n contactHeaders.elementAt(i);\n response.addHeader(contact);\n }\n }\n \n if (serverTransaction!=null)\n serverTransaction.sendResponse(response);\n else sipProvider.sendResponse(response); \n \n if (ProxyDebug.debug) {\n ProxyDebug.println\n (\"Registrar, processRegister(), response sent:\");\n ProxyDebug.print(response.toString());\n }\n }\n } catch (IOException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n\t} catch (SipException ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println(\"Registrar exception raised:\");\n ProxyDebug.logException(ex);\n\t }\n } catch(Exception ex) {\n if (ProxyDebug.debug) {\n ProxyDebug.println\n\t\t(\"Registrar, processRegister(), internal error, \"+\n \"exception raised:\");\n ProxyDebug.logException(ex);\n }\n }\n }", "@java.lang.Override\n public entities.Torrent.RegistrationResponseOrBuilder getRegistrationResponseOrBuilder() {\n return getRegistrationResponse();\n }", "public void attemptRegistration(final Context context, final RegistrationListener listener) {\n final String registrationType;\n if (mRegistrationResponse != null && !TextUtils.isEmpty(mRegistrationResponse.session)) {\n AuthParams authParams = null;\n if (mPhoneNumber != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN) && !TextUtils.isEmpty(mPhoneNumber.getSid())) {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_MSISDN;\n authParams = getThreePidAuthParams(mPhoneNumber.getClientSecret(), identityServerUri.getHost(),\n mPhoneNumber.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_MSISDN);\n }\n } else if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n if (TextUtils.isEmpty(mEmail.getSid())) {\n // Email token needs to be requested before doing validation\n Log.d(LOG_TAG, \"attemptRegistration: request email validation\");\n requestValidationToken(context, mEmail, new ThreePidRequestListener() {\n @Override\n public void onIdentityServerMissing() {\n listener.onIdentityServerMissing();\n }\n\n @Override\n public void onThreePidRequested(ThreePid pid) {\n if (!TextUtils.isEmpty(pid.getSid())) {\n // The session id for the email validation has just been received.\n // We trigger here a new registration request without delay to attach the current username\n // and the pwd to the registration session.\n attemptRegistration(context, listener);\n\n // Notify the listener to wait for the email validation\n listener.onWaitingEmailValidation();\n }\n }\n\n @Override\n public void onThreePidRequestFailed(String errorMessage) {\n listener.onThreePidRequestFailed(errorMessage);\n }\n });\n return;\n } else {\n Uri identityServerUri = mHsConfig.getIdentityServerUri();\n if (identityServerUri == null) {\n listener.onIdentityServerMissing();\n return;\n } else {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY;\n authParams = getThreePidAuthParams(mEmail.getClientSecret(), identityServerUri.getHost(),\n mEmail.getSid(), LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY);\n }\n }\n } else if (!TextUtils.isEmpty(mCaptchaResponse) && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA;\n authParams = getCaptchaAuthParams(mCaptchaResponse);\n } else if (mTermsApproved && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_TERMS;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_TERMS);\n } else if (supportStage(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY)) {\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_DUMMY;\n authParams = new AuthParams(LoginRestClient.LOGIN_FLOW_TYPE_DUMMY);\n } else if (isPasswordBasedFlowSupported()) {\n // never has been tested\n registrationType = LoginRestClient.LOGIN_FLOW_TYPE_PASSWORD;\n authParams = new AuthParamsLoginPassword();\n\n if (null != mUsername) {\n ((AuthParamsLoginPassword) authParams).user = mUsername;\n }\n\n if (null != mPassword) {\n ((AuthParamsLoginPassword) authParams).password = mPassword;\n }\n } else {\n // others\n registrationType = \"\";\n }\n\n if (TextUtils.equals(registrationType, LoginRestClient.LOGIN_FLOW_TYPE_MSISDN)\n && mEmail != null && !isCaptchaRequired()) {\n // Email will not be processed\n mShowThreePidWarning = true;\n mEmail = null;\n }\n\n final RegistrationParams params = new RegistrationParams();\n if (!registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_RECAPTCHA)\n && !registrationType.equals(LoginRestClient.LOGIN_FLOW_TYPE_TERMS)) {\n if (mUsername != null) {\n params.username = mUsername;\n }\n if (mPassword != null) {\n params.password = mPassword;\n }\n }\n\n if (authParams != null) {\n // Always send the current session\n authParams.session = mRegistrationResponse.session;\n\n params.auth = authParams;\n }\n\n register(context, params, new InternalRegistrationListener() {\n @Override\n public void onRegistrationSuccess() {\n if (mShowThreePidWarning) {\n // An email was entered but was not attached to account\n listener.onRegistrationSuccess(context.getString(R.string.auth_threepid_warning_message));\n } else {\n listener.onRegistrationSuccess(null);\n }\n }\n\n @Override\n public void onRegistrationFailed(String message) {\n if (TextUtils.equals(ERROR_MISSING_STAGE, message)\n && (mPhoneNumber == null || isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_MSISDN))) {\n if (mEmail != null && !isCompleted(LoginRestClient.LOGIN_FLOW_TYPE_EMAIL_IDENTITY)) {\n attemptRegistration(context, listener);\n } else if (isTermsRequired()) {\n listener.onWaitingTerms(getLocalizedLoginTerms(context));\n } else {\n // At this point, only captcha can be the missing stage\n listener.onWaitingCaptcha(getCaptchaPublicKey());\n }\n } else {\n listener.onRegistrationFailed(message);\n }\n }\n\n @Override\n public void onResourceLimitExceeded(MatrixError e) {\n listener.onResourceLimitExceeded(e);\n }\n });\n }\n }", "User registration(User user);", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public void register(){\n }", "@GetMapping(value = \"/registration\")\n public String onRegistration() {\n return \"registration\";\n }", "UserDTO registerUser(UserRegistrationDTO registrationDTO);", "@Override\n\tpublic void setRegistrationTag(String registrationTag) {\n\t\tthis.registrationTag = registrationTag;\n\t}", "public String getDeviceRegistration() {\n return this.deviceRegistration;\n }", "protected abstract void registerUser(Map<String, String> registrationInfo);", "RegisterParam getRegister();", "public void setRegistrationType(String registrationType) {\n\t\tthis.registrationType = registrationType;\n\t}", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private void sendRegistrationToServer(String token) {\n }", "private reg1() {\n }", "public void openRegister() {\n\n }", "@ApiModelProperty(value = \"设备id\")\n\tpublic String getRegistrationId() {\n\t\treturn registrationId;\n\t}", "RegistrationRule createRegistrationRule();", "public void beginRegister() {}", "void register();", "public void setDeviceRegistration(String deviceRegistration) {\n this.deviceRegistration = deviceRegistration;\n }", "public void processRegistration() {\n try {\n System.out.println(\"Processing Registration\");\n FacesContext c = FacesContext.getCurrentInstance();\n c.getApplication().getNavigationHandler().handleNavigation(c, null, \"register.xhtml\");\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n }\n }", "Registry getRequestRegistry();", "Registration registration(long idUser, long idTrail);", "public String createRegisterVerificationCode() {\n\t\tregisterVerification = VerificationCode.generateWord();\r\n\t\treturn registerVerification;\r\n\t}", "public void setRequiredRegister(int requiredRegister)\n\t{\n\t\tthis.requiredRegister = requiredRegister;\n\t}", "RegisterExtensionResponse registerExtension(RegisterExtensionRequest request);", "@Override\n protected void onActivityResult(\n final int requestCode,\n final int resultCode,\n final Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode != FRAMEWORK_REQUEST_CODE) {\n return;\n }\n\n final String toastMessage;\n final AccountKitLoginResult loginResult = AccountKit.loginResultWithIntent(data);\n if (loginResult == null || loginResult.wasCancelled())\n {\n toastMessage = \"Cancelled\";\n Toast.makeText(RegisterUser.this,toastMessage,Toast.LENGTH_SHORT).show();\n }\n else if (loginResult.getError() != null) {\n Toast.makeText(RegisterUser.this,\"Error\",Toast.LENGTH_SHORT).show();\n } else {\n final AccessToken accessToken = loginResult.getAccessToken();\n if (accessToken != null) {\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(final Account account) {\n String phoneNumber = account.getPhoneNumber().toString();\n\n if(phoneNumber.length()==14)\n phoneNumber = phoneNumber.substring(3);\n\n newUserRegistration(phoneNumber);\n progressBar.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onError(final AccountKitError error) {\n }\n });\n } else {\n toastMessage = \"Unknown response type\";\n Toast.makeText(RegisterUser.this, toastMessage, Toast.LENGTH_SHORT).show();\n }\n }\n }", "public interface OnRegistrationListener {\n void onRegistrationSuccess();\n void onRegistrationFailed(String message);\n}", "private void registToWX() {\n }", "public entities.Torrent.RegistrationResponse.Builder getRegistrationResponseBuilder() {\n\n onChanged();\n return getRegistrationResponseFieldBuilder().getBuilder();\n }", "private void RegisterGoogleSignup() {\n\n\t\ttry {\n\t\t\tLocalData data = new LocalData(SplashActivity.this);\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\n\t\t\tasName.add(\"email\");\n\t\t\tasName.add(\"firstname\");\n\t\t\tasName.add(\"gender\");\n\t\t\tasName.add(\"id\");\n\t\t\tasName.add(\"lastname\");\n\t\t\tasName.add(\"name\");\n\t\t\t// asName.add(\"link\");\n\n\t\t\tasName.add(\"device_type\");\n\t\t\tasName.add(\"device_id\");\n\t\t\tasName.add(\"gcm_id\");\n\t\t\tasName.add(\"timezone\");\n\n\t\t\tasValue.add(data.GetS(LocalData.EMAIL));\n\t\t\tasValue.add(data.GetS(LocalData.FIRST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.GENDER));\n\t\t\tasValue.add(data.GetS(LocalData.ID));\n\t\t\tasValue.add(data.GetS(LocalData.LAST_NAME));\n\t\t\tasValue.add(data.GetS(LocalData.NAME));\n\t\t\t// asValue.add(data.GetS(LocalData.LINK));\n\n\t\t\tasValue.add(\"A\");\n\n\t\t\tString android_id = Secure\n\t\t\t\t\t.getString(SplashActivity.this.getContentResolver(),\n\t\t\t\t\t\t\tSecure.ANDROID_ID);\n\n\t\t\tasValue.add(android_id);\n\n\t\t\tLocalData data1 = new LocalData(SplashActivity.this);\n\t\t\tasValue.add(data1.GetS(\"gcmId\"));\n\t\t\tasValue.add(Main.GetTimeZone());\n\t\t\tString sURL = StringURLs.getQuery(StringURLs.GOOGLE_LOGIN, asName,\n\t\t\t\t\tasValue);\n\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(SplashActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\tLog.d(\"JSON DATA\", sJSON);\n\n\t\t\t\t\ttry {\n\n\t\t\t\t\t\tif (sJSON.length() != 0) {\n\t\t\t\t\t\t\tJSONObject object = new JSONObject(sJSON);\n\t\t\t\t\t\t\tJSONObject response = object\n\t\t\t\t\t\t\t\t\t.getJSONObject(JSONStrings.JSON_RESPONSE);\n\t\t\t\t\t\t\tString sResult = response\n\t\t\t\t\t\t\t\t\t.getString(JSONStrings.JSON_SUCCESS);\n\n\t\t\t\t\t\t\tif (sResult.equalsIgnoreCase(\"1\") == true) {\n\n\t\t\t\t\t\t\t\tString user_id = response.getString(\"userid\");\n\n\t\t\t\t\t\t\t\tLocalData data = new LocalData(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this);\n\t\t\t\t\t\t\t\tdata.Update(\"userid\", user_id);\n\t\t\t\t\t\t\t\tdata.Update(\"name\", response.getString(\"name\"));\n\n\t\t\t\t\t\t\t\tGetNotificationCount();\n\n\t\t\t\t\t\t\t} else if (sResult.equalsIgnoreCase(\"0\") == true) {\n\n\t\t\t\t\t\t\t\tString msgcode = jsonObject.getJSONObject(\n\t\t\t\t\t\t\t\t\t\t\"response\").getString(\"msgcode\");\n\n\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, msgcode),\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} catch (Exception exp) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tSplashActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(\n\t\t\t\t\t\t\t\t\t\tSplashActivity.this, \"c100\"),\n\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tconnectServer.execute(sURL);\n\n\t\t} catch (Exception exp) {\n\n\t\t\tToast.makeText(SplashActivity.this,\n\t\t\t\t\tMain.getStringResourceByName(SplashActivity.this, \"c100\"),\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "public Object register(HttpServletRequest req);" ]
[ "0.7233358", "0.71100605", "0.6976915", "0.68521196", "0.67449516", "0.6739303", "0.6736614", "0.6677461", "0.65441483", "0.6469297", "0.6454303", "0.64468056", "0.6424221", "0.6415989", "0.6411507", "0.63573927", "0.6344257", "0.6249816", "0.62416136", "0.6204122", "0.62041104", "0.6192585", "0.612472", "0.61222506", "0.6110624", "0.60934854", "0.6091507", "0.6058919", "0.604852", "0.60469735", "0.60133266", "0.59798783", "0.597912", "0.5969308", "0.5952056", "0.5949586", "0.59493333", "0.5938172", "0.5934768", "0.5933292", "0.5931173", "0.5916512", "0.5898057", "0.58926237", "0.5886961", "0.58564603", "0.5849956", "0.58483917", "0.58434063", "0.5836406", "0.58352965", "0.58304876", "0.5830054", "0.5824699", "0.58067477", "0.5801554", "0.580046", "0.57940316", "0.57810074", "0.57772267", "0.5765934", "0.5756114", "0.575403", "0.57516885", "0.5749925", "0.57478994", "0.5745311", "0.5733722", "0.5729516", "0.57288307", "0.57196796", "0.5706838", "0.5688524", "0.56859845", "0.5681032", "0.5679332", "0.56762904", "0.5674945", "0.5674945", "0.5674945", "0.5674945", "0.5666425", "0.56566715", "0.5638434", "0.56376845", "0.5631492", "0.56312543", "0.56263787", "0.56045574", "0.5601617", "0.55976486", "0.5590378", "0.5582115", "0.55758363", "0.5575439", "0.55629134", "0.55571353", "0.55511695", "0.5549986", "0.55473304" ]
0.62753135
17