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
Color get low threshold of color
public double getLowThreshold(){ return lowThreshold; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Color(double lowThreshold, double highThreshold){\n this.lowThreshold = lowThreshold;\n this.highThreshold = highThreshold;\n }", "int getHighLightColor();", "float getThreshold();", "double getLowerThreshold();", "private Mat getHSVThreshold(Mat image) {\r\n\t\t\r\n\t\t// conv...
[ "0.7125082", "0.6865952", "0.650056", "0.64625275", "0.64213526", "0.6382656", "0.6341211", "0.6302016", "0.6181147", "0.6072324", "0.5961192", "0.59495", "0.58941764", "0.58890676", "0.5875103", "0.5841568", "0.58352184", "0.582398", "0.57748425", "0.57530814", "0.574897", ...
0.6246667
8
getLowThreshold get high threshold of color
public double getHighThreshold() { return highThreshold; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Color(double lowThreshold, double highThreshold){\n this.lowThreshold = lowThreshold;\n this.highThreshold = highThreshold;\n }", "double getLowerThreshold();", "float getThreshold();", "public double getLowThreshold(){\n return lowThreshold;\n }", "private Ma...
[ "0.7258753", "0.7165492", "0.7128283", "0.7095448", "0.68659556", "0.68537706", "0.6645233", "0.65327615", "0.6445299", "0.6395559", "0.63874257", "0.6376792", "0.6346701", "0.63050807", "0.62859976", "0.6270642", "0.61617553", "0.6134532", "0.5960479", "0.588328", "0.5830301...
0.64625007
8
Create the test case
public BubbleSortTest(String testName) { super(testName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Testcase createTestcase();", "@Test\n public void testCreate() {\n\n }", "private void generate_test_code()\n {\n int I;\n DataType[] ParamTypes = m_Problem.getParamTypes();\n DataType ReturnType = m_Problem.getReturnType();\n TestCase[] Cases = m_Problem.getTestCases()...
[ "0.81283677", "0.6874562", "0.68583983", "0.6802808", "0.675316", "0.67282486", "0.6657648", "0.65971994", "0.65593016", "0.6553712", "0.6546584", "0.6538934", "0.6538514", "0.65184474", "0.6518316", "0.64980024", "0.64724445", "0.6466226", "0.6465721", "0.6435358", "0.642735...
0.0
-1
/ Access modifiers changed, original: protected
public boolean onStateChange(int[] state) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic ...
[ "0.7363007", "0.69838315", "0.68938893", "0.6798976", "0.67316103", "0.6725618", "0.67040884", "0.6552687", "0.65250987", "0.652329", "0.6477759", "0.64586884", "0.6440207", "0.64333117", "0.6411912", "0.64096195", "0.6405087", "0.640499", "0.640499", "0.6403298", "0.63933456...
0.0
-1
/ Access modifiers changed, original: protected
public boolean onLevelChange(int level) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic ...
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932...
0.0
-1
/ Access modifiers changed, original: protected
public void onBoundsChange(Rect bounds) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic ...
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.63...
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:12:0x0034 / JADX WARNING: Removed duplicated region for block: B:7:0x0012
public static android.graphics.drawable.Drawable createFromXmlForDensity(android.content.res.Resources r6, org.xmlpull.v1.XmlPullParser r7, int r8, android.content.res.Resources.Theme r9) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException { /* r0 = android.util.Xml.asAttributeSet(r7); L_0x0004: r1 = r7.next(); r2 = r1; r3 = 2; if (r1 == r3) goto L_0x0010; L_0x000c: r1 = 1; if (r2 == r1) goto L_0x0010; L_0x000f: goto L_0x0004; L_0x0010: if (r2 != r3) goto L_0x0034; L_0x0012: r1 = createFromXmlInnerForDensity(r6, r7, r0, r8, r9); if (r1 == 0) goto L_0x0019; L_0x0018: return r1; L_0x0019: r3 = new java.lang.RuntimeException; r4 = new java.lang.StringBuilder; r4.<init>(); r5 = "Unknown initial tag: "; r4.append(r5); r5 = r7.getName(); r4.append(r5); r4 = r4.toString(); r3.<init>(r4); throw r3; L_0x0034: r1 = new org.xmlpull.v1.XmlPullParserException; r3 = "No start tag found"; r1.<init>(r3); throw r1; */ throw new UnsupportedOperationException("Method not decompiled: android.graphics.drawable.Drawable.createFromXmlForDensity(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, int, android.content.res.Resources$Theme):android.graphics.drawable.Drawable"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, ...
[ "0.59138983", "0.5765987", "0.57467926", "0.5740711", "0.57139266", "0.566753", "0.54780746", "0.5400449", "0.53921175", "0.53819567", "0.53687584", "0.5358844", "0.53519017", "0.534588", "0.5335813", "0.5308587", "0.52693444", "0.5266303", "0.5242515", "0.52400845", "0.52370...
0.0
-1
/ JADX WARNING: Missing block: B:17:?, code skipped: r3.close();
public static android.graphics.drawable.Drawable createFromPath(java.lang.String r7) { /* r0 = 0; if (r7 != 0) goto L_0x0004; L_0x0003: return r0; L_0x0004: r1 = 8192; // 0x2000 float:1.14794E-41 double:4.0474E-320; android.os.Trace.traceBegin(r1, r7); r3 = new java.io.FileInputStream; Catch:{ IOException -> 0x002a, all -> 0x0025 } r3.<init>(r7); Catch:{ IOException -> 0x002a, all -> 0x0025 } r4 = getBitmapDrawable(r0, r0, r3); Catch:{ all -> 0x0019 } r3.close(); Catch:{ IOException -> 0x002a, all -> 0x0025 } android.os.Trace.traceEnd(r1); return r4; L_0x0019: r4 = move-exception; throw r4; Catch:{ all -> 0x001b } L_0x001b: r5 = move-exception; r3.close(); Catch:{ all -> 0x0020 } goto L_0x0024; L_0x0020: r6 = move-exception; r4.addSuppressed(r6); Catch:{ IOException -> 0x002a, all -> 0x0025 } L_0x0024: throw r5; Catch:{ IOException -> 0x002a, all -> 0x0025 } L_0x0025: r0 = move-exception; android.os.Trace.traceEnd(r1); throw r0; L_0x002a: r3 = move-exception; android.os.Trace.traceEnd(r1); return r0; */ throw new UnsupportedOperationException("Method not decompiled: android.graphics.drawable.Drawable.createFromPath(java.lang.String):android.graphics.drawable.Drawable"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo32544b() {\n try {\n this.f22289a.close();\n } catch (Throwable unused) {\n }\n }", "private void m20204b() throws IOException {\n C8487i iVar = this.f18654j;\n if (iVar != null) {\n try {\n iVar.close();\n } fina...
[ "0.6685517", "0.6596413", "0.6544666", "0.61923414", "0.6158019", "0.6111745", "0.6038557", "0.586512", "0.5851347", "0.5824207", "0.5807729", "0.5781552", "0.577061", "0.57684624", "0.5762341", "0.5744736", "0.57399136", "0.57098854", "0.56868625", "0.56805664", "0.5664306",...
0.0
-1
/ Access modifiers changed, original: 0000
@UnsupportedAppUsage public void inflateWithAttributes(Resources r, XmlPullParser parser, TypedArray attrs, int visibleAttr) throws XmlPullParserException, IOException { this.mVisible = attrs.getBoolean(visibleAttr, this.mVisible); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public final void mo51373a() {\n }", "public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n public void func_10...
[ "0.6459906", "0.644044", "0.6426957", "0.63229704", "0.6294395", "0.62598217", "0.6178835", "0.6158867", "0.6146196", "0.61357886", "0.6122259", "0.61074096", "0.6094458", "0.6082934", "0.60739666", "0.60652953", "0.60614365", "0.60453886", "0.60433483", "0.6031734", "0.60205...
0.0
-1
/ Access modifiers changed, original: final
public final void setSrcDensityOverride(int density) { this.mSrcDensityOverride = density; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private void m50366E() {\n }", "public final void mo51373a() {\n }", "@Override\n boolean isFinal() {\n return false;\n }", "@Ov...
[ "0.6830196", "0.6692951", "0.6536437", "0.65216404", "0.6512161", "0.6459532", "0.64544636", "0.6443396", "0.64093846", "0.6392295", "0.6350895", "0.63426644", "0.6327568", "0.63140607", "0.6310025", "0.62988853", "0.6227509", "0.6218424", "0.6198849", "0.6182894", "0.6181486...
0.0
-1
/ Access modifiers changed, original: 0000
@UnsupportedAppUsage public PorterDuffColorFilter updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint, Mode tintMode) { if (tint == null || tintMode == null) { return null; } int color = tint.getColorForState(getState(), 0); if (tintFilter != null && tintFilter.getColor() == color && tintFilter.getMode() == tintMode) { return tintFilter; } return new PorterDuffColorFilter(color, tintMode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public final void mo51373a() {\n }", "public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n public void func_10...
[ "0.64602184", "0.6441093", "0.6427339", "0.63231075", "0.62947446", "0.62600064", "0.6179372", "0.61590916", "0.6146667", "0.6136281", "0.61226934", "0.6107879", "0.60949004", "0.6083142", "0.6074521", "0.6065534", "0.6061899", "0.60457057", "0.60437846", "0.60320616", "0.602...
0.0
-1
/ Access modifiers changed, original: 0000
public BlendModeColorFilter updateBlendModeFilter(BlendModeColorFilter blendFilter, ColorStateList tint, BlendMode blendMode) { if (tint == null || blendMode == null) { return null; } int color = tint.getColorForState(getState(), 0); if (blendFilter != null && blendFilter.getColor() == color && blendFilter.getMode() == blendMode) { return blendFilter; } return new BlendModeColorFilter(color, blendMode); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public final void mo51373a() {\n }", "public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n public void func_10...
[ "0.64594436", "0.6438175", "0.64271986", "0.63215154", "0.62917954", "0.62590337", "0.61768776", "0.6159229", "0.6143739", "0.61331666", "0.6119048", "0.6105288", "0.6093352", "0.6083301", "0.6070811", "0.606379", "0.6060266", "0.6044352", "0.60420704", "0.6030411", "0.601785...
0.0
-1
Interface to rappresent a DMA ontroller.
interface DmaController { /** * Return the number of channel installed. */ public int getChannelCount(); /** * Return a specific DMA channel */ public DmaChannel getChannelAt(int i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will be transferred from memory to the peripheral.\n\t */\n\tpublic void dmaRequest(DmaRequestRead read) throws SIMException;\n\n\t/**\n\t * Initiate DMA request for write.\n\t * <p>\n\t * Data will be trasferred from peripher...
[ "0.6910932", "0.5546808", "0.51655257", "0.5071288", "0.5045768", "0.50446546", "0.5028921", "0.501496", "0.4976543", "0.4960416", "0.48759854", "0.48685917", "0.4854615", "0.48479334", "0.4778208", "0.4744302", "0.47004703", "0.46867284", "0.46633625", "0.46566695", "0.46454...
0.7190556
0
Return the number of channel installed.
public int getChannelCount();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getChannelCount() {\n return channel_.size();\n }", "public int getChannelCount() {\n if (channelBuilder_ == null) {\n return channel_.size();\n } else {\n return channelBuilder_.getCount();\n }\n }", "public @UInt32 int getChannelCount();", "public int getChann...
[ "0.76175904", "0.75848836", "0.7565991", "0.7489484", "0.7378484", "0.7174022", "0.7168832", "0.7061808", "0.6799913", "0.6528435", "0.6455278", "0.64233583", "0.64218557", "0.639979", "0.6352789", "0.6323657", "0.6271439", "0.62689656", "0.62180674", "0.6203182", "0.61722386...
0.76590425
0
Return a specific DMA channel
public DmaChannel getChannelAt(int i);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface DmaController\n{\n\t/**\n\t * Return the number of channel installed.\n\t */\n\tpublic int getChannelCount();\n\n\t/**\n\t * Return a specific DMA channel\n\t */\n\tpublic DmaChannel getChannelAt(int i);\n}", "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will...
[ "0.6763348", "0.6641341", "0.6158989", "0.6002332", "0.5872604", "0.587035", "0.5837806", "0.5785634", "0.5778979", "0.5720189", "0.56484747", "0.5642761", "0.56275135", "0.5622902", "0.56048936", "0.55748993", "0.5548549", "0.55475456", "0.5522808", "0.5510714", "0.5509475",...
0.6807029
0
Interface to rappresent the generic DMA request.
interface DmaRequest { /** * Return true if the operation is terminated. Normally checked after * any transfer but it is hardware depending. The name is the * name used in Intel 8237 but it was the first DMA controller * implemented. */ public boolean getDmaEOP(); /** * Return true if the data request is till active. Normally * perform another cycle but it is hardware depending. */ public boolean getDmaDREQ(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will be transferred from memory to the peripheral.\n\t */\n\tpublic void dmaRequest(DmaRequestRead read) throws SIMException;\n\n\t/**\n\t * Initiate DMA request for write.\n\t * <p>\n\t * Data will be trasferred from peripher...
[ "0.6857094", "0.6621448", "0.6531762", "0.649753", "0.64636725", "0.6411348", "0.6138688", "0.54358864", "0.54171485", "0.5310563", "0.5232647", "0.52149206", "0.5183017", "0.51421875", "0.5136058", "0.51038235", "0.5043859", "0.50012976", "0.49254358", "0.49208507", "0.49206...
0.7303453
0
Return true if the operation is terminated. Normally checked after any transfer but it is hardware depending. The name is the name used in Intel 8237 but it was the first DMA controller implemented.
public boolean getDmaEOP();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isTerminated() {\r\n\t\treturn fTerminated;\r\n\t}", "public boolean isTerminated() {\n \n \t\tfinal Thread executingThread = this.environment.getExecutingThread();\n \t\tif (executingThread.getState() == Thread.State.TERMINATED) {\n \t\t\treturn true;\n \t\t}\n \n \t\treturn false;\n \t}", "pub...
[ "0.61212337", "0.60663337", "0.6063048", "0.6030526", "0.6025688", "0.6013627", "0.6005017", "0.59912735", "0.5967747", "0.59312516", "0.5850387", "0.58487296", "0.5846782", "0.5846782", "0.5844712", "0.58375955", "0.5827242", "0.58117837", "0.577342", "0.57636607", "0.575528...
0.0
-1
Return true if the data request is till active. Normally perform another cycle but it is hardware depending.
public boolean getDmaDREQ();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isGettingData(){\n int available;\n long startTime = System.nanoTime();\n int timeout = 100;\n InputStream inStream = null;\n flushStream();\n try {\n if(socket!=null)\n inStream = socket.getInputStream();\n Thread.sleep...
[ "0.7201859", "0.6906339", "0.6866219", "0.68590164", "0.6823115", "0.6762179", "0.6717154", "0.67113054", "0.65653473", "0.65341353", "0.65120816", "0.64867735", "0.64721817", "0.64716405", "0.64657897", "0.6463306", "0.64233595", "0.64230716", "0.64055604", "0.6399434", "0.6...
0.0
-1
Interface to rappresent a DMA read operation. DMA Read operation occours when trasfer is from memory to peripheral.
interface DmaRequestRead extends DmaRequest { /** * Set the value from memory to the peripheral. */ public void setDmaValue(int value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dmaRequest(DmaRequestRead read) throws SIMException;", "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will be transferred from memory to the peripheral.\n\t */\n\tpublic void dmaRequest(DmaRequestRead read) throws SIMException;\n\n\t/**\n\t * Initiate DMA re...
[ "0.6517327", "0.6077895", "0.60577047", "0.58892554", "0.5771401", "0.5759383", "0.5713905", "0.5713905", "0.5654588", "0.55627304", "0.5559869", "0.5512619", "0.549636", "0.5480172", "0.5474782", "0.5462173", "0.54558164", "0.5445643", "0.5438964", "0.5368155", "0.5315858", ...
0.65317655
0
Set the value from memory to the peripheral.
public void setDmaValue(int value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void transferToMemory(I8237Channel c,int address ,int value) throws SIMException\n\t{\n\t\tlastByte = value;\n\t\tcpu.setByte(address,value);\n\t}", "public void set(int address, byte val) {\n try {\n direct_write(address, val);\n } catch (ArrayIndexOutOfBoundsException e) {\n ...
[ "0.65530086", "0.64062244", "0.6243009", "0.62132037", "0.6180756", "0.60149765", "0.5959867", "0.59524065", "0.59398335", "0.59291095", "0.592492", "0.59205675", "0.5904146", "0.5898513", "0.58723456", "0.5834192", "0.58182335", "0.5811509", "0.5787999", "0.57872856", "0.578...
0.64420676
1
Interface to rappresent a DMA write operation. DMA write operation occours when trasfer is from peripheral to memory.
interface DmaRequestWrite extends DmaRequest { /** * Read a byte from the peripheral */ public int getDmaValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dmaRequest(DmaRequestWrite write) throws SIMException;", "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will be transferred from memory to the peripheral.\n\t */\n\tpublic void dmaRequest(DmaRequestRead read) throws SIMException;\n\n\t/**\n\t * Initiate DMA ...
[ "0.6989482", "0.63002414", "0.59041214", "0.57785904", "0.57235116", "0.5686928", "0.5496139", "0.5486155", "0.53033674", "0.5280554", "0.5252158", "0.523473", "0.52309185", "0.52156514", "0.51826644", "0.51330113", "0.51226246", "0.5120014", "0.5117074", "0.5113479", "0.5112...
0.65565056
1
Read a byte from the peripheral
public int getDmaValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "byte readByte();", "public byte readByte() throws SerialPortException {\n\t\tif (this.available()) {\n\t\t\tbyte [] byteRead = port.readBytes(1);\n\t\t\tif(debug) {\n\t\t\t\tString byteName = String.format(\"%02x\", byteRead[0]);\n\t\t\t\tSystem.out.print(byteName + \"\\t\");;\n\t\t\t}\n\t\t\treturn byteRead[0];...
[ "0.7878027", "0.78678113", "0.7743502", "0.75593424", "0.7518925", "0.74883", "0.73684204", "0.73536575", "0.7328057", "0.718309", "0.71394694", "0.7057634", "0.698585", "0.6954709", "0.6941358", "0.69095707", "0.6817694", "0.6807504", "0.6727857", "0.67038345", "0.6682489", ...
0.0
-1
Interface to rappresent a DMA master operation. DMA master operation occours when another device take control of the bus. Of course for one simulator means can access to the cpu memory.
interface DmaRequestMaster extends DmaRequest { public void dmaMaster(CPU cpu) throws SIMException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dmaRequest(DmaRequestMaster master) throws SIMException;", "interface DmaChannel\n{\n\t/**\n\t * Initiate DMA request for read.\n\t * <p>\n\t * Data will be transferred from memory to the peripheral.\n\t */\n\tpublic void dmaRequest(DmaRequestRead read) throws SIMException;\n\n\t/**\n\t * Initiate DM...
[ "0.7235303", "0.69030464", "0.6357731", "0.5939717", "0.5707473", "0.55302477", "0.5526444", "0.5417851", "0.53839254", "0.53734255", "0.53686756", "0.52508163", "0.52291274", "0.51451164", "0.5138855", "0.51201975", "0.5118882", "0.5064494", "0.4980427", "0.4931693", "0.4920...
0.6858626
2
Interface to rappresent a complete DMA channel.
interface DmaChannel { /** * Initiate DMA request for read. * <p> * Data will be transferred from memory to the peripheral. */ public void dmaRequest(DmaRequestRead read) throws SIMException; /** * Initiate DMA request for write. * <p> * Data will be trasferred from peripheral to memory. */ public void dmaRequest(DmaRequestWrite write) throws SIMException; /** * Initiate DMA request master. * <p> * Control will be passed to the caller. */ public void dmaRequest(DmaRequestMaster master) throws SIMException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface DmaController\n{\n\t/**\n\t * Return the number of channel installed.\n\t */\n\tpublic int getChannelCount();\n\n\t/**\n\t * Return a specific DMA channel\n\t */\n\tpublic DmaChannel getChannelAt(int i);\n}", "interface DmaRequest\n{\n\t/**\n\t * Return true if the operation is terminated. Normally che...
[ "0.6928226", "0.5671353", "0.5670914", "0.5571073", "0.55481416", "0.5536333", "0.54541874", "0.54307246", "0.542501", "0.54172933", "0.53834224", "0.53398937", "0.5320284", "0.53132045", "0.5279617", "0.5270778", "0.5258923", "0.52228653", "0.5220719", "0.5215842", "0.518031...
0.75542784
0
Initiate DMA request for read. Data will be transferred from memory to the peripheral.
public void dmaRequest(DmaRequestRead read) throws SIMException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void read(IORequest request) throws MemoryFault {\n setBaseLimit();\n // sets what we need to be able to read\n int deviceNumber = machine.memory.load(Process_Table[request.prognum].base + Process_Table[request.prognum].acc);\n int platter = machine.memory.load(Process_Table[requ...
[ "0.6438579", "0.59899545", "0.5910065", "0.56283116", "0.5424836", "0.540366", "0.5391873", "0.5332774", "0.53148717", "0.52984184", "0.52741516", "0.5212393", "0.5017368", "0.49878767", "0.49860278", "0.49555954", "0.48590678", "0.48541152", "0.48396027", "0.48331782", "0.48...
0.7006572
0
Initiate DMA request for write. Data will be trasferred from peripheral to memory.
public void dmaRequest(DmaRequestWrite write) throws SIMException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void write(IORequest request) throws MemoryFault {\n setBaseLimit();\n //sets what we need for the read and write\n // System.out.println(\"[Debug] Base & Limit set\");\n int deviceNumber = machine.memory.load(Process_Table[request.prognum].base + Process_Table[request.prognum].a...
[ "0.6511915", "0.6194368", "0.5787879", "0.57620746", "0.5701801", "0.55714893", "0.5141547", "0.5005436", "0.49237174", "0.48984653", "0.48628822", "0.4841089", "0.479421", "0.47599852", "0.47521877", "0.47502342", "0.4729112", "0.47265908", "0.4712959", "0.4699074", "0.46901...
0.7322457
0
Initiate DMA request master. Control will be passed to the caller.
public void dmaRequest(DmaRequestMaster master) throws SIMException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TransferInitiateResponse initiateConsumerRequest(DataRequest dataRequest);", "public void start() {\n \t\tinit();\n\t\tif(!checkBackend()){\n\t\t\tvertx.createHttpServer().requestHandler(new Handler<HttpServerRequest>() {\n\t\t\t\tpublic void handle(HttpServerRequest req) {\n\t\t\t\t String query_type = req....
[ "0.5492422", "0.52570945", "0.51874864", "0.516259", "0.511762", "0.5097336", "0.5057938", "0.50123155", "0.50055104", "0.4999648", "0.4925892", "0.4896221", "0.48833555", "0.48584408", "0.48430675", "0.48329872", "0.48194298", "0.48088568", "0.4805752", "0.480207", "0.478707...
0.6877773
0
Dump thru log the current configuration.
void dump() { log.info("Ch # "+ch+" Mode="+Hex.formatByte(mode)+" Base="+Hex.formatWord(base.getValue())+" Count="+Hex.formatWord(count.getValue())); log.info("Ch # "+ch+" Hold="+hold+" Request="+request+" TC="+tc+" Enabled="+enabled+" Mask="+mask); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected static void dumpConfig() {\n try {\n logger.info( Configuration.CN_WKBOTANICA_API_CONTEXT_PATH + getContextPath());\n logger.info( Configuration.CN_DNS + \" \" + Configuration.CN_DNS_ADD_LOCALS + shouldAddLocalDns());\n logger.info( Configuration.CN_HTTP + \" \" + Configuration.CN_HTTP_...
[ "0.7219099", "0.6411639", "0.6312646", "0.62654585", "0.61956036", "0.61702466", "0.6157806", "0.6119197", "0.6119197", "0.6119197", "0.6115068", "0.61014205", "0.6070534", "0.60469574", "0.6040795", "0.6003308", "0.6003017", "0.5975947", "0.59692204", "0.59210354", "0.591227...
0.60869116
12
Set address hold flag If this flag is set the base is not incremented / decremented is legal only for channel 0.
void setHold(boolean b) { hold = b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void toggle()\n\t{\n\t\tbitHolder.setValue(Math.abs(bitHolder.getValue() - 1 ));\n\t\t\n\t}", "public void set()\n\t{\n\t\tbitHolder.setValue(1);\n\t}", "private void updateZeroFlagOnComp(int register, int address){\r\n\t\tif(sim40.memory[register] == sim40.memory[address]){\r\n\t\t\tswitchOnFlag(0);\r\...
[ "0.5553315", "0.5475768", "0.52964693", "0.5286908", "0.5281131", "0.52504647", "0.52365685", "0.52145356", "0.5204713", "0.5199389", "0.5184474", "0.51810986", "0.5141274", "0.51272726", "0.51195276", "0.511773", "0.51058966", "0.50993276", "0.5091772", "0.50886923", "0.5078...
0.6155933
0
Called when a timer for dma read expire
private void ackRead() throws SIMException { for (;;) { // Read a byte from memory if ((mode & MODE_TRANSFER_MASK) == MODE_TRANSFER_READ) { int v = transferFromMemory(this,base.getValue()); requestRead.setDmaValue(v); } // Increment / decrement address if requested if (hold == false) { if ((mode & MODE_DECREMENT) != 0) base.decrement(); else base.increment(); } if (isTerminate(requestRead)) { terminateDma(); return; } // In single transfer wait another dreq if ((mode & MODE_DMA_MASK) == MODE_DMA_SINGLE) { if (requestRead.getDmaDREQ() == false) { request = false; return; } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void run() {\n d2++;\r\n if (d2 == 1) {\r\n onReceive(new byte[]{Message.TIMER_MESSAGE, Message.TFP2_EXPIRE});\r\n }\r\n }", "@Override\r\n ...
[ "0.6456299", "0.63346654", "0.6295085", "0.6223996", "0.61712396", "0.60734236", "0.60698026", "0.6055884", "0.5763368", "0.57441247", "0.57085854", "0.56983167", "0.5685139", "0.56688553", "0.5665482", "0.56654596", "0.5663157", "0.5640263", "0.5605689", "0.5575993", "0.5551...
0.5024748
77
Called when a timer for dma read expire
private void ackWrite() throws SIMException { for (;;) { // Read a byte from device if ((mode & MODE_TRANSFER_MASK) == MODE_TRANSFER_WRITE) { int v =requestWrite.getDmaValue(); transferToMemory(this,base.getValue(),v); } // Increment / decrement address if requested if (hold == false) { if ((mode & MODE_DECREMENT) != 0) base.decrement(); else base.increment(); } if (isTerminate(requestWrite)) { terminateDma(); return; } // In single transfer wait another dreq if ((mode & MODE_DMA_MASK) == MODE_DMA_SINGLE) { if (requestRead.getDmaDREQ() == false) { request = false; return; } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void run() {\n d2++;\r\n if (d2 == 1) {\r\n onReceive(new byte[]{Message.TIMER_MESSAGE, Message.TFP2_EXPIRE});\r\n }\r\n }", "@Override\r\n ...
[ "0.6456299", "0.63346654", "0.6295085", "0.6223996", "0.61712396", "0.60734236", "0.60698026", "0.6055884", "0.5763368", "0.57441247", "0.57085854", "0.56983167", "0.5685139", "0.56688553", "0.5665482", "0.56654596", "0.5663157", "0.5640263", "0.5605689", "0.5575993", "0.5551...
0.0
-1
Transfer a byte to memory
void transferToMemory(I8237Channel c,int address ,int value) throws SIMException { lastByte = value; cpu.setByte(address,value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int transferFromMemory(I8237Channel c,int address) throws SIMException\n\t{\n\t\treturn (lastByte = cpu.getByte(address));\n\t}", "private void writeByte(int val) {\n dest[destPos++] = (byte) val;\n }", "protected void writeByte(final int adr, final byte data) {\r\n this.memory[adr] = data;\r\n }...
[ "0.6507348", "0.62385035", "0.61644715", "0.61592525", "0.61399853", "0.6120834", "0.6087526", "0.60610324", "0.59171647", "0.59093726", "0.5882495", "0.58690035", "0.58588886", "0.5844132", "0.58361965", "0.57438326", "0.5681176", "0.5675096", "0.56593025", "0.5624019", "0.5...
0.64891016
1
Transfer a byte from memory
int transferFromMemory(I8237Channel c,int address) throws SIMException { return (lastByte = cpu.getByte(address)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "byte readByte();", "private int readByte() {\n return src[srcPos++] & 0xFF;\n }", "void transferToMemory(I8237Channel c,int address ,int value) throws SIMException\n\t{\n\t\tlastByte = value;\n\t\tcpu.setByte(address,value);\n\t}", "private void writeByte(int val) {\n dest[destPos++] = (byte) val;\n ...
[ "0.63898206", "0.62854725", "0.6239795", "0.6093415", "0.60430187", "0.6017943", "0.60049486", "0.60039824", "0.5945361", "0.5941056", "0.5934904", "0.59130985", "0.58841234", "0.5883454", "0.5882832", "0.5835002", "0.58308756", "0.58155537", "0.57367253", "0.5729895", "0.569...
0.67712456
0
Test decode encode xml.
@Test public void testDecodeEncodeXML() { final DX_XC_Cuvol msg = new DX_XC_Cuvol(); final ByteBuffer source = ByteBuffer.wrap(baXC1); source.get(); // position + 1 msg.decodeXML(source); final ByteBuffer target = ByteBuffer.allocate(baXC1.length); target.put((byte) '%'); // position + 1 msg.encodeXML(target); System.out.println(new String(target.array())); final byte[] arraySource = source.array(); final byte[] arrayTarget = target.array(); System.out.println("source=" + new String(arraySource)); System.out.println("target=" + new String(arrayTarget)); assertTrue(Arrays.equals(arraySource, arrayTarget)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void convertBackAndForth(String xml) {\n Element element = createApiElementFromXml(xml);\n String resultXml = ElementSerializer.apiElementToXml(element).getXmlString();\n assertEquals(xml, resultXml);\n }", "public static void main(String args[]) {\n\t\t GetXMLEncoding t = new GetXMLEncoding...
[ "0.62741506", "0.6134795", "0.6102943", "0.60062426", "0.59933233", "0.59835774", "0.5931645", "0.5931645", "0.5931645", "0.5831444", "0.5814089", "0.5762019", "0.5739038", "0.5705348", "0.5643314", "0.5603046", "0.55060256", "0.54595447", "0.5453547", "0.5406797", "0.539219"...
0.6672054
0
Setting username to null in SharedPreferences
@Override public void onClick(View v) { editor.putString("username", null); editor.commit(); //Changing activity back to Login Intent i=new Intent(Home.this,LoginActivity.class); startActivity(i); finish();; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUsername(String username) {\n SharedPreferences settings = context.getSharedPreferences(PREFS, 0);\n SharedPreferences.Editor editor = settings.edit();\n editor.putString(\"username\", username);\n editor.commit(); \t\n }", "protected void ClearData() {\n\t\t// TODO...
[ "0.6647594", "0.66007465", "0.64606893", "0.64566773", "0.6428726", "0.6378201", "0.6293828", "0.6241817", "0.62050086", "0.61934584", "0.6186857", "0.6186857", "0.61421067", "0.6122919", "0.612277", "0.6087338", "0.60601175", "0.60601175", "0.60601175", "0.60601175", "0.6027...
0.58187306
45
/ JADX WARNING: Incorrect type for immutable var: ssa=java.util.List, code=java.util.List, for r5v0, types: [java.util.List] / renamed from: a / Code decompiled incorrectly, please refer to instructions dump.
public static /* synthetic */ p163g.p201e.p203b.p204d.C5419r.C5420a m18181a(p163g.p201e.p203b.p204d.C5419r.C5420a r3, com.bamtech.sdk4.account.DefaultAccount r4, java.util.List<com.bamtech.sdk4.subscription.Subscription> r5, boolean r6, boolean r7, boolean r8, int r9, java.lang.Object r10) { /* r10 = r9 & 1 if (r10 == 0) goto L_0x0006 com.bamtech.sdk4.account.DefaultAccount r4 = r3.f12933a L_0x0006: r10 = r9 & 2 if (r10 == 0) goto L_0x000c java.util.List<com.bamtech.sdk4.subscription.Subscription> r5 = r3.f12934b L_0x000c: r10 = r5 r5 = r9 & 4 if (r5 == 0) goto L_0x0013 boolean r6 = r3.f12935c L_0x0013: r0 = r6 r5 = r9 & 8 if (r5 == 0) goto L_0x001a boolean r7 = r3.f12936d L_0x001a: r1 = r7 r5 = r9 & 16 if (r5 == 0) goto L_0x0021 boolean r8 = r3.f12937e L_0x0021: r2 = r8 r5 = r3 r6 = r4 r7 = r10 r8 = r0 r9 = r1 r10 = r2 g.e.b.d.r$a r3 = r5.mo17152a(r6, r7, r8, r9, r10) return r3 */ throw new UnsupportedOperationException("Method not decompiled: p163g.p201e.p203b.p204d.C5419r.C5420a.m18181a(g.e.b.d.r$a, com.bamtech.sdk4.account.DefaultAccount, java.util.List, boolean, boolean, boolean, int, java.lang.Object):g.e.b.d.r$a"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo56923b(List<C4122e> list);", "void mo100444b(List<C40429b> list);", "public abstract void mo56920a(List<C4122e> list);", "public XSListSimpleType asList() {\n // This method could not be decompiled.\n // \n // Original Bytecode:\n // \n // 0: idiv...
[ "0.6765574", "0.67410094", "0.66651404", "0.62610304", "0.6258763", "0.6240953", "0.6237402", "0.620667", "0.60704064", "0.60144407", "0.5950786", "0.5900606", "0.5891543", "0.58735937", "0.58509", "0.5840738", "0.58300513", "0.5813532", "0.5777626", "0.5728856", "0.57136273"...
0.0
-1
/ renamed from: a
public final DefaultAccount mo17151a() { return this.f12933a; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final C5420a mo17152a(DefaultAccount defaultAccount, List<Subscription> list, boolean z, boolean z2, boolean z3) { C5420a aVar = new C5420a(defaultAccount, list, z, z2, z3); return aVar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public final boolean mo17153b() { return this.f12936d; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: c
public final List<Subscription> mo17154c() { return this.f12934b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.646086", "0.6442468", "0.6433268", "0.64192164", "0.6413362", "0.63989705", "0.62524456", "0.624802", "0.62461454", "0.62326145", "0.6192456", "0.61676776", "0.61534023", "0.61514014", "0.61394924", "0.6138327", "0.6131722", "0.6104166", "0.6099028", "0.6077975", "0.606239...
0.0
-1
/ renamed from: d
public final boolean mo17155d() { return this.f12935c; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: e
public final boolean mo17156e() { return this.f12937e; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: a
public final C5420a invoke(C5420a aVar) { C5420a aVar2 = new C5420a(null, null, false, true, this.f12938c.f12932d.mo13695j(), 7, null); return aVar2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void mo17161a(Throwable th) { Timber.m44523a(th); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final C5420a invoke(C5420a aVar) { return C5420a.m18181a(aVar, null, null, true, false, false, 27, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void accept(Disposable disposable) { this.f12940c.updateState(C5425a.f12941c); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final C5420a invoke(C5420a aVar) { C5420a aVar2 = new C5420a((DefaultAccount) this.f12943c.mo31015c(), (List) this.f12943c.mo31016d(), false, false, false, 28, null); return aVar2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void accept(Pair<DefaultAccount, ? extends List<Subscription>> pair) { this.f12942c.updateState(new C5427a(pair)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void mo17166a(Throwable th) { ((C5419r) this.receiver).m18179a(th); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: y
public final void mo17150y() { Timber.m44522a("refreshAccount", new Object[0]); Single g = this.f12930b.getAccount().mo30134g(); Intrinsics.checkReturnedValueIsNotNull((Object) g, "accountApi.getAccount().toSingle()"); Single c = C11920c.m38475a(g, this.f12931c.getSubscriptions()).mo30222c((Consumer<? super Disposable>) new C5424e<Object>(this)); Intrinsics.checkReturnedValueIsNotNull((Object) c, "accountApi.getAccount().…opy(isLoading = true) } }"); Object a = c.mo30215a((C11974s<T, ? extends R>) C11793e.m37930a(getViewModelScope())); Intrinsics.checkReturnedValueIsNotNull(a, "this.`as`(AutoDispose.autoDisposable(provider))"); ((C11792d0) a).mo29920a(new C5426f(this), new C5432t(new C5428g(this))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double y() { return _y; }", "java.lang.String getY();", "public void NewY(double y){\n\t\tthis.y = y;\n\t}", "public double y() { return y; }", "public int y() {\n\t\treturn y;\n\t}", "private void yy() {\n\n\t}", "public int y()\r\n {\r\n return y;\r\n }", "public int y(){\n ...
[ "0.6337819", "0.624017", "0.6237072", "0.62028676", "0.61974466", "0.6186448", "0.6166311", "0.61634994", "0.6150882", "0.61491144", "0.6137541", "0.6119411", "0.61064714", "0.6083832", "0.60780823", "0.60266775", "0.6015981", "0.60147", "0.5977113", "0.5952844", "0.5935724",...
0.0
-1
/ JADX WARNING: type inference failed for: r0v6, types: [g.e.b.d.r$d, kotlin.jvm.functions.Function1] / JADX WARNING: type inference failed for: r0v7 / JADX WARNING: type inference failed for: r2v0, types: [g.e.b.d.t] / JADX WARNING: type inference failed for: r0v9 / access modifiers changed from: private / JADX WARNING: Multivariable type inference failed / JADX WARNING: Unknown variable types count: 2 / renamed from: a / Code decompiled incorrectly, please refer to instructions dump.
public final void m18179a(java.lang.Throwable r4) { /* r3 = this; r0 = 0 java.lang.Object[] r0 = new java.lang.Object[r0] java.lang.String r1 = "Refresh Account failed" p686n.p687a.Timber.m44528b(r4, r1, r0) g.e.b.d.r$b r4 = new g.e.b.d.r$b r4.<init>(r3) r3.updateState(r4) com.bamtechmedia.dominguez.core.d r4 = r3.f12932d boolean r4 = r4.mo13695j() if (r4 != 0) goto L_0x0051 io.reactivex.disposables.Disposable r4 = r3.f12929a if (r4 != 0) goto L_0x0051 com.bamtechmedia.dominguez.core.d r4 = r3.f12932d io.reactivex.Completable r4 = r4.mo13697n() g.n.a.c0 r0 = r3.getViewModelScope() g.n.a.h r0 = p163g.p503n.p504a.C11793e.m37930a(r0) java.lang.Object r4 = r4.mo30048a(r0) java.lang.String r0 = "this.`as`(AutoDispose.au…isposable<Any>(provider))" kotlin.jvm.internal.Intrinsics.checkReturnedValueIsNotNull(r4, r0) g.n.a.v r4 = (p163g.p503n.p504a.C11839v) r4 g.e.b.d.r$c r0 = new g.e.b.d.r$c r0.<init>(r3) g.e.b.d.s r1 = new g.e.b.d.s r1.<init>(r0) g.e.b.d.r$d r0 = p163g.p201e.p203b.p204d.C5419r.C5423d.f12939c if (r0 == 0) goto L_0x0049 g.e.b.d.t r2 = new g.e.b.d.t r2.<init>(r0) r0 = r2 L_0x0049: io.reactivex.functions.Consumer r0 = (p520io.reactivex.functions.Consumer) r0 io.reactivex.disposables.Disposable r4 = r4.mo29926a(r1, r0) r3.f12929a = r4 L_0x0051: return */ throw new UnsupportedOperationException("Method not decompiled: p163g.p201e.p203b.p204d.C5419r.m18179a(java.lang.Throwable):void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.66236615", "0.65974236", "0.6510953", "0.64511436", "0.6438523", "0.63648933", "0.63465816", "0.6324998", "0.62772846", "0.62708", "0.62417465", "0.62373596", "0.62205046", "0.6200457", "0.6194951", "0.6187222", "0.61684287", "0.6163671", "0.61594635", "0.614595", "0.61406...
0.0
-1
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String fn[] = new String[20];
public static void main(String[] a) throws IOException { Scanner in = new Scanner(System.in); System.out.println("Введите название файла."); //fn = br.readLine(); System.out.println("Читайте ReadMe.txt\n\n" + "Выберите вариант:\n" + "1 - Показать все записи со всеми атрибутами.\n" + "2 - Показать только дату и текст.\n" + "3 - Поиск по id.\n" + "4 - Добавить запись\n" + "5 - Удалить запись по id"); try { // Создается построитель документа DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document document = documentBuilder.parse("Other.xml"); //Document document = documentBuilder.parse(fn); Node root = document.getDocumentElement(); NodeList books = root.getChildNodes(); //int k = 1; int k = in.nextInt(); String fn = "1"; switch(k) { case 1: int idd=0; System.out.println("\nСписок записей:\n"); for (int i = 0; i < books.getLength(); i++) { Node book = books.item(i); if (book.getNodeType() != Node.TEXT_NODE) { // idd++; // System.out.println("id: " + idd); NodeList bookProps = book.getChildNodes(); //System.out.println(bookProps.getLength()); for(int j = 0; j < bookProps.getLength(); j++) { Node bookProp = bookProps.item(j); if (bookProp.getNodeType() != Node.TEXT_NODE /*&& bookProp.getNodeName() != "id"*/) { System.out.println(bookProp.getNodeName() + ":" + bookProp.getChildNodes().item(0).getTextContent()); } } System.out.println("==============="); } } break; case 2: System.out.println("\nСписок записей:\n"); for (int i = 0; i < books.getLength(); i++) { Node book = books.item(i); if (book.getNodeType() != Node.TEXT_NODE) { NodeList bookProps = book.getChildNodes(); //System.out.println(bookProps.getLength()); for(int j = 0; j < bookProps.getLength(); j++) { Node bookProp = bookProps.item(j); if (bookProp.getNodeType() != Node.TEXT_NODE && (bookProp.getNodeName() == "Text" || bookProp.getNodeName() == "Date")) { System.out.println(/*bookProp.getNodeName() + ":" +*/ bookProp.getChildNodes().item(0).getTextContent()); } } System.out.println("===================="); } } break; case 3: System.out.println("\nВведите id для поиска:"); int id = in.nextInt(); //int id = 2; System.out.println("id - " + id); System.out.println(); XPathFactory pathFactory = XPathFactory.newInstance(); XPath xpath = pathFactory.newXPath(); XPathExpression expr = xpath.compile("DayilyPlanner/Plan[id=" + id + "]"); NodeList nodes = (NodeList) expr.evaluate(document, XPathConstants.NODESET); //for (int i = 0; i < nodes.getLength(); i++) { Node book = books.item(id*2-1); if (book.getNodeType() != Node.TEXT_NODE) { NodeList bookProps = book.getChildNodes(); //System.out.println(bookProps.getLength()); for(int j = 0; j < bookProps.getLength(); j++) { Node bookProp = bookProps.item(j); if (bookProp.getNodeType() != Node.TEXT_NODE && bookProp.getNodeName() != "id") { System.out.println(bookProp.getNodeName() + ":" + bookProp.getChildNodes().item(0).getTextContent()); } } } //} break; case 4: addNewBook(document); break; case 5: System.out.println("\nВведите id для удаления:"); //int id_d = 1; int id_d = in.nextInt(); XPathFactory xpf = XPathFactory.newInstance(); XPath xpaths = xpf.newXPath(); XPathExpression expression = xpaths.compile("DayilyPlanner/Plan[id="+id_d+"]"); //NodeList nodes = (NodeList) expr.evaluate(document, XPathConstants.NODESET); Node b13Node = (Node) expression.evaluate(document, XPathConstants.NODE); b13Node.getParentNode().removeChild(b13Node); writeDocument(document); /*TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(); t.transform(new DOMSource(document), new StreamResult(System.out));*/ break; default: System.out.println("Ошибка. Введено неверное значение"); } } catch (ParserConfigurationException | IOException | SAXException | XPathExpressionException ex) { ex.printStackTrace(System.out); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\r\n \t try{\r\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n String input=br.readLine();\r\n int N=Integer.parseInt(input);\r\n input=br.readLine();\r\n String[] values=inp...
[ "0.62928736", "0.6115996", "0.6091963", "0.6002328", "0.5874816", "0.5862682", "0.57898027", "0.5773434", "0.5760954", "0.575597", "0.5754604", "0.57517314", "0.57231814", "0.57174146", "0.57024705", "0.56997484", "0.56781584", "0.5654655", "0.56514406", "0.56510866", "0.5610...
0.0
-1
Logs in to Admin Panel.
public void login(final String login, final String password) { AdminLoginPage loginPage = new AdminLoginPage(driver); this.dashboardPage = loginPage.open() .fillEmail(login) .fillPassword(password) .submitLogin(); setCurrentPage(dashboardPage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void adminLogin() {\n\t\tdriver.get(loginUrl);\r\n\t\t// fill the form\r\n\t\tdriver.findElement(By.name(\"username\")).sendKeys(USERNAME);\r\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(PASSWORD);\r\n\t\t// submit login\r\n\t\tdriver.findElement(By.name(\"btn_submit\")).click();\r\n\t}", "pri...
[ "0.7858823", "0.77569616", "0.7443784", "0.72197866", "0.70635265", "0.70455754", "0.6893533", "0.6853983", "0.6781251", "0.6676913", "0.66641843", "0.6611617", "0.65828973", "0.6570528", "0.6451387", "0.64188826", "0.6417879", "0.64030015", "0.64025193", "0.6377155", "0.6373...
0.60186964
59
Waits until page loader disappears from the page
public void waitForContentLoad() { verifyPageIsOpened(currentPage.get(), "Please open some page before the waiting for content to load."); currentPage.get().waitLoadFinished(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void waitForPageToLoad() {\n Wait<WebDriver> wait = new WebDriverWait(WebDriverManager.getDriver(), 90);\n wait.until(new Function<WebDriver, Boolean>() {\n public Boolean apply(WebDriver driver) {\n return String\n .valueOf(((JavascriptExecutor...
[ "0.73480576", "0.7265261", "0.70904803", "0.7048916", "0.7040599", "0.69736594", "0.68952966", "0.675164", "0.67497027", "0.6608911", "0.65442353", "0.6535112", "0.65250653", "0.65049595", "0.6493896", "0.6474446", "0.6455752", "0.64551806", "0.6442813", "0.64298886", "0.6405...
0.6807652
7
Runs simple tests for a basic graph service.
public static void main(String[] args) { if (args.length < 1) { usage(); } parseArgs(args); debug(debug, "Initializing file: " + filename); BasicGraphService bgs = new BasicGraphService(); int status = bgs.bulkload(filename); debug(debug, "Loading done on file: " + filename); switch (status) { case -42: System.out.println("File not found on server"); break; case -43: System.out.println("Error while parsing file"); break; case -44: System.out.println("Not enough memory to build mapping"); break; case -45: System.out.println("Function called more than once"); break; default: debug(debug, "Loading succesful"); Random random = new Random(); long before = System.currentTimeMillis(); for (int i = 0; i < iterations; i++) { int key = random.nextInt(maxRandInt); debug(debug,"Key: " + key + "\t" +bgs.getConnections(key).toString()); } long after = System.currentTimeMillis(); debug(debug, "time: " + (after - before) + " milliseconds"); // throughput test, run 10 test per 1 second for (int i = 0; i < 10; i++) { throughput(bgs); } break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Graph testGraph();", "public static void main(String[] args) {\n System.out.println(\"Running graphTest ...\");\n graphTest();\n\n // Then run 100 randomlyAddUntilReachable() tests and print the individual and average results\n int numTests = 100;\n int[] results = new int[numT...
[ "0.6868202", "0.6674118", "0.6614797", "0.6451523", "0.6311426", "0.6287346", "0.62608105", "0.6256786", "0.60586375", "0.60353374", "0.6022255", "0.6010744", "0.5991442", "0.59623575", "0.59567773", "0.59551096", "0.5947219", "0.59231", "0.5916965", "0.5889707", "0.58896863"...
0.0
-1
Print a simple usage message.
public static void usage() { System.out.println("Usage: java <java-class> [-d] [-m <value>] FILENAME"); System.out.println("\t -d \t\t Enable debug mode."); System.out.println("\t -m <value>\t Set the maximum random value " + "to a specific integer value."); System.out.println("\t -n <value>\t Set the number of iterations " + "for the test."); System.out.println("\n"); System.exit(1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void printUsage(){\n\t\tprintLine(USAGE_STRING);\n\t}", "public void printUsage() {\n printUsage(System.out);\n }", "protected static void printUsage() {\n\t}", "private static void usage()\n {\n System.out.println(\"usage:\");\n System.out.println(\" ??? clock [-bg...
[ "0.82847565", "0.79976726", "0.7972067", "0.7727029", "0.7582092", "0.7559898", "0.75221664", "0.74879384", "0.7443525", "0.7434551", "0.743116", "0.7400457", "0.74002445", "0.73840827", "0.7381569", "0.7332697", "0.73138714", "0.7304847", "0.7300174", "0.72999793", "0.724128...
0.6468853
57
Parse commandline arguments. Instead of mixing this code into the code in main, we use this function to allow easier extension of the number of arguments.
public static void parseArgs(String[] args) { int argc = args.length, i = 0; for (; i < argc; i++) { if (args[i].equals("-d")) { debug = true; } else if(args[i].equals("-m")) { try { maxRandInt = Integer.parseInt(args[++i]); } catch(NumberFormatException e) { System.out.println( "Maximum random value must be a valid integer!" ); usage(); } } else if(args[i].equals("-n")) { try { iterations = Integer.parseInt(args[++i]); } catch(NumberFormatException e) { System.out.println( "Iteration value must be a valid integer!" ); usage(); } } else { filename = args[i]; } } if (filename.equals("")) { System.out.println("Must supply a filename!\n"); usage(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void parseArgs(String[] args) {\n // Arguments are pretty simple, so we go with a basic switch instead of having\n // yet another dependency (e.g. commons-cli).\n for (int i = 0; i < args.length; i++) {\n int nextIdx = (i + 1);\n String arg = args[i];\n ...
[ "0.6712555", "0.67104465", "0.67099565", "0.6702787", "0.6663954", "0.66249233", "0.65142184", "0.6485147", "0.648468", "0.6464776", "0.64327645", "0.6403772", "0.63982", "0.6376369", "0.637359", "0.63332075", "0.6306359", "0.62637824", "0.6230295", "0.62299633", "0.615775", ...
0.72422945
0
Runs as many operations as possible on bgs for 1000 milliseconds
public static void throughput(BasicGraphService bgs) { Random random = new Random(); long timer = System.currentTimeMillis(); long dif = 0l; int ops = 0; while(dif < 1000) { int key = random.nextInt(maxRandInt); bgs.getConnections(key); dif = System.currentTimeMillis() - timer; ops++; } debug(debug, "operations in 1 second: " + ops); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void crunch(){\n cpuBurstTime--;\n rem--;\n }", "static void loopcomp () {\r\n\t\tint t40k= timer(8000,40000); \r\n\t\tint t1k= timer(8000,1000); \r\n\t\tSystem.out.println(\"Total number of loops for printing every 40k loops = \" + t40k);\r\n\t\tSystem.out.println(\"Total number of loops...
[ "0.6372247", "0.6196487", "0.61605334", "0.60223067", "0.60189795", "0.5980132", "0.59742904", "0.59742904", "0.59697664", "0.59586465", "0.5951114", "0.59404695", "0.59367675", "0.5926295", "0.58982784", "0.5874206", "0.5862164", "0.58424014", "0.5833638", "0.5808201", "0.57...
0.66483355
0
Prints message, message, if d is true.
public static void debug(boolean d, String message) { if(d) { System.out.println(message); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void debugger(int d, int l, String msg){\n if(d >= l){\n System.out.println(msg);\n }\n }", "public void d() {\n\t\tSystem.out.println(\"d method\");\n\t}", "public static void debug(boolean d) {\n D = d;\n }", "public static void d(String msg) {\n\t\td(TAG_D...
[ "0.6617865", "0.60682994", "0.60582405", "0.60183847", "0.59664196", "0.5842754", "0.5809559", "0.5783405", "0.5762398", "0.57495224", "0.57393825", "0.57058716", "0.56862736", "0.56614053", "0.56554824", "0.56445485", "0.56147075", "0.5580815", "0.55785316", "0.55690515", "0...
0.7814476
0
Returns true iff this participant run in debug mode, otherwise returns false.
boolean isDebug();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDebug( ) {\n\t\treturn debug;\n\t}", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "public boolean isDebug();", "public boolean isDebug()\n\t{\n\t\treturn this.debug;\n\t}", "public boolean isDebug() {\n\t\treturn _debug;\n\t}...
[ "0.7993149", "0.79232407", "0.79232407", "0.79156834", "0.79022163", "0.78255415", "0.7806784", "0.77446586", "0.7734325", "0.77257264", "0.762753", "0.76028955", "0.7593455", "0.75880843", "0.75378615", "0.7514465", "0.74651074", "0.742588", "0.7384318", "0.73812497", "0.737...
0.7849359
6
TODO Autogenerated method stub
public void onClick(DialogInterface dialog, int which) { mOpenCvCameraView.enableView(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Context Any arbitrary contextual information regarding the event, captured by the agent, optionally provided by the user
@JsonProperty("context") public Context getContext() { return context; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Context extends ExtensionPoint {\n /**\n * Context initialization with parameters.\n */\n void init();\n /**\n * Context run.\n */\n void run();\n /**\n * @return The created user interaction context.\n */\n UserInteractionContext getUserInteractionContext...
[ "0.5989506", "0.5662441", "0.5501421", "0.5480951", "0.5445157", "0.5444872", "0.5439428", "0.5439428", "0.54390216", "0.54094046", "0.54012084", "0.539649", "0.5388368", "0.5354897", "0.5319686", "0.5305199", "0.5269899", "0.52687794", "0.518951", "0.518947", "0.5176569", ...
0.0
-1
Information about the originally thrown error.
@JsonProperty("exception") public ExceptionInfo getException() { return exception; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String getError(){\n return lastKnownError;\n }", "public Throwable getReason() { return err; }", "public Object getError() {\n\t\treturn error;\n\t}", "String getCauseException();", "public Throwable getOriginalException()\n/* 28: */ {\n/* 29:56 */ return this.originalE;\n/*...
[ "0.6948197", "0.67180485", "0.67174983", "0.6617938", "0.66061825", "0.6599216", "0.6599216", "0.6599216", "0.65816337", "0.65640956", "0.65108025", "0.6341988", "0.6341988", "0.63083076", "0.6299835", "0.6287493", "0.6287493", "0.6287493", "0.6270193", "0.6255801", "0.624477...
0.0
-1
UUID for the error
@JsonProperty("id") public TransactionId getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getErrorUuid();", "com.google.protobuf.ByteString\n getErrorUuidBytes();", "java.lang.String getUUID();", "String getUuid();", "UUID getUUID();", "public String getUserUuid() throws SystemException;", "public String getUserUuid() throws SystemException;", "public String getUserU...
[ "0.8725949", "0.78177345", "0.6932658", "0.67805177", "0.6720506", "0.6544248", "0.6544248", "0.6544248", "0.6544248", "0.6536934", "0.6536934", "0.6536934", "0.6517255", "0.65132535", "0.6486459", "0.6473191", "0.64676344", "0.6456337", "0.6456337", "0.6456337", "0.6456337",...
0.0
-1
Additional information added when logging the error.
@JsonProperty("log") public Log getLog() { return log; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logGenericUserError() {\n\n }", "protected abstract void logError(Exception e);", "abstract void errorLogCustom(String tag, String message);", "protected void logException(Exception e) {\r\n if (log.isErrorEnabled()) {\r\n log.logError(LogCodes.WPH2004E, e, e.getClass().getName(...
[ "0.6465609", "0.64457893", "0.64206", "0.63499355", "0.63191384", "0.6265074", "0.626395", "0.6259427", "0.6230445", "0.61480993", "0.6139755", "0.61265415", "0.6087562", "0.6077084", "0.60662645", "0.60597366", "0.6042004", "0.60324556", "0.603109", "0.6023048", "0.60209876"...
0.0
-1
Recorded time of the error, UTC based and formatted as YYYYMMDDTHH:mm:ss.sssZ (Required)
@JsonProperty("timestamp") public Date getTimestamp() { return timestamp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.Timestamp getErrorTime();", "com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder();", "UtcT time_stamp () throws BaseException;", "public double GetTimeError(){\n\t\treturn this.timeError;\n\t}", "T getEventTime();", "private String timeConversion() {\n Calendar local ...
[ "0.7148809", "0.6521598", "0.64568114", "0.58128816", "0.57611346", "0.5692714", "0.5685005", "0.563978", "0.5604584", "0.56030726", "0.56030726", "0.55991024", "0.55768895", "0.55593354", "0.55475986", "0.5511238", "0.55008036", "0.5490458", "0.5487303", "0.5476263", "0.5465...
0.0
-1
Data for correlating errors with transactions
@JsonProperty("transaction") public TransactionReference getTransaction() { return transaction; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Message> verifyTransaction(Transaction t) {\n LOG.debug(\"verifyTransaction() started\");\n\n // List of error messages for the current transaction\n List<Message> errors = new ArrayList();\n\n // Check the chart of accounts code\n if (t.getChart() == null) {\n ...
[ "0.6422749", "0.5653076", "0.5650738", "0.556826", "0.55048954", "0.533285", "0.5318304", "0.52800417", "0.52572846", "0.52403885", "0.5240212", "0.52193207", "0.5211704", "0.5196331", "0.51783425", "0.51666373", "0.5138567", "0.5122746", "0.5109993", "0.5096768", "0.50902486...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Dog dog1=new Dog("tommy"); Dog dog2=new Dog("Jimmy"); Cat cat1=new Cat("SmellyCat"); Cat cat2=new Cat("pheobe"); QueueWithLinkedList queue=new QueueWithLinkedList(); queue.enquque(dog1); queue.enquque(dog2); queue.enquque(cat2); queue.enquque(dog2); System.out.println(queue.dequeueCat()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
/ access modifiers changed from: 0000
public final Iterator<Entry<FieldDescriptorType, Object>> descendingIterator() { if (this.zzaxp) { return new zzrq(this.zzaxo.zzrc().iterator()); } return this.zzaxo.zzrc().iterator(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Member mo23408O();", "@Override\n public void func_104112_b() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void prot() {\n }", "public void m23075a() {\n }", "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public void m...
[ "0.65168345", "0.6417889", "0.6403412", "0.6346675", "0.6299906", "0.62951195", "0.6244629", "0.6228537", "0.620437", "0.6192846", "0.6189669", "0.61808765", "0.6173851", "0.6169742", "0.616948", "0.6162881", "0.6150504", "0.6149917", "0.61402553", "0.6134384", "0.6133215", ...
0.0
-1
/ JADX WARNING: Code restructure failed: missing block: B:10:0x0026, code lost: r1 = true; / JADX WARNING: Code restructure failed: missing block: B:14:0x002e, code lost: if ((r3 instanceof byte[]) == false) goto L_0x0043; / JADX WARNING: Code restructure failed: missing block: B:5:0x001b, code lost: if ((r3 instanceof com.google.android.gms.internal.gtm.zzrn) == false) goto L_0x0043; / JADX WARNING: Code restructure failed: missing block: B:9:0x0024, code lost: if ((r3 instanceof com.google.android.gms.internal.gtm.zzrf) == false) goto L_0x0043; / Code decompiled incorrectly, please refer to instructions dump.
private static void zza(com.google.android.gms.internal.gtm.zzug r2, java.lang.Object r3) { /* com.google.android.gms.internal.gtm.zzre.checkNotNull(r3) int[] r0 = com.google.android.gms.internal.gtm.zzqu.zzaxr com.google.android.gms.internal.gtm.zzul r2 = r2.zzrs() int r2 = r2.ordinal() r2 = r0[r2] r0 = 1 r1 = 0 switch(r2) { case 1: goto L_0x0040; case 2: goto L_0x003d; case 3: goto L_0x003a; case 4: goto L_0x0037; case 5: goto L_0x0034; case 6: goto L_0x0031; case 7: goto L_0x0028; case 8: goto L_0x001e; case 9: goto L_0x0015; default: goto L_0x0014; } L_0x0014: goto L_0x0043 L_0x0015: boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzsk if (r2 != 0) goto L_0x0026 boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrn if (r2 == 0) goto L_0x0043 goto L_0x0026 L_0x001e: boolean r2 = r3 instanceof java.lang.Integer if (r2 != 0) goto L_0x0026 boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzrf if (r2 == 0) goto L_0x0043 L_0x0026: r1 = 1 goto L_0x0043 L_0x0028: boolean r2 = r3 instanceof com.google.android.gms.internal.gtm.zzps if (r2 != 0) goto L_0x0026 boolean r2 = r3 instanceof byte[] if (r2 == 0) goto L_0x0043 goto L_0x0026 L_0x0031: boolean r0 = r3 instanceof java.lang.String goto L_0x0042 L_0x0034: boolean r0 = r3 instanceof java.lang.Boolean goto L_0x0042 L_0x0037: boolean r0 = r3 instanceof java.lang.Double goto L_0x0042 L_0x003a: boolean r0 = r3 instanceof java.lang.Float goto L_0x0042 L_0x003d: boolean r0 = r3 instanceof java.lang.Long goto L_0x0042 L_0x0040: boolean r0 = r3 instanceof java.lang.Integer L_0x0042: r1 = r0 L_0x0043: if (r1 == 0) goto L_0x0046 return L_0x0046: java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException java.lang.String r3 = "Wrong object type used with protocol message reflection." r2.<init>(r3) goto L_0x004f L_0x004e: throw r2 L_0x004f: goto L_0x004e */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzqt.zza(com.google.android.gms.internal.gtm.zzug, java.lang.Object):void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.72860056", "0.6867491", "0.681474", "0.66417605", "0.66159284", "0.6572995", "0.65477", "0.6518042", "0.64983964", "0.64805055", "0.64497894", "0.63700163", "0.63678265", "0.63522655", "0.63453203", "0.6341588", "0.6281527", "0.6235655", "0.62281805", "0.6224531", "0.61998...
0.64531964
10
we only need to calculate how many 0s are surrounded
public int islandPerimeter(int[][] grid) { flag = new boolean[grid.length][grid[0].length]; for(int i=0;i<grid.length;++i) { Arrays.fill(flag[i], false); } for(int i=0;i<grid.length;++i) { for(int j=0;j<grid[0].length;++j) { if(grid[i][j] == 1) return find0s(grid,i,j); } } return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int solution(int[] c) {\n \n int count = 0, i = 0;\n \n while (i < c.length - 1) {\n if (c[i] == 0) {\n if (i + 2 < c.length && c[i + 2] == 0) {\n count++;\n i = i + 2;\n } else if (c[i + 1] == 0) {\n ...
[ "0.65206987", "0.6398725", "0.6246789", "0.6235123", "0.62298596", "0.62256175", "0.61704326", "0.61627597", "0.61527526", "0.61177003", "0.610121", "0.60637784", "0.6060834", "0.603033", "0.59779346", "0.5970683", "0.5970683", "0.59692615", "0.5962319", "0.5956316", "0.59552...
0.0
-1
Returns the scan status of the given repository
@Path ("alreadyScanning/{repositoryId}") @GET @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (permissions = ArchivaRoleConstants.OPERATION_RUN_INDEXER) ScanStatus getScanStatus( @PathParam ("repositoryId") String repositoryId ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SearchStatus getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "int getStatus();", "public SearchResponse getStatus();"...
[ "0.6230873", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6023501", "0.6011552", "0.59398454", "0.59398454", "0.59398454", "0.5899563", "0.5854584", "0.5835585", "0.57503265", "0.574391", ...
0.754091
0
permissions are checked in impl will copy an artifact from the source repository to the target repository
@Path ("copyArtifact") @POST @Consumes ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true) ActionStatus copyArtifact( ArtifactTransferRequest artifactTransferRequest ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "VcsRepositoryUrl copyRepository(String sourceProjectKey, String sourceRepositoryName, String targetProjectKey, String targetRepositoryName) throws VersionControlException;", "public void execute() throws MojoExecutionException, MojoFailureException {\n\n File target = new File(getDistfolder());\n\n ...
[ "0.63928354", "0.63334525", "0.6188503", "0.6010976", "0.59176534", "0.5635645", "0.5532433", "0.55227566", "0.550008", "0.54848933", "0.5474282", "0.54281944", "0.54234666", "0.53958124", "0.5384227", "0.536058", "0.5345325", "0.53390723", "0.5332421", "0.5324835", "0.531283...
0.5914033
5
permissions are checked in impl
@Path ("deleteArtifact") @POST @Consumes ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true) ActionStatus deleteArtifact( Artifact artifact ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "abstract public void getPermission();", "public boolean checkPermission(Permission permission);", "private PermissionHelper...
[ "0.82739615", "0.81041056", "0.7628189", "0.7324823", "0.7281938", "0.7160182", "0.71380526", "0.70928836", "0.7068847", "0.70444256", "0.7031926", "0.6936335", "0.6932931", "0.69294065", "0.692269", "0.6913387", "0.69120425", "0.68891275", "0.6851074", "0.6826081", "0.682214...
0.0
-1
permissions are checked in impl
@Path ("projectVersion/{repositoryId}/{namespace}/{projectId}/{version}") @DELETE @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true) ActionStatus removeProjectVersion( @PathParam ( "repositoryId" ) String repositoryId, @PathParam ( "namespace" ) String namespace, @PathParam ( "projectId" ) String projectId, @PathParam ( "version" ) String version ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "abstract public void getPermission();", "public boolean checkPermission(Permission permission);", "private PermissionHelper...
[ "0.82739615", "0.81041056", "0.7628189", "0.7324823", "0.7281938", "0.7160182", "0.71380526", "0.70928836", "0.7068847", "0.70444256", "0.7031926", "0.6936335", "0.6932931", "0.69294065", "0.692269", "0.6913387", "0.69120425", "0.68891275", "0.6851074", "0.6826081", "0.682214...
0.0
-1
Returns the permission status for the current user and the given repository.
@Path ("isAuthorizedToDeleteArtifacts/{repositoryId}") @GET @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true, noRestriction = true) PermissionStatus getPermissionStatus( @PathParam ("repositoryId") String repoId ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "UserStatus getStatus();", "public int getUserModificationPermission() {\n return permission;\n }", "String checkUserAccessOnProject(Long id, String username);", "String getPermission();", "int getPermissionRead();", "boolean isSystemUser() throws RepositoryException;", "public String getAutho...
[ "0.56660825", "0.53432375", "0.53186667", "0.51917064", "0.5185188", "0.5115161", "0.509831", "0.5081896", "0.5075592", "0.50450593", "0.50322765", "0.5012878", "0.5010638", "0.4981", "0.49738413", "0.49348837", "0.4905391", "0.48980445", "0.48896137", "0.48878056", "0.487413...
0.61430264
0
permissions are checked in impl
@Path ("deleteGroupId") @GET @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true) ActionStatus deleteGroupId( @QueryParam ("groupId") String groupId, @QueryParam ("repositoryId") String repositoryId ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "abstract public void getPermission();", "public boolean checkPermission(Permission permission);", "private PermissionHelper...
[ "0.82739615", "0.81041056", "0.7628189", "0.7324823", "0.7281938", "0.7160182", "0.71380526", "0.70928836", "0.7068847", "0.70444256", "0.7031926", "0.6936335", "0.6932931", "0.69294065", "0.692269", "0.6913387", "0.69120425", "0.68891275", "0.6851074", "0.6826081", "0.682214...
0.0
-1
permissions are checked in impl
@Path ("project/{repositoryId}/{groupId}/{projectId}") @DELETE @Produces ({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN }) @RedbackAuthorization (noPermission = true) ActionStatus deleteProject( @PathParam ("groupId") String groupId, @PathParam ("projectId") String projectId, @PathParam ("repositoryId") String repositoryId ) throws ArchivaRestServiceException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "abstract public void getPermission();", "public boolean checkPermission(Permission permission);", "private PermissionHelper...
[ "0.82739615", "0.81041056", "0.7628189", "0.7324823", "0.7281938", "0.7160182", "0.71380526", "0.70928836", "0.7068847", "0.70444256", "0.7031926", "0.6936335", "0.6932931", "0.69294065", "0.692269", "0.6913387", "0.69120425", "0.68891275", "0.6851074", "0.6826081", "0.682214...
0.0
-1
Created by Timur on 29.11.2015. Copyright Timur Tasci
public interface ISubsManager { public void subscribe(NodeId nodeId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "private void poetries() {\n\n\t}", "private void strin() {\n\n\t}", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "private void kk12() {\n\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "protected boolean f...
[ "0.59440917", "0.57918894", "0.5755465", "0.5724719", "0.57041407", "0.56389594", "0.56356025", "0.5617201", "0.5612061", "0.5611283", "0.5611283", "0.5605442", "0.55955344", "0.5585317", "0.5575517", "0.55476683", "0.5540892", "0.5530286", "0.551348", "0.550834", "0.54802954...
0.0
-1
This method constructors a class signature string from a clazz.
public String classSignature(ClassLoader loader) { String desc = ""; List<Pair<String,List<Type.Reference>>> classes = type.components(); if(classes.get(classes.size()-1).second().size() > 0) { desc += "<"; for(Type t : classes.get(classes.size()-1).second()) { if(t instanceof Type.Variable) { Type.Variable tv = (Type.Variable) t; desc += tv.variable() + ":"; Type lb = tv.lowerBound(); // The following check is needed to deal with the case // where the type bounds are only interfaces. In this // case, there must be an extra colon indicating the // absence of super class. It's actually really annoying // since it couples this code with ClassTable ... grrr. try { Clazz tmp = loader.loadClass((Type.Clazz) lb); if (tmp.isInterface()) { desc += ":"; } desc += ClassFile.descriptor(lb, true); } catch (ClassNotFoundException ce) { throw new RuntimeException("Type bound " + lb + " not found"); } } else { throw new RuntimeException("Type Variable required in Class Signature!"); } } desc += ">"; } if (superClazz != null) { desc += ClassFile.descriptor(superClazz, true); } for (Type t : interfaces) { desc += ClassFile.descriptor(t, true); } return desc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "<S> S fromStr(String s, Class<S> clazz);", "private Class<?> defineClass(String paramString, URL paramURL) throws IOException {\n/* 364 */ byte[] arrayOfByte = getBytes(paramURL);\n/* 365 */ CodeSource codeSource = new CodeSource(null, (Certificate[])null);\n/* 366 */ if (!paramString.equals(\"sun.re...
[ "0.5932025", "0.56984705", "0.5694801", "0.56562865", "0.56135494", "0.55539006", "0.5516716", "0.5508009", "0.53357685", "0.5283802", "0.5273814", "0.5267552", "0.525558", "0.5252549", "0.52483827", "0.52374804", "0.5229919", "0.5225072", "0.52191633", "0.51695603", "0.51651...
0.0
-1
set expected behavior on dao
public void testGetBrand() throws Exception { brandDao.expects(once()).method("getBrand") .will(returnValue(new Brand())); Brand brand = brandManager.getBrand(brandId); assertTrue(brand != null); brandDao.verify(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testAop() {\n\n Dao dao = daoImpl;\n dao.insert();\n LOGGER.info(\"----------分割线----------\");\n dao.delete();\n LOGGER.info(\"----------分割线----------\");\n dao.update();\n }", "@Test\n public void testPersistentSituation(){\n System.out.pri...
[ "0.62028843", "0.586933", "0.5843555", "0.58371645", "0.5829341", "0.580015", "0.578086", "0.574728", "0.5747126", "0.5715471", "0.5636851", "0.56126094", "0.5580187", "0.55779415", "0.557412", "0.55689776", "0.55686885", "0.55659723", "0.55498326", "0.5536875", "0.5535788", ...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { SpeechTokenizer s = new SpeechTokenizer("도쿄에서 신주쿠까지 가는 방법은"); Vector<String> x = s.getTokens(); WordAnalyzer w = new WordAnalyzer(x); w.parsePosition(); Vector<String> answer = w.getAnalyzed(); for(String a : answer) { System.out.println(a); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Returns the currently running job, or null if none.
public Job currentJob() { return currentJob; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized RunningJobImpl get(final String jobIdentifier) {\n final RunningJobImpl result = this.jobs.get(jobIdentifier);\n if (null == result) {\n throw new RuntimeException(\"Trying to get a RunningJob that is unknown: \" + jobIdentifier);\n }\n return result;\n }", "public Job getJ...
[ "0.7017034", "0.6988489", "0.6850822", "0.68000567", "0.6747117", "0.67467046", "0.67008257", "0.6619339", "0.65499955", "0.6480314", "0.64066815", "0.6393096", "0.63736194", "0.63308436", "0.6328501", "0.6327196", "0.6324136", "0.6274202", "0.62487966", "0.62154186", "0.6209...
0.76267517
0
Create a new AbstractControllerContext.
public AbstractControllerContext(Object name, ControllerContextActions actions) { this(name, null, actions, null, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "public AbstractControllerContext(Object name, Object target)\n {\n if (name == null)\n throw new IllegalArgumentException(\"Null name\");\n \n this.name = name;\n this.target = target;\n initScopeInfo();\n }", "Context createContext(...
[ "0.64389193", "0.6348996", "0.6312603", "0.6312603", "0.60471153", "0.6046029", "0.59852767", "0.5968315", "0.5961755", "0.59564024", "0.5908559", "0.59032965", "0.5847388", "0.5838011", "0.5812786", "0.57734054", "0.5699122", "0.56567556", "0.5629218", "0.5607864", "0.556287...
0.60682034
4
Create a new AbstractControllerContext.
public AbstractControllerContext(Object name, ControllerContextActions actions, DependencyInfo dependencies) { this(name, null, actions, dependencies, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "public AbstractControllerContext(Object name, Object target)\n {\n if (name == null)\n throw new IllegalArgumentException(\"Null name\");\n \n this.name = name;\n this.target = target;\n initScopeInfo();\n }", "Context createContext(...
[ "0.64407533", "0.6349693", "0.63127905", "0.63127905", "0.6069015", "0.6045984", "0.5985594", "0.5969809", "0.5960782", "0.5955005", "0.59082025", "0.59045815", "0.58488923", "0.5838556", "0.58141917", "0.5773367", "0.5698503", "0.5657177", "0.5630985", "0.56078386", "0.55628...
0.6048364
5
Create a new AbstractControllerContext.
public AbstractControllerContext(Object name, ControllerContextActions actions, DependencyInfo dependencies, Object target) { this(name, null, actions, dependencies, target); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "public AbstractControllerContext(Object name, Object target)\n {\n if (name == null)\n throw new IllegalArgumentException(\"Null name\");\n \n this.name = name;\n this.target = target;\n initScopeInfo();\n }", "Context createContext(...
[ "0.64407533", "0.6349693", "0.63127905", "0.63127905", "0.6069015", "0.6048364", "0.6045984", "0.5985594", "0.5969809", "0.5960782", "0.5955005", "0.59082025", "0.58488923", "0.5838556", "0.58141917", "0.5773367", "0.5698503", "0.5657177", "0.5630985", "0.56078386", "0.556282...
0.59045815
12
Create a new AbstractControllerContext.
public AbstractControllerContext(Object name, Set<Object> aliases, ControllerContextActions actions, DependencyInfo dependencies, Object target) { if (name == null) throw new IllegalArgumentException("Null name"); if (actions == null) throw new IllegalArgumentException("Null actions"); this.name = name; this.actions = actions; if (dependencies == null) this.dependencies = new AbstractDependencyInfo(); else this.dependencies = dependencies; this.target = target; setAliases(aliases); initScopeInfo(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "public AbstractControllerContext(Object name, Object target)\n {\n if (name == null)\n throw new IllegalArgumentException(\"Null name\");\n \n this.name = name;\n this.target = target;\n initScopeInfo();\n }", "Context createContext(...
[ "0.64407533", "0.6349693", "0.63127905", "0.63127905", "0.6069015", "0.6048364", "0.6045984", "0.5985594", "0.5960782", "0.5955005", "0.59082025", "0.59045815", "0.58488923", "0.5838556", "0.58141917", "0.5773367", "0.5698503", "0.5657177", "0.5630985", "0.56078386", "0.55628...
0.5969809
8
Create a new AbstractControllerContext.
public AbstractControllerContext(Object name, Object target) { if (name == null) throw new IllegalArgumentException("Null name"); this.name = name; this.target = target; initScopeInfo(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeContext();", "Context createContext();", "Context createContext();", "public AbstractControllerContext(Object name, ControllerContextActions actions)\n {\n this(name, null, actions, null, null);\n }", "public AbstractControllerContext(Object name, ControllerContextActio...
[ "0.64389193", "0.6312603", "0.6312603", "0.60682034", "0.60471153", "0.6046029", "0.59852767", "0.5968315", "0.5961755", "0.59564024", "0.5908559", "0.59032965", "0.5847388", "0.5838011", "0.5812786", "0.57734054", "0.5699122", "0.56567556", "0.5629218", "0.5607864", "0.55628...
0.6348996
1
Set the aliases Aliases in this list only take effect if they are set before installation on the controller
public void setAliases(Set<Object> aliases) { // WARNING: This code is hack for backwards compatiblity // Here we fixup the aliases to map JMX like ObjectNames to their canonical form // I've made it a protected method needsAnAlias so others can subclass and // change the rules (including not doing this at all) // NOTE: This method should be invoked from all constructors if (aliases == null) { // There are no explicit aliases so just see whether the name is an ObjectName. Object alias = needsAnAlias(name); // No alias required if (alias == null) this.aliases = null; else // Add a single alias with canonical name this.aliases = Collections.singleton(alias); } else { // Always clone the aliases passed it this.aliases = new HashSet<Object>(); // Check the main name Object alias = needsAnAlias(name); if (alias != null) this.aliases.add(alias); // Check the aliases for (Object passedAlias : aliases) { this.aliases.add(passedAlias); alias = needsAnAlias(passedAlias); if (alias != null) this.aliases.add(alias); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addAliases(String... aliases) {\n this.aliases.addAll(Lists.newArrayList(aliases));\n Collections.sort(this.aliases);\n }", "public String[] getAliases()\n\t{\n\t\treturn aliases;\n\t}", "protected String[] getAliases() {\n \t\treturn null;\n \t}", "public void setAlias(String al...
[ "0.67892057", "0.6727583", "0.6677254", "0.6515308", "0.6366875", "0.62558836", "0.62029743", "0.60937953", "0.60756576", "0.60439885", "0.6039404", "0.6001126", "0.59718275", "0.5968379", "0.5925024", "0.5924568", "0.59165406", "0.5870539", "0.5863948", "0.5857699", "0.57633...
0.68243223
0
Initialise the scope info
protected void initScopeInfo() { String className = null; Object target = getTarget(); if (target != null) className = target.getClass().getName(); setScopeInfo(new AbstractScopeInfo(getName(), className)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void initialise() {\r\n loadDefaultConfig();\r\n loadCustomConfig();\r\n loadSystemConfig();\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"--- Scope properties ---\");\r\n for (Iterator i = properties.keySet().iterator(); i.hasNext(); ) {\r\n ...
[ "0.7020777", "0.68576854", "0.66784227", "0.6589649", "0.63835174", "0.6318611", "0.6288667", "0.62714773", "0.6185626", "0.6172282", "0.6109736", "0.6094283", "0.60786694", "0.60647136", "0.6055359", "0.6055359", "0.6055359", "0.6055359", "0.60469174", "0.6042539", "0.603268...
0.80258834
0
Whether the given name needs an alias By default we just add aliases for JMX like ObjectNames to have a canonical name alias
protected Object needsAnAlias(Object original) { return JMXObjectNameFix.needsAnAlias(original); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAliasname(String aliasname) {\n this.aliasname = aliasname;\n }", "public void setAlias(String alias);", "public String getAliasName() {\n return name;\n }", "public String getAliasName() {\n return name;\n }", "public String getAliasName() {\n ...
[ "0.6628607", "0.6466762", "0.6463623", "0.6463623", "0.6463623", "0.6463623", "0.6393802", "0.6373675", "0.63246363", "0.63246363", "0.6319121", "0.6229122", "0.61593544", "0.59984815", "0.5978138", "0.597362", "0.59665084", "0.59366626", "0.59301674", "0.59293485", "0.589732...
0.73123455
0
Creates an AccessControlField with a permission select and a path textfield.
public AccessControlField(Map<Long, String> permissions) { this(permissions, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AccessControlField(Map<Long, String> permissions, Map<Long, String> accessTypes) {\n if (permissions == null || permissions.isEmpty()) {\n throw new IllegalArgumentException(\"AccessControlField requires a non-empty collection of permission entries.\");\n }\n this.permissions...
[ "0.54718333", "0.5116314", "0.50925094", "0.5031128", "0.49572298", "0.49187422", "0.48835698", "0.48532325", "0.48106858", "0.4723561", "0.4697371", "0.46865", "0.46718398", "0.46618932", "0.46480155", "0.46163544", "0.46017182", "0.45919946", "0.45771182", "0.45717564", "0....
0.6007249
0
Creates an AccessControlField with a permission type select, accesstype select and a path textfield.
public AccessControlField(Map<Long, String> permissions, Map<Long, String> accessTypes) { if (permissions == null || permissions.isEmpty()) { throw new IllegalArgumentException("AccessControlField requires a non-empty collection of permission entries."); } this.permissions = permissions; this.accessTypes = accessTypes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AccessControlField(Map<Long, String> permissions) {\n this(permissions, null);\n }", "public AAccessLevel() {\n initComponents();\n }", "Builder addAccessibilityControl(String value);", "public AccessControl createAccessControl(ConfigElement params)\n\t\tthrows ACLParseException {\...
[ "0.6005122", "0.54494995", "0.5124535", "0.5007321", "0.50057435", "0.49724635", "0.49400735", "0.49301958", "0.4908996", "0.48521063", "0.48001063", "0.47635615", "0.47102088", "0.47005245", "0.46863887", "0.46664587", "0.46353135", "0.46202102", "0.46198872", "0.45808205", ...
0.5866452
1
/ Make sure to propagate inner value changes when validation is visible (i.e. field is invalid); so that corrected values are validated on the fly and eventually remove validation marks.
@Override public void setValidationVisible(boolean validateAutomatically) { super.setValidationVisible(validateAutomatically); if (validateAutomatically && valueChangeListener == null) { valueChangeListener = new ValueChangeListener() { @Override public void valueChange(Property.ValueChangeEvent event) { fireValueChange(false); } }; for (Field<?> field : fieldGroup.getFields()) { field.addValueChangeListener(valueChangeListener); } } else if (!validateAutomatically && valueChangeListener != null) { for (Field<?> field : fieldGroup.getFields()) { field.removeValueChangeListener(valueChangeListener); } valueChangeListener = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tprotected void revalidate() {\n\t\t\tvalid = true;\n\t\t}", "protected void updateValidity(){}", "@Override\n\t\tpublic void validate() throws ValidationError {\n\t\t\tif (newValueOfPropertyToChange < 0) {\n\t\t\t\tthrow new TestFailure(\"propertyToChange is not ok\");\n\t\t\t}\n\t\t}", "publi...
[ "0.6211397", "0.6104858", "0.6039163", "0.6013932", "0.59084916", "0.5842757", "0.5777524", "0.5777524", "0.5777524", "0.5735205", "0.565044", "0.5571506", "0.555329", "0.55496925", "0.55377054", "0.5506952", "0.55068505", "0.5501239", "0.54288256", "0.54177225", "0.5406167",...
0.53317416
24
A hook to the path field for the current entry, in order to choose and update its path.
public interface PathChooserHandler { /** * Invoked with the current entry's path property to use as a default value. * Implementations are expected to set the value back to this property when done. */ void openChooser(Property<String> pathProperty); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updatePath() {\n\t\tString oldPath = this.path;\n\t\tif (materializePath()) {\n\t\t\tPageAlias.create(this, oldPath);\n\t\t\tupdateChildPaths();\n\t\t}\n\t}", "public void changePath(String newPath){\n this.path=newPath;\n }", "public void setPath(String path)\r\n/* 21: */ {\r\n/* 22:...
[ "0.6753227", "0.6238678", "0.6221901", "0.6211535", "0.6211535", "0.61707723", "0.6112537", "0.6042584", "0.59598273", "0.5944384", "0.591328", "0.5836252", "0.5822215", "0.581505", "0.58115476", "0.57875896", "0.5755488", "0.5754942", "0.57273215", "0.57165676", "0.5700248",...
0.64784133
1
Invoked with the current entry's path property to use as a default value. Implementations are expected to set the value back to this property when done.
void openChooser(Property<String> pathProperty);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setDefaultPath(String path) {\n\t\tPATH = path;\n\t}", "private void setDefaultPath(){\n\t\tdownloadPath = System.getProperty(\"user.home\") + File.separator + \"Downloads\" + File.separator;\n\t\tif(!downloadPath.endsWith(File.separator)){\n\t\t\tdownloadPath += File.separator;\n\t\t}\n\t\tc...
[ "0.6104568", "0.60956466", "0.5971871", "0.57040155", "0.5629396", "0.5590991", "0.5572615", "0.5554205", "0.55482215", "0.5513866", "0.5426096", "0.53480566", "0.5333619", "0.53270376", "0.5312824", "0.5305385", "0.5275882", "0.52555424", "0.5250887", "0.52270997", "0.522459...
0.0
-1
Este constructor se usa para construir bloqueos, ya que no necesitamos mas valores que el titulo y duracion saber si esta borrado y la llave foranea del evento
public DetalleEvento(String titulo, int duracion, int borrado, int evento, int bloequeo) { this.titulo = titulo; this.duracion = duracion; this.borrado = borrado; this.evento = evento; this.bloequeo = bloequeo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LecturaPorEvento() \r\n {\r\n }", "public Event() {\n this.name = null;\n this.description = null;\n this.date = new GregorianCalendar();\n }", "public EventException() {\n super(\"OOPS!!! The description or time of an event cannot be empty.\");\n }", "public Ev...
[ "0.6274657", "0.61824876", "0.6094245", "0.6045257", "0.5941114", "0.590674", "0.5896028", "0.57979035", "0.57867086", "0.57654095", "0.572315", "0.5691826", "0.5688708", "0.56502116", "0.5639754", "0.5598323", "0.5598323", "0.55645657", "0.5541776", "0.5521685", "0.55194753"...
0.7237637
0
TODO Autogenerated method stub
public static void main(String[] args) { Produto objeto = new Produto(15,"Caneta",100,50); //objeto.setId(1); //objeto.setDescricao("NOTEBOOK"); //objeto.setValorCompra(100); //objeto.setValorVenda(2000); System.out.println("getVenda().................:" + objeto.getVenda()); System.out.println("getValorVista()............:" + objeto.getValorVista()); System.out.println("getValorVista(float).......:" + objeto.getValorVista(10)); objeto.atualizaValor(10); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Creates new form ProdutoCadastroGUI
public ProdutoCadastroGUI() throws SQLException { initComponents(); listarGrupo(); listarUnidade(); janelapai = null; janelapai2 = null; janelapai3 = null; janelapai4 = null; try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); // UIManager.setLookAndFeel("com.sun.java.swing.plaf.smoothmetal.SmoothmetalLookAndAndFeel"); //UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel"); //UIManager.setLookAndFeel(seta_look); SwingUtilities.updateComponentTreeUI(this); } catch (Exception erro) { JOptionPane.showMessageDialog(null, erro); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }", "public CadastroProdutoNew() {\n initComponents();\n }", "FORM createFORM();", "public frmMain() {\n initComp...
[ "0.75038683", "0.7390931", "0.712883", "0.7096025", "0.705022", "0.6991099", "0.69721144", "0.6961374", "0.6916422", "0.6915007", "0.6903268", "0.6882798", "0.68502647", "0.6845775", "0.6839141", "0.68354315", "0.68322057", "0.68235546", "0.6823198", "0.68227005", "0.68212175...
0.65981907
58
public ProdutoConsultarGUI janelapaim; This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jScrollPane1 = new javax.swing.JScrollPane(); tfa_similar = new javax.swing.JTextArea(); jb_cancelar = new javax.swing.JButton(); jb_salvar = new javax.swing.JButton(); jtf_codigo = new javax.swing.JTextField(); jLabel6 = new javax.swing.JLabel(); jtf_concentração = new javax.swing.JTextField(new LimitadorTexto(45), "",10); jcb_unidade = new javax.swing.JComboBox(); jLabel8 = new javax.swing.JLabel(); jcb_grupo = new javax.swing.JComboBox(); jtf_estoqueIdeal = new javax.swing.JTextField(new LimitadorTexto(11), "",10); jLabel5 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jtf_nome = new javax.swing.JTextField(new LimitadorTexto(80), "",10); jLabel4 = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jtf_estoqueMinimo = new javax.swing.JTextField(new LimitadorTexto(11), "",10); jLabel2 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jLabel9 = new javax.swing.JLabel(); jcb_sub = new javax.swing.JComboBox(); jScrollPane1.setName("jScrollPane1"); // NOI18N tfa_similar.setColumns(20); tfa_similar.setRows(5); tfa_similar.setName("tfa_similar"); // NOI18N jScrollPane1.setViewportView(tfa_similar); setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); setTitle("Cadastrando Produto"); setResizable(false); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosed(java.awt.event.WindowEvent evt) { formWindowClosed(evt); } public void windowOpened(java.awt.event.WindowEvent evt) { formWindowOpened(evt); } }); getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); jb_cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/medicalpharm/image/exit.png"))); // NOI18N jb_cancelar.setText("Cancelar"); jb_cancelar.setMaximumSize(new java.awt.Dimension(101, 33)); jb_cancelar.setName("jb_cancelar"); // NOI18N jb_cancelar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jb_cancelarActionPerformed(evt); } }); getContentPane().add(jb_cancelar, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 20, -1, 35)); jb_salvar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/com/medicalpharm/image/gravar_registro.gif"))); // NOI18N jb_salvar.setText("Salvar"); jb_salvar.setName("jb_salvar"); // NOI18N jb_salvar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jb_salvarActionPerformed(evt); } }); getContentPane().add(jb_salvar, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 20, -1, 35)); jtf_codigo.setEditable(false); jtf_codigo.setName("jtf_codigo"); // NOI18N getContentPane().add(jtf_codigo, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 40, 94, -1)); jLabel6.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel6.setText("Nome comercial "); jLabel6.setName("jLabel6"); // NOI18N getContentPane().add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, -1, -1)); jtf_concentração.setDocument(new UnaccentedDocument()); jtf_concentração.setName("jtf_concentração"); // NOI18N jtf_concentração.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jtf_concentraçãoActionPerformed(evt); } }); jtf_concentração.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jtf_concentraçãoFocusGained(evt); } }); jtf_concentração.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { jtf_concentraçãoKeyPressed(evt); } }); getContentPane().add(jtf_concentração, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, 420, -1)); jcb_unidade.setEditable(true); jcb_unidade.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" })); jcb_unidade.setName("jcb_unidade"); // NOI18N jcb_unidade.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jcb_unidadeActionPerformed(evt); } }); jcb_unidade.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jcb_unidadeFocusGained(evt); } public void focusLost(java.awt.event.FocusEvent evt) { jcb_unidadeFocusLost(evt); } }); getContentPane().add(jcb_unidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 190, 70, -1)); jLabel8.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel8.setText("Estoque Minimo *"); jLabel8.setName("jLabel8"); // NOI18N getContentPane().add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 220, -1, -1)); jcb_grupo.setEditable(true); jcb_grupo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" })); jcb_grupo.setName("jcb_grupo"); // NOI18N jcb_grupo.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jcb_grupoActionPerformed(evt); } }); getContentPane().add(jcb_grupo, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 190, 120, -1)); jtf_estoqueIdeal.addKeyListener(new java.awt.event.KeyAdapter() { // cria um listener ouvinte de digitação do fieldNumero public void keyReleased(java.awt.event.KeyEvent evt) { // cria um ouvinte para cada tecla pressionada jtf_estoqueIdeal.setText(jtf_estoqueIdeal.getText().replaceAll("[^0-9]", "")); // faz com que pegue o texto a cada tecla digitada, e substituir tudo que não(^) seja numero por "" } }); jtf_estoqueIdeal.setName("jtf_estoqueIdeal"); // NOI18N jtf_estoqueIdeal.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jtf_estoqueIdealFocusGained(evt); } public void focusLost(java.awt.event.FocusEvent evt) { jtf_estoqueIdealFocusLost(evt); } }); jtf_estoqueIdeal.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { jtf_estoqueIdealKeyPressed(evt); } }); getContentPane().add(jtf_estoqueIdeal, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 240, 80, -1)); jLabel5.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel5.setText("Unidade *"); jLabel5.setName("jLabel5"); // NOI18N getContentPane().add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, -1, -1)); jLabel7.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel7.setText("Estoque Ideal *"); jLabel7.setName("jLabel7"); // NOI18N getContentPane().add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 220, -1, -1)); jtf_nome.setDocument(new UnaccentedDocument()); jtf_nome.setName("jtf_nome"); // NOI18N jtf_nome.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jtf_nomeFocusGained(evt); } }); jtf_nome.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { jtf_nomeKeyPressed(evt); } public void keyReleased(java.awt.event.KeyEvent evt) { jtf_nomeKeyReleased(evt); } }); getContentPane().add(jtf_nome, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 90, 420, -1)); jLabel4.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel4.setText("Grupo *"); jLabel4.setName("jLabel4"); // NOI18N getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 170, -1, -1)); jLabel1.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel1.setText("Código"); jLabel1.setName("jLabel1"); // NOI18N getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, -1, -1)); jLabel3.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel3.setText("Produto / Apresentação *"); jLabel3.setName("jLabel3"); // NOI18N getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 70, -1, -1)); jtf_estoqueMinimo.addKeyListener(new java.awt.event.KeyAdapter() { // cria um listener ouvinte de digitação do fieldNumero public void keyReleased(java.awt.event.KeyEvent evt) { // cria um ouvinte para cada tecla pressionada jtf_estoqueMinimo.setText(jtf_estoqueMinimo.getText().replaceAll("[^0-9]", "")); // faz com que pegue o texto a cada tecla digitada, e substituir tudo que não(^) seja numero por "" } }); jtf_estoqueMinimo.setName("jtf_estoqueMinimo"); // NOI18N jtf_estoqueMinimo.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jtf_estoqueMinimoActionPerformed(evt); } }); jtf_estoqueMinimo.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jtf_estoqueMinimoFocusGained(evt); } }); getContentPane().add(jtf_estoqueMinimo, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 240, 82, -1)); jLabel2.setText("Observação: Os campos com asteristico na frente são obrigatórios "); jLabel2.setName("jLabel2"); // NOI18N getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 270, -1, -1)); jButton1.setText("..."); jButton1.setName("jButton1"); // NOI18N jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 190, 30, -1)); jButton2.setText("..."); jButton2.setName("jButton2"); // NOI18N jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 190, 30, -1)); jLabel9.setFont(new java.awt.Font("Dialog", 0, 12)); jLabel9.setText("Sub-Grupo*"); jLabel9.setName("jLabel9"); // NOI18N getContentPane().add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 170, -1, -1)); jcb_sub.setEditable(true); jcb_sub.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "" })); jcb_sub.setName("jcb_sub"); // NOI18N jcb_sub.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { jcb_subMouseClicked(evt); } }); jcb_sub.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jcb_subActionPerformed(evt); } }); jcb_sub.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { jcb_subFocusGained(evt); } public void focusLost(java.awt.event.FocusEvent evt) { jcb_subFocusLost(evt); } }); getContentPane().add(jcb_sub, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 190, 130, 20)); java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); setBounds((screenSize.width-484)/2, (screenSize.height-336)/2, 484, 336); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Consultar_Cita() {\n initComponents();\n this.setLocationRelativeTo(null);\n mostrartabla(\"\");\n //Llenar();\n }", "public ProdutoCadastroGUI() throws SQLException {\n initComponents();\n listarGrupo();\n listarUnidade();\n janelapai = null;\n ...
[ "0.7653767", "0.76431817", "0.7407404", "0.7359507", "0.7326021", "0.73251456", "0.7299789", "0.7299113", "0.7297552", "0.726184", "0.72564405", "0.7236759", "0.7216041", "0.7196339", "0.71896285", "0.7184016", "0.71789163", "0.71740234", "0.7166539", "0.7154799", "0.7143526"...
0.0
-1