proj_name
stringclasses
26 values
relative_path
stringlengths
42
165
class_name
stringlengths
3
46
func_name
stringlengths
2
44
masked_class
stringlengths
80
7.9k
func_body
stringlengths
76
5.98k
initial_context
stringclasses
74 values
parent_class_output
stringlengths
20
1.75k
parent_class_output_re_type
sequencelengths
0
9
parent_class_output_re_method
sequencelengths
0
35
func_body_re_type
sequencelengths
0
14
func_body_re_method
sequencelengths
0
39
parent_class_output.relevant_context
stringlengths
0
82.6k
parent_class_output.relevant_context_no_cmt
stringlengths
0
25.5k
parent_class_output.retrieved_names
stringlengths
39
1.24k
parent_class_output.retrieved_types
stringlengths
2
106k
parent_class_output.retrieved_methods
stringlengths
2
11.5k
similar_methods
stringlengths
2
3.74k
similar_method_output
stringlengths
25
1.85k
similar_method_output_re_type
sequencelengths
0
11
similar_method_output_re_method
sequencelengths
0
27
similar_method_output.relevant_context
stringlengths
0
102k
similar_method_output.relevant_context_no_cmt
stringlengths
0
32.6k
similar_method_output.retrieved_names
stringlengths
39
1.27k
similar_method_output.retrieved_types
stringlengths
2
133k
similar_method_output.retrieved_methods
stringlengths
2
17.3k
func_body.relevant_context
stringlengths
0
99.1k
func_body.relevant_context_no_cmt
stringlengths
0
36.2k
func_body.retrieved_names
stringlengths
39
1.7k
func_body.retrieved_types
stringlengths
2
128k
func_body.retrieved_methods
stringlengths
2
20.3k
qiujiayu_AutoLoadCache
AutoLoadCache/autoload-cache-serializer/autoload-cache-serializer-protobuf/src/main/java/com/jarvis/cache/serializer/protobuf/HeapByteBufUtil.java
HeapByteBufUtil
setIntLE
class HeapByteBufUtil { static byte getByte(byte[] memory, int index) { return memory[index]; } static short getShort(byte[] memory, int index) { return (short) (memory[index] << 8 | memory[index + 1] & 0xFF); } static short getShortLE(byte[] memory, int index) { return (short) (memory[index] & 0xff | memory[index + 1] << 8); } static int getUnsignedMedium(byte[] memory, int index) { return (memory[index] & 0xff) << 16 | (memory[index + 1] & 0xff) << 8 | memory[index + 2] & 0xff; } static int getUnsignedMediumLE(byte[] memory, int index) { return memory[index] & 0xff | (memory[index + 1] & 0xff) << 8 | (memory[index + 2] & 0xff) << 16; } static int getInt(byte[] memory, int index) { return (memory[index] & 0xff) << 24 | (memory[index + 1] & 0xff) << 16 | (memory[index + 2] & 0xff) << 8 | memory[index + 3] & 0xff; } static int getIntLE(byte[] memory, int index) { return memory[index] & 0xff | (memory[index + 1] & 0xff) << 8 | (memory[index + 2] & 0xff) << 16 | (memory[index + 3] & 0xff) << 24; } static long getLong(byte[] memory, int index) { return ((long) memory[index] & 0xff) << 56 | ((long) memory[index + 1] & 0xff) << 48 | ((long) memory[index + 2] & 0xff) << 40 | ((long) memory[index + 3] & 0xff) << 32 | ((long) memory[index + 4] & 0xff) << 24 | ((long) memory[index + 5] & 0xff) << 16 | ((long) memory[index + 6] & 0xff) << 8 | (long) memory[index + 7] & 0xff; } static long getLongLE(byte[] memory, int index) { return (long) memory[index] & 0xff | ((long) memory[index + 1] & 0xff) << 8 | ((long) memory[index + 2] & 0xff) << 16 | ((long) memory[index + 3] & 0xff) << 24 | ((long) memory[index + 4] & 0xff) << 32 | ((long) memory[index + 5] & 0xff) << 40 | ((long) memory[index + 6] & 0xff) << 48 | ((long) memory[index + 7] & 0xff) << 56; } static void setByte(byte[] memory, int index, int value) { memory[index] = (byte) value; } static void setShort(byte[] memory, int index, int value) { memory[index] = (byte) (value >>> 8); memory[index + 1] = (byte) value; } static void setShortLE(byte[] memory, int index, int value) { memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); } static void setMedium(byte[] memory, int index, int value) { memory[index] = (byte) (value >>> 16); memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) value; } static void setMediumLE(byte[] memory, int index, int value) { memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) (value >>> 16); } static void setInt(byte[] memory, int index, int value) { memory[index] = (byte) (value >>> 24); memory[index + 1] = (byte) (value >>> 16); memory[index + 2] = (byte) (value >>> 8); memory[index + 3] = (byte) value; } static void setIntLE(byte[] memory, int index, int value) {<FILL_FUNCTION_BODY>} static void setLong(byte[] memory, int index, long value) { memory[index] = (byte) (value >>> 56); memory[index + 1] = (byte) (value >>> 48); memory[index + 2] = (byte) (value >>> 40); memory[index + 3] = (byte) (value >>> 32); memory[index + 4] = (byte) (value >>> 24); memory[index + 5] = (byte) (value >>> 16); memory[index + 6] = (byte) (value >>> 8); memory[index + 7] = (byte) value; } static void setLongLE(byte[] memory, int index, long value) { memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) (value >>> 16); memory[index + 3] = (byte) (value >>> 24); memory[index + 4] = (byte) (value >>> 32); memory[index + 5] = (byte) (value >>> 40); memory[index + 6] = (byte) (value >>> 48); memory[index + 7] = (byte) (value >>> 56); } private HeapByteBufUtil() { } }
memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) (value >>> 16); memory[index + 3] = (byte) (value >>> 24);
memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) (value >>> 16); memory[index + 3] = (byte) (value >>> 24);
[]
[]
[]
[]
{"similar_methods": [{"setIntLE": ""}]}
[]
[]
[]
memory[index] = (byte) value; memory[index + 1] = (byte) (value >>> 8); memory[index + 2] = (byte) (value >>> 16); memory[index + 3] = (byte) (value >>> 24);
[]
[]
{"similar_methods": [{"setIntLE": ""}]}
[]
[]
{"similar_methods": [{"setIntLE": ""}]}
[]
[]
jitsi_jitsi
"jitsi/modules/plugin/otr/src/main/java/net/java/sip/communicator/plugin/otr/OtrMetaContactMenu.java(...TRUNCATED)
OtrMetaContactMenu
createOtrContactMenus
"class OtrMetaContactMenu\n extends AbstractPluginComponent\n implements ActionListener,\n (...TRUNCATED)
"\n JMenu menu = getMenu();\n\n // Remove any existing OtrContactMenu items.\n (...TRUNCATED)
"/** \n * Provides an abstract base implementation of <code>PluginComponent</code> in order to take (...TRUNCATED)
"\n if (metaContact != null)\n {\n for (Contact contact : metaContact.getCo(...TRUNCATED)
[ "Contact", "JMenu", "OtrContactMenu", "MetaContact" ]
[ "setCurrentContact", "removeAll", "add", "getContacts" ]
["MetaContact","ContactResource","Iterator<Contact>","JMenu","Collection<ContactResource>","Contact"(...TRUNCATED)
["supportResources","getResources","getContactCount","hasNext","size","removeAll","getOtrContact","g(...TRUNCATED)
"/** \n * This class represents the notion of a Contact or Buddy, that is widely used in instant mes(...TRUNCATED)
"public interface Contact {\n public String getAddress();\n public String getDisplayName();\n pub(...TRUNCATED)
"{\"types\": [{\"Contact\": \"Contact\"}, {\"JMenu\": \"HelpMenu\"}, {\"OtrContactMenu\": \"OtrConta(...TRUNCATED)
"[{\"Contact\": {\"retrieved_name\": \"Contact\", \"raw_body\": \"/** \\n * This class represents th(...TRUNCATED)
"[{\"setCurrentContact\": {\"retrieved_name\": \"setCurrentContact\", \"raw_body\": \"/** \\n * Sets(...TRUNCATED)
"[{\"createOtrContactMenus\": {\"retrieved_name\": \"createAddContactMenu\", \"raw_body\": \"/** \\n(...TRUNCATED)
"\n if (metaContact != null)\n {\n for (Contact contact : metaContact.getCo(...TRUNCATED)
[ "MetaContact", "Contact", "JMenu", "OtrContactMenu" ]
[ "removeAll", "getContacts", "add", "setCurrentContact", "getComponent" ]
"/** \n * A MetaContact is an abstraction used for merging multiple Contacts (most often) belonging (...TRUNCATED)
"public interface MetaContact extends Comparable<MetaContact> {\n public Contact getDefaultContact((...TRUNCATED)
"{\"types\": [{\"MetaContact\": \"MetaContact\"}, {\"Contact\": \"Contact\"}, {\"JMenu\": \"HelpMenu(...TRUNCATED)
"[{\"MetaContact\": {\"retrieved_name\": \"MetaContact\", \"raw_body\": \"/** \\n * A MetaContact is(...TRUNCATED)
"[{\"removeAll\": {\"retrieved_name\": \"removeAll\", \"raw_body\": \"/** \\n * Removes all entries (...TRUNCATED)
"/** \n * A MetaContact is an abstraction used for merging multiple Contacts (most often) belonging (...TRUNCATED)
"public interface MetaContact extends Comparable<MetaContact> {\n public Contact getDefaultContact((...TRUNCATED)
"{\"types\": [{\"MetaContact\": \"MetaContact\"}, {\"ContactResource\": \"ContactResource\"}, {\"Ite(...TRUNCATED)
"[{\"MetaContact\": {\"retrieved_name\": \"MetaContact\", \"raw_body\": \"/** \\n * A MetaContact is(...TRUNCATED)
"[{\"supportResources\": {\"retrieved_name\": \"supportResources\", \"raw_body\": \"/** \\n * Indica(...TRUNCATED)
docker-java_docker-java
docker-java/docker-java-api/src/main/java/com/github/dockerjava/api/model/Device.java
Device
parse
"class Device extends DockerObject implements Serializable {\n private static final long serialVe(...TRUNCATED)
"\n String src = \"\";\n String dst = \"\";\n String permissions = \"rwm\";\n (...TRUNCATED)
"/** \n * @see DockerObjectAccessor\n */\npublic abstract class DockerObject {\n HashMap<String,Obj(...TRUNCATED)
"\n final String[] deviceParts = deviceStr.split(\":\");\n if (deviceParts.length != 3(...TRUNCATED)
[]
[ "split" ]
[]
[ "length", "split", "countTokens", "trim" ]
"public long skip(long n) throws IOException {\n return delegate.skip(n);\n}\n/** \n * Parses a str(...TRUNCATED)
"public long skip(long n) throws IOException {\n return delegate.skip(n);\n}\n/** \n * Parses a str(...TRUNCATED)
{"methods": [{"split": "skip"}], "similar_methods": [{"parse": "parse"}]}
[]
"[{\"split\": {\"retrieved_name\": \"skip\", \"raw_body\": \"public long skip(long n) throws IOExcep(...TRUNCATED)
"[{\"parse\": {\"retrieved_name\": \"parse\", \"raw_body\": \"/** \\n * Parses a string to an {@lin(...TRUNCATED)
"\n final String[] deviceParts = deviceStr.split(\":\");\n if (deviceParts.length != 3(...TRUNCATED)
[]
[ "split" ]
"public long skip(long n) throws IOException {\n return delegate.skip(n);\n}\n/** \n * Parses a str(...TRUNCATED)
"public long skip(long n) throws IOException {\n return delegate.skip(n);\n}\n/** \n * Parses a str(...TRUNCATED)
{"methods": [{"split": "skip"}], "similar_methods": [{"parse": "parse"}]}
[]
"[{\"split\": {\"retrieved_name\": \"skip\", \"raw_body\": \"public long skip(long n) throws IOExcep(...TRUNCATED)
"@Override public long getContentLength(){\n return -1;\n}\npublic long skip(long n) throws IOExcep(...TRUNCATED)
"@Override public long getContentLength(){\n return -1;\n}\npublic long skip(long n) throws IOExcep(...TRUNCATED)
"{\"methods\": [{\"length\": \"getContentLength\"}, {\"split\": \"skip\"}, {\"countTokens\": \"getJo(...TRUNCATED)
[]
"[{\"length\": {\"retrieved_name\": \"getContentLength\", \"raw_body\": \"@Override public long getC(...TRUNCATED)
subhra74_snowflake
"snowflake/muon-app/src/main/java/muon/app/ui/components/session/utilpage/services/ServiceTableCellR(...TRUNCATED)
ServiceTableCellRenderer
getTableCellRendererComponent
"class ServiceTableCellRenderer extends JLabel implements TableCellRenderer {\r\n public ServiceT(...TRUNCATED)
"\r\n setText(value == null ? \"\" : value.toString());\r\n setBackground(isSelected ?(...TRUNCATED)
"\n Service service = (Service) value;\n setText(service.getName());\n return t(...TRUNCATED)
[ "JTable", "Service" ]
[ "getName" ]
[ "JTable" ]
[ "getSelectionForeground", "getForeground", "toString", "getSelectionBackground", "getBackground" ]
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"{\"types\": [{\"JTable\": \"SearchTableRenderer\"}, {\"Service\": \"ServiceEntry\"}], \"methods\": (...TRUNCATED)
"[{\"JTable\": {\"retrieved_name\": \"SearchTableRenderer\", \"raw_body\": \"public class SearchTabl(...TRUNCATED)
"[{\"getName\": {\"retrieved_name\": \"getName\", \"raw_body\": \"@Override public String getName(){(...TRUNCATED)
"[{\"getTableCellRendererComponent\": {\"retrieved_name\": \"getTableCellRendererComponent\", \"raw_(...TRUNCATED)
setText(value.toString()); return this;
[ "JTable" ]
[ "toString" ]
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"{\"types\": [{\"JTable\": \"SearchTableRenderer\"}], \"methods\": [{\"toString\": \"toString\"}], \(...TRUNCATED)
"[{\"JTable\": {\"retrieved_name\": \"SearchTableRenderer\", \"raw_body\": \"public class SearchTabl(...TRUNCATED)
"[{\"toString\": {\"retrieved_name\": \"toString\", \"raw_body\": \"@Override public String toString(...TRUNCATED)
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"public class SearchTableRenderer implements TableCellRenderer {\n private JLabel label;\n private(...TRUNCATED)
"{\"types\": [{\"JTable\": \"SearchTableRenderer\"}], \"methods\": [{\"getSelectionForeground\": \"g(...TRUNCATED)
"[{\"JTable\": {\"retrieved_name\": \"SearchTableRenderer\", \"raw_body\": \"public class SearchTabl(...TRUNCATED)
"[{\"getSelectionForeground\": {\"retrieved_name\": \"getDefaultSelectionForeground\", \"raw_body\":(...TRUNCATED)
DerekYRC_mini-spring
mini-spring/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisor.java
AspectJExpressionPointcutAdvisor
getPointcut
"class AspectJExpressionPointcutAdvisor implements PointcutAdvisor {\n\n\tprivate AspectJExpressionP(...TRUNCATED)
"\n\t\tif (pointcut == null) {\n\t\t\tpointcut = new AspectJExpressionPointcut(expression);\n\t\t}\n(...TRUNCATED)
"\n\t\tif (pointcut == null) {\n\t\t\tpointcut = new AspectJExpressionPointcut();\n\t\t\tpointcut.se(...TRUNCATED)
[ "AspectJExpressionPointcut" ]
[ "setExpression" ]
[ "AspectJExpressionPointcut" ]
[]
"/** \n * @author derekyi\n * @date 2020/12/5\n */\npublic class AspectJExpressionPointcut implement(...TRUNCATED)
"public class AspectJExpressionPointcut implements Pointcut, ClassFilter, MethodMatcher {\n private(...TRUNCATED)
"{\"types\": [{\"AspectJExpressionPointcut\": \"AspectJExpressionPointcut\"}], \"methods\": [{\"setE(...TRUNCATED)
"[{\"AspectJExpressionPointcut\": {\"retrieved_name\": \"AspectJExpressionPointcut\", \"raw_body\": (...TRUNCATED)
"[{\"setExpression\": {\"retrieved_name\": \"setName\", \"raw_body\": \"public void setName(String n(...TRUNCATED)
"[{\"getPointcut\": {\"retrieved_name\": \"getPointcut\", \"raw_body\": \"Pointcut getPointcut();\\n(...TRUNCATED)
"\n\t\tif (pointcut == null) {\n\t\t\tpointcut = new AspectJExpressionPointcut();\n\t\t\tpointcut.se(...TRUNCATED)
[ "AspectJExpressionPointcut" ]
[ "setExpression" ]
"/** \n * @author derekyi\n * @date 2020/12/5\n */\npublic class AspectJExpressionPointcut implement(...TRUNCATED)
"public class AspectJExpressionPointcut implements Pointcut, ClassFilter, MethodMatcher {\n private(...TRUNCATED)
"{\"types\": [{\"AspectJExpressionPointcut\": \"AspectJExpressionPointcut\"}], \"methods\": [{\"setE(...TRUNCATED)
"[{\"AspectJExpressionPointcut\": {\"retrieved_name\": \"AspectJExpressionPointcut\", \"raw_body\": (...TRUNCATED)
"[{\"setExpression\": {\"retrieved_name\": \"setName\", \"raw_body\": \"public void setName(String n(...TRUNCATED)
"/** \n * @author derekyi\n * @date 2020/12/5\n */\npublic class AspectJExpressionPointcut implement(...TRUNCATED)
"public class AspectJExpressionPointcut implements Pointcut, ClassFilter, MethodMatcher {\n private(...TRUNCATED)
"{\"types\": [{\"AspectJExpressionPointcut\": \"AspectJExpressionPointcut\"}], \"similar_methods\": (...TRUNCATED)
"[{\"AspectJExpressionPointcut\": {\"retrieved_name\": \"AspectJExpressionPointcut\", \"raw_body\": (...TRUNCATED)
[]
Pay-Group_best-pay-sdk
best-pay-sdk/src/main/java/com/lly835/bestpay/service/impl/wx/WxPayMicroServiceImpl.java
WxPayMicroServiceImpl
pay
"class WxPayMicroServiceImpl extends WxPayServiceImpl {\n\n /**\n * 微信付款码支付\n (...TRUNCATED)
"\n WxPayUnifiedorderRequest wxRequest = new WxPayUnifiedorderRequest();\n wxRequest.s(...TRUNCATED)
"/** \n * Created by 廖师兄 2017-07-02 13:40\n */\n@Slf4j public class WxPayServiceImpl extends B(...TRUNCATED)
"\n WxPayRequest wxPayRequest = (WxPayRequest) request;\n WxPayAsyncRequest wxPayAsync(...TRUNCATED)
[ "WxPayRequest", "WxPayAsyncRequest", "PayRequest" ]
["getBody","setDeviceInfo","setFeeType","setTimeStart","getDeviceInfo","setBody","getOrderId","setTo(...TRUNCATED)
["WxPayUnifiedorderRequest","WxPayApi","PayRequest","IOException","Call<WxPaySyncResponse>","assert"(...TRUNCATED)
["setNonceStr","setOpenid","body","setAppid","create","execute","getMchId","setBody","setNotifyUrl",(...TRUNCATED)
"/** \n * Created by 廖师兄 2017-07-02 13:42\n */\n@Data @Builder @NoArgsConstructor @AllArgsCons(...TRUNCATED)
"public class WxPayBankRequest {\n private String mchId;\n private String nonceStr;\n private Str(...TRUNCATED)
"{\"types\": [{\"WxPayRequest\": \"WxPayBankRequest\"}, {\"WxPayAsyncRequest\": \"WxPayAsyncResponse(...TRUNCATED)
"[{\"WxPayRequest\": {\"retrieved_name\": \"WxPayBankRequest\", \"raw_body\": \"/** \\n * Created by(...TRUNCATED)
"[{\"getBody\": {\"retrieved_name\": \"get\", \"raw_body\": \"public void get(String mchId,String mc(...TRUNCATED)
"[{\"pay\": {\"retrieved_name\": \"pay\", \"raw_body\": \"@Override public PayResponse pay(PayReques(...TRUNCATED)
"\n PayResponse payResponse = new PayResponse();\n payResponse.setBody(request.getOrde(...TRUNCATED)
[ "PayRequest", "PayResponse" ]
[ "setBody", "getOrderId" ]
"/** \n * 支付时请求参数\n */\n@Data public class PayRequest {\n /** \n * 支付方式.\n */(...TRUNCATED)
"public class PayRequest {\n private BestPayTypeEnum payTypeEnum;\n private String orderId;\n pri(...TRUNCATED)
"{\"types\": [{\"PayRequest\": \"PayRequest\"}, {\"PayResponse\": \"PayResponse\"}], \"methods\": [{(...TRUNCATED)
"[{\"PayRequest\": {\"retrieved_name\": \"PayRequest\", \"raw_body\": \"/** \\n * \\u652f\\u4ed8\\u6(...TRUNCATED)
"[{\"setBody\": {\"retrieved_name\": \"setSandbox\", \"raw_body\": \"public void setSandbox(boolean (...TRUNCATED)
"/** \n * Created by 廖师兄 2017-07-02 13:42\n */\n@Data @Root(name=\"xml\",strict=false) public (...TRUNCATED)
"public class WxPayUnifiedorderRequest {\n private String appid;\n private String mchId;\n privat(...TRUNCATED)
"{\"types\": [{\"WxPayUnifiedorderRequest\": \"WxPayUnifiedorderRequest\"}, {\"WxPayApi\": \"WxPayAp(...TRUNCATED)
"[{\"WxPayUnifiedorderRequest\": {\"retrieved_name\": \"WxPayUnifiedorderRequest\", \"raw_body\": \"(...TRUNCATED)
"[{\"setNonceStr\": {\"retrieved_name\": \"setNotifyUrl\", \"raw_body\": \"public void setNotifyUrl((...TRUNCATED)
pmd_pmd
"pmd/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/multithreading/DoubleCheckedLockingRu(...TRUNCATED)
DoubleCheckedLockingRule
visit
"class DoubleCheckedLockingRule extends AbstractJavaRule {\n\n @Override\n protected @NonNull (...TRUNCATED)
"\n if (node.isVoid() || node.getResultTypeNode() instanceof ASTPrimitiveType || node.getBody(...TRUNCATED)
"\n ASTMethodDeclaration method = (ASTMethodDeclaration) node;\n List<JVariableSymbol>(...TRUNCATED)
[ "List<JVariableSymbol>", "JVariableSymbol", "ASTMethodDeclaration" ]
[ "getLocalVariables" ]
["ASTIfStatement","ASTReturnStatement","List<ASTReturnStatement>","ASTExpression","List<ASTIfStateme(...TRUNCATED)
["descendants","isVolatile","isNullCheck","getLeftOperand","getBody","getExpr","isReferenceToVar","a(...TRUNCATED)
"/** \n * Reference to a variable, ie {@linkplain JLocalVariableSymbol local variable}, {@linkplain(...TRUNCATED)
"public interface JVariableSymbol extends BoundToNode<ASTVariableId>, AnnotableSymbol {\n default b(...TRUNCATED)
"{\"types\": [{\"List<JVariableSymbol>\": \"JVariableSymbol\"}, {\"JVariableSymbol\": \"JVariableSym(...TRUNCATED)
"[{\"List<JVariableSymbol>\": {\"retrieved_name\": \"JVariableSymbol\", \"raw_body\": \"/** \\n * Re(...TRUNCATED)
"[{\"getLocalVariables\": {\"retrieved_name\": \"getVariables\", \"raw_body\": \"public List<Pair<St(...TRUNCATED)
"[{\"visit\": {\"retrieved_name\": \"visit\", \"raw_body\": \"default R visit(ASTWhenClause node,P d(...TRUNCATED)
"\n ASTMethodDeclaration method = (ASTMethodDeclaration) node;\n ASTBlock block = meth(...TRUNCATED)
["ASTBlock","ASTMethodDeclaration","ASTLocalVariableDeclaration","List<ASTLocalVariableDeclaration>"(...TRUNCATED)
[ "toList", "descendants", "isEmpty", "getVariable", "getBody" ]
"/** \n * A block of code. This is a {@linkplain ASTStatement statement} thatcontains other stateme(...TRUNCATED)
"public final class ASTBlock extends ASTMaybeEmptyListOf<ASTStatement> implements ASTSwitchArrowRHS,(...TRUNCATED)
"{\"types\": [{\"ASTBlock\": \"ASTBlock\"}, {\"ASTMethodDeclaration\": \"ASTMethodDeclaration\"}, {\(...TRUNCATED)
"[{\"ASTBlock\": {\"retrieved_name\": \"ASTBlock\", \"raw_body\": \"/** \\n * A block of code. This (...TRUNCATED)
"[{\"toList\": {\"retrieved_name\": \"toList\", \"raw_body\": \"@Override public List<T> toList(){\\(...TRUNCATED)
"public final class ASTIfStatement extends AbstractPLSQLNode {\n private boolean hasElse;\n ASTIfS(...TRUNCATED)
"public final class ASTIfStatement extends AbstractPLSQLNode {\n private boolean hasElse;\n ASTIfS(...TRUNCATED)
"{\"types\": [{\"ASTIfStatement\": \"ASTIfStatement\"}, {\"ASTReturnStatement\": \"ASTReturnStatemen(...TRUNCATED)
"[{\"ASTIfStatement\": {\"retrieved_name\": \"ASTIfStatement\", \"raw_body\": \"public final class A(...TRUNCATED)
"[{\"descendants\": {\"retrieved_name\": \"descendants\", \"raw_body\": \"/** \\n * Returns a node s(...TRUNCATED)
subhra74_snowflake
snowflake/muon-app/src/main/java/muon/app/ui/laf/AppSkinDark.java
AppSkinDark
initDefaultsDark
"class AppSkinDark extends AppSkin {\r\n\r\n\t/**\r\n\t * \r\n\t */\r\n\tpublic AppSkinDark() {\r\n\(...TRUNCATED)
"\r\n\r\n\t\tColor selectionColor = new Color(3, 155, 229);\r\n\t\tColor controlColor = new Color(40(...TRUNCATED)
"/** \n * @author subhro\n */\npublic abstract class AppSkin {\n protected UIDefaults defaults;\n (...TRUNCATED)
"\n\t\tdefaults.put(\"Button.background\", new Color(20, 20, 20));\n\t\tdefaults.put(\"Button.foregr(...TRUNCATED)
[]
[ "put" ]
[ "Color" ]
[ "getName", "put" ]
"private void put(CharBuffer characters,Pair<Integer,Integer> range){\n if (ranges.containsKey(char(...TRUNCATED)
"private void put(CharBuffer characters,Pair<Integer,Integer> range){\n if (ranges.containsKey(char(...TRUNCATED)
"{\"methods\": [{\"put\": \"put\"}], \"similar_methods\": [{\"initDefaultsDark\": \"initDefaultsLigh(...TRUNCATED)
[]
"[{\"put\": {\"retrieved_name\": \"put\", \"raw_body\": \"private void put(CharBuffer characters,Pai(...TRUNCATED)
"[{\"initDefaultsDark\": {\"retrieved_name\": \"initDefaultsLight\", \"raw_body\": \"private void in(...TRUNCATED)
"\n\t\tColor selectionColor = new Color(3, 155, 229);\n\t\tColor controlColor = Color.WHITE;\n\t\tCo(...TRUNCATED)
[ "Color" ]
[]
"/** \n * @author traff\n */\n@SuppressWarnings(\"UseJBColor\") public abstract class ColorPalette {(...TRUNCATED)
"public abstract class ColorPalette {\n public static final ColorPalette XTERM_PALETTE=new ColorPal(...TRUNCATED)
"{\"types\": [{\"Color\": \"ColorPalette\"}], \"similar_methods\": [{\"initDefaultsDark\": \"initDef(...TRUNCATED)
"[{\"Color\": {\"retrieved_name\": \"ColorPalette\", \"raw_body\": \"/** \\n * @author traff\\n */\\(...TRUNCATED)
[]
"/** \n * @author traff\n */\n@SuppressWarnings(\"UseJBColor\") public abstract class ColorPalette {(...TRUNCATED)
"public abstract class ColorPalette {\n public static final ColorPalette XTERM_PALETTE=new ColorPal(...TRUNCATED)
"{\"types\": [{\"Color\": \"ColorPalette\"}], \"methods\": [{\"getName\": \"getName\"}, {\"put\": \"(...TRUNCATED)
"[{\"Color\": {\"retrieved_name\": \"ColorPalette\", \"raw_body\": \"/** \\n * @author traff\\n */\\(...TRUNCATED)
"[{\"getName\": {\"retrieved_name\": \"getName\", \"raw_body\": \"@Override public String getName(){(...TRUNCATED)
spring-cloud_spring-cloud-gateway
"spring-cloud-gateway/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/fi(...TRUNCATED)
ReactiveLoadBalancerClientFilter
choose
"class ReactiveLoadBalancerClientFilter implements GlobalFilter, Ordered {\n\n\tprivate static final(...TRUNCATED)
"\n\t\tReactorLoadBalancer<ServiceInstance> loadBalancer = this.clientFactory.getInstance(serviceId,(...TRUNCATED)
"\n\t\tLoadBalancerProperties loadBalancerProperties = clientFactory.getProperties(serviceId);\n\t\t(...TRUNCATED)
["LoadBalancerClientFactory","LoadBalancerClient","LoadBalancerProperties","Set<LoadBalancerLifecycl(...TRUNCATED)
[ "getLazyProvider", "choose", "onStart", "doOnNext", "getIfAvailable", "forEach", "getProperties" ]
["ReactorLoadBalancer<ServiceInstance>","Set<LoadBalancerLifecycle>","Request<RequestDataContext>","(...TRUNCATED)
[ "getInstance", "onStart", "forEach", "choose" ]
"public class LoadBalancerHandlerSupplier implements HandlerSupplier {\n @Override public Collectio(...TRUNCATED)
"public class LoadBalancerHandlerSupplier implements HandlerSupplier {\n public Collection<Method> (...TRUNCATED)
"{\"types\": [{\"LoadBalancerClientFactory\": \"LoadBalancerHandlerSupplier\"}, {\"LoadBalancerClien(...TRUNCATED)
"[{\"LoadBalancerClientFactory\": {\"retrieved_name\": \"LoadBalancerHandlerSupplier\", \"raw_body\"(...TRUNCATED)
"[{\"getLazyProvider\": {\"retrieved_name\": \"getKeyStoreProvider\", \"raw_body\": \"public String (...TRUNCATED)
"[{\"choose\": {\"retrieved_name\": \"options\", \"raw_body\": \"@Override public RequestHeadersUriS(...TRUNCATED)
"\n\t\tLoadBalancerProperties loadBalancerProperties = clientFactory.getProperties(serviceId);\n\t\t(...TRUNCATED)
["Set<LoadBalancerLifecycle>","LoadBalancerClient","LoadBalancerProperties","LoadBalancerClientFacto(...TRUNCATED)
[ "forEach", "doOnNext", "choose", "getIfAvailable", "getProperties", "onStartRequest", "getLazyProvider" ]
"public class TestLoadBalancerConfig {\npublic static class Httpbin {\n @Bean public ServiceInsta(...TRUNCATED)
"public class TestLoadBalancerConfig {\npublic static class Httpbin {\n public ServiceInstanceLis(...TRUNCATED)
"{\"types\": [{\"Set<LoadBalancerLifecycle>\": \"TestLoadBalancerConfig\"}, {\"LoadBalancerClient\":(...TRUNCATED)
"[{\"Set<LoadBalancerLifecycle>\": {\"retrieved_name\": \"TestLoadBalancerConfig\", \"raw_body\": \"(...TRUNCATED)
"[{\"forEach\": {\"retrieved_name\": \"isForEnabled\", \"raw_body\": \"public boolean isForEnabled()(...TRUNCATED)
"/** \n * A {@link GlobalFilter} that allows passing the {@code} instanceId) of the{@link ServiceIn(...TRUNCATED)
"public class LoadBalancerServiceInstanceCookieFilter implements GlobalFilter, Ordered {\n private (...TRUNCATED)
"{\"types\": [{\"ReactorLoadBalancer<ServiceInstance>\": \"LoadBalancerServiceInstanceCookieFilter\"(...TRUNCATED)
"[{\"ReactorLoadBalancer<ServiceInstance>\": {\"retrieved_name\": \"LoadBalancerServiceInstanceCooki(...TRUNCATED)
"[{\"getInstance\": {\"retrieved_name\": \"getInstances\", \"raw_body\": \"@Override public Flux<Ser(...TRUNCATED)
PlexPt_chatgpt-java
chatgpt-java/src/main/java/com/plexpt/chatgpt/Images.java
Images
init
"class Images {\n /**\n * keys\n */\n private String apiKey;\n\n private List<Strin(...TRUNCATED)
"\n OkHttpClient.Builder client = new OkHttpClient.Builder();\n client.addInterceptor((...TRUNCATED)
"\n this.apiClient = new Api(this.apiKey,this.apiKeyList,this.apiHost,this.okHttpClient,this.(...TRUNCATED)
[ "Proxy", "OkHttpClient", "List<String>", "Api" ]
[]
["BaseResponse","OkHttpClient.Builder","List<String>","Request","Api","Response","OkHttpClient","Pro(...TRUNCATED)
["body","addConverterFactory","parseObject","create","method","newBuilder","build","isEmpty","string(...TRUNCATED)
"@UtilityClass public class Proxys {\n /** \n * http 代理\n * @param ip\n * @param port\n * @retu(...TRUNCATED)
"public class Proxys {\n public static Proxy http( String ip, int port);\n public static Proxy s(...TRUNCATED)
"{\"types\": [{\"Proxy\": \"Proxys\"}, {\"OkHttpClient\": \"ChatContextHolder\"}, {\"List<String>\":(...TRUNCATED)
"[{\"Proxy\": {\"retrieved_name\": \"Proxys\", \"raw_body\": \"@UtilityClass public class Proxys {\\(...TRUNCATED)
[]
"[{\"init\": {\"retrieved_name\": \"init\", \"raw_body\": \"/** \\n * \\u521d\\u59cb\\u5316\\n */\\n(...TRUNCATED)
"\n OkHttpClient.Builder client = new OkHttpClient.Builder();\n client.addInterceptor((...TRUNCATED)
[ "BaseResponse", "OkHttpClient.Builder", "Proxy", "OkHttpClient", "List<String>", "Response", "Request" ]
["writeTimeout","request","build","proxy","body","getValue","addInterceptor","getMessage","header","(...TRUNCATED)
"/** \n * @author plexpt\n */\n@Data @JsonIgnoreProperties(ignoreUnknown=true) public class BaseResp(...TRUNCATED)
"public class BaseResponse<T> {\n private String object;\n private List<T> data;\n private Error (...TRUNCATED)
"{\"types\": [{\"BaseResponse\": \"BaseResponse\"}, {\"OkHttpClient.Builder\": \"ChatContextHolder\"(...TRUNCATED)
"[{\"BaseResponse\": {\"retrieved_name\": \"BaseResponse\", \"raw_body\": \"/** \\n * @author plexpt(...TRUNCATED)
"[{\"writeTimeout\": {\"retrieved_name\": \"callWithWeather\", \"raw_body\": \"private void callWith(...TRUNCATED)
"/** \n * @author plexpt\n */\n@Data @JsonIgnoreProperties(ignoreUnknown=true) public class BaseResp(...TRUNCATED)
"public class BaseResponse<T> {\n private String object;\n private List<T> data;\n private Error (...TRUNCATED)
"{\"types\": [{\"BaseResponse\": \"BaseResponse\"}, {\"OkHttpClient.Builder\": \"ChatContextHolder\"(...TRUNCATED)
"[{\"BaseResponse\": {\"retrieved_name\": \"BaseResponse\", \"raw_body\": \"/** \\n * @author plexpt(...TRUNCATED)
"[{\"body\": {\"retrieved_name\": \"main\", \"raw_body\": \"public static void main(String[] args){\(...TRUNCATED)

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
0
Add dataset card