text
stringlengths 177
3.67k
|
---|
<s>[INST] serialize tree using preorder dfs concode_field_sep int index concode_field_sep Node deserializeUtil concode_elem_sep String serializeLevelOrder concode_elem_sep void serializeUtil concode_elem_sep void main concode_elem_sep Node deserializeLevelOrder concode_elem_sep Node deserialize [/INST] String function ( Node arg0 ) { StringBuffer loc0 = new StringBuffer ( ) ; serializeUtil ( arg0 , loc0 ) ; return loc0 . toString ( ) ; </s> |
<s>[INST] copy a file if the source exist . concode_field_sep int BUFSIZE concode_elem_sep Logger LOG concode_elem_sep ThreadLocal cwd_ concode_field_sep void mkLink concode_elem_sep void mkLink concode_elem_sep void fileCopy concode_elem_sep void warn concode_elem_sep String calcRelativeLink concode_elem_sep void debug concode_elem_sep String getArtifact concode_elem_sep String run concode_elem_sep void setCwd concode_elem_sep String mavenCopy concode_elem_sep void error concode_elem_sep void info [/INST] void function ( final String arg0 , final String arg1 ) { fileCopyIfExist ( arg0 , arg1 , false ) ; </s> |
<s>[INST] check whether servlet which uses runas with different role than in needed for secured ejb invocation can not correctly invoked that ejb method in httpservlet.destroy method during stopping server . concode_field_sep String DEPLOYMENT concode_elem_sep String incorrectRoleResult concode_elem_sep File CORRECT_ROLE_AND_UNDEPLOY concode_elem_sep String correctRoleResult concode_elem_sep File WORK_DIR concode_elem_sep ManagementClient managementClient concode_elem_sep Deployer deployer concode_elem_sep File INCORRECT_ROLE_AND_STOP_SERVER concode_elem_sep File INCORRECT_ROLE_AND_UNDEPLOY concode_elem_sep File CORRECT_ROLE_AND_STOP_SERVER concode_field_sep void checkDoGetMethodWithCorrectRole concode_elem_sep void runDestroyMethodInUndeploying concode_elem_sep void checkDoGetMethodWithIncorrectRole concode_elem_sep void checkDestroyInUndeployingMethodWithIncorrectRole concode_elem_sep String readFirstLineOfFile concode_elem_sep void checkDestroyMethodInStopServerWithCorrectRole concode_elem_sep void checkInitMethodWithIncorrectRole concode_elem_sep void checkInitMethodWithCorrectRole concode_elem_sep void checkDestroyInUndeployingMethodWithCorrectRole concode_elem_sep void runServletWithCorrectRole concode_elem_sep void finish concode_elem_sep void initialize concode_elem_sep void runServletWithIncorrectRole concode_elem_sep void runDestroyMethodInStopServer concode_elem_sep WebArchive deployment [/INST] void function ( ) { assertTrue ( "srini_string" + "srini_string" , readFirstLineOfFile ( INCORRECT_ROLE_AND_STOP_SERVER ) . contains ( DESTROY_METHOD_NOT_PASS ) ) ; </s> |
<s>[INST] obtains the tracked route . if a route has been tracked , it is #isconnected connected . if not connected , nothing has been tracked so far . concode_field_sep boolean connected concode_elem_sep HttpHost targetHost concode_elem_sep TunnelType tunnelled concode_elem_sep InetAddress localAddress concode_elem_sep HttpHost[] proxyChain concode_elem_sep boolean secure concode_elem_sep LayerType layered concode_field_sep void connectProxy concode_elem_sep HttpHost getProxyHost concode_elem_sep boolean isConnected concode_elem_sep TunnelType getTunnelType concode_elem_sep boolean isSecure concode_elem_sep LayerType getLayerType concode_elem_sep InetAddress getLocalAddress concode_elem_sep void tunnelTarget concode_elem_sep void layerProtocol concode_elem_sep HttpHost getTargetHost concode_elem_sep void connectTarget concode_elem_sep boolean isTunnelled concode_elem_sep int hashCode concode_elem_sep int getHopCount concode_elem_sep boolean isLayered concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep void tunnelProxy concode_elem_sep HttpHost getHopTarget [/INST] HttpRoute function ( ) { return ! this . connected ? null : new HttpRoute ( this . targetHost , this . localAddress , this . proxyChain , this . secure , this . tunnelled , this . layered ) ; </s> |
<s>[INST] returns always null . concode_field_sep IStatus OK_STATUS concode_elem_sep String fStatusMessage concode_elem_sep int fSeverity concode_field_sep boolean isWarning concode_elem_sep int getSeverity concode_elem_sep String getMessage concode_elem_sep boolean isMultiStatus concode_elem_sep boolean matches concode_elem_sep IStatus[] getChildren concode_elem_sep boolean isError concode_elem_sep void setError concode_elem_sep boolean isOK concode_elem_sep String getPlugin concode_elem_sep void setOK concode_elem_sep String toString concode_elem_sep void setInfo concode_elem_sep boolean isInfo concode_elem_sep int getCode concode_elem_sep void setWarning [/INST] Throwable function ( ) { return null ; </s> |
<s>[INST] gets the field type at the specifed index . concode_field_sep PlaceHolder placeHolder concode_field_sep int[] getValues concode_elem_sep boolean isEqual concode_elem_sep DateTimeField getField concode_elem_sep DateTimeField getField concode_elem_sep int indexOfSupported concode_elem_sep int indexOfSupported concode_elem_sep boolean isSupported concode_elem_sep int compareTo concode_elem_sep boolean isBefore concode_elem_sep DateTimeField[] getFields concode_elem_sep int hashCode concode_elem_sep int get concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int indexOf concode_elem_sep int indexOf concode_elem_sep boolean isAfter concode_elem_sep DateTime toDateTime concode_elem_sep DateTimeFieldType[] getFieldTypes [/INST] DateTimeFieldType function ( int arg0 ) { return getField ( arg0 , getChronology ( ) ) . getType ( ) ; </s> |
<s>[INST] returns whether windows send mouse motion events to awt listeners . concode_field_sep boolean gotBug1Event concode_elem_sep java.util.ArrayList bugList concode_field_sep boolean fileDialogRequiresDismiss concode_elem_sep boolean hasHierarchyEventGenerationBug concode_elem_sep boolean hasKeyStrokeGenerationBug concode_elem_sep String[] bugCheck concode_elem_sep boolean hasRobotMotionBug concode_elem_sep boolean reportsIncorrectLockingKeyState concode_elem_sep boolean fileDialogMisreportsBounds concode_elem_sep boolean needsRobotVerification concode_elem_sep boolean hasMenuDisableBug concode_elem_sep boolean hasInputMethodInsteadOfKeyTyped concode_elem_sep boolean hasEscapeGenerationBug concode_elem_sep boolean showAWTPopupMenuBlocks concode_elem_sep boolean hasChoiceLockupBug concode_elem_sep boolean hasRobotButtonsSwapped concode_elem_sep boolean hasKeyInputDelay concode_elem_sep boolean hasFrameDeiconifyBug concode_elem_sep boolean dragDropRequiresNativeEvents concode_elem_sep boolean hasTextComponentSelectionDelay concode_elem_sep boolean hasMultiClickFrameBug concode_elem_sep boolean fileDialogRequiresVisibleFrame [/INST] boolean function ( ) { return Platform . isOSX ( ) && Platform . JAVA_VERSION >= Platform . JAVA_1_4 && Platform . JAVA_VERSION <= 0x1425 ; </s> |
<s>[INST] determines the difference in days between d and this date . for example , if this date is 12/15/1997 and d is 12/14/1997 , the difference is 1 . if this date occurs before d , the result is negative . concode_field_sep int month concode_elem_sep int year concode_elem_sep int day concode_field_sep int daysInMonth concode_elem_sep int beginOfTime concode_elem_sep int dayInYear concode_elem_sep boolean isLeapYear concode_elem_sep boolean isValidDate concode_elem_sep String toString concode_elem_sep void main concode_elem_sep int daysInYear concode_elem_sep boolean isAfter concode_elem_sep boolean isBefore [/INST] int function ( Date arg0 ) { int loc0 ; int loc1 = Math . abs ( arg0 . beginOfTime ( ) - this . beginOfTime ( ) ) ; if ( this . isBefore ( arg0 ) ) { loc0 = - 1 ; } else if ( this . isAfter ( arg0 ) ) { loc0 = 1 ; } else { loc0 = 0 ; } return loc0 * loc1 ; </s> |
<s>[INST] maintains a count of the number of methods call sites resolve to . may give an idea as to how `` dynamic '' a program is . concode_field_sep String configName concode_elem_sep int nLiveMethods concode_elem_sep Map morphicity concode_elem_sep int nNoPreexist concode_elem_sep int nLiveClasses concode_elem_sep int nInlined concode_field_sep void noteNoPreexist concode_elem_sep void printSummary concode_elem_sep void noteInlined concode_elem_sep void setConfigName concode_elem_sep void noteLiveMethods concode_elem_sep void noteLiveClasses [/INST] void function ( final int arg0 ) { final Integer loc0 = new Integer ( arg0 ) ; final Integer loc1 = ( Integer ) this . morphicity . get ( loc0 ) ; if ( loc1 == null ) { this . morphicity . put ( loc0 , new Integer ( 1 ) ) ; } else { this . morphicity . put ( loc0 , new Integer ( loc1 . intValue ( ) + 1 ) ) ; } </s> |
<s>[INST] verifies that the endpoints specify an interval , throws illegalargumentexception if not concode_field_sep double functionValueAccuracy concode_elem_sep boolean resultComputed concode_elem_sep double defaultFunctionValueAccuracy concode_elem_sep UnivariateRealFunction f concode_elem_sep double relativeAccuracy concode_elem_sep double absoluteAccuracy concode_elem_sep double result concode_elem_sep int iterationCount concode_elem_sep int defaultMaximalIterationCount concode_elem_sep int maximalIterationCount concode_elem_sep double defaultAbsoluteAccuracy concode_elem_sep double defaultRelativeAccuracy concode_elem_sep long serialVersionUID concode_field_sep double getFunctionValueAccuracy concode_elem_sep void setAbsoluteAccuracy concode_elem_sep void verifySequence concode_elem_sep boolean isSequence concode_elem_sep void setResult concode_elem_sep void setRelativeAccuracy concode_elem_sep void resetFunctionValueAccuracy concode_elem_sep int getMaximalIterationCount concode_elem_sep void resetRelativeAccuracy concode_elem_sep double getAbsoluteAccuracy concode_elem_sep int getIterationCount concode_elem_sep void resetAbsoluteAccuracy concode_elem_sep double getResult concode_elem_sep void setMaximalIterationCount concode_elem_sep void resetMaximalIterationCount concode_elem_sep boolean isBracketing concode_elem_sep void clearResult concode_elem_sep void verifyBracketing concode_elem_sep double getRelativeAccuracy concode_elem_sep void setFunctionValueAccuracy [/INST] void function ( double arg0 , double arg1 ) { if ( arg0 >= arg1 ) { throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" ) ; } </s> |
<s>[INST] binds this connection to the given socket . this socket will be used by the connection to send and receive data . after this method 's execution the connection status will be reported as open and the #isopen will return true . concode_field_sep SessionInputBufferImpl inbuffer concode_elem_sep HttpConnectionMetricsImpl connMetrics concode_elem_sep ContentLengthStrategy outgoingContentStrategy concode_elem_sep SessionOutputBufferImpl outbuffer concode_elem_sep Socket socket concode_elem_sep ContentLengthStrategy incomingContentStrategy concode_elem_sep boolean open concode_field_sep void setSocketTimeout concode_elem_sep int getLocalPort concode_elem_sep HttpConnectionMetrics getMetrics concode_elem_sep OutputStream createOutputStream concode_elem_sep int getRemotePort concode_elem_sep InetAddress getLocalAddress concode_elem_sep void ensureOpen concode_elem_sep boolean awaitInput concode_elem_sep void close concode_elem_sep void incrementResponseCount concode_elem_sep void doFlush concode_elem_sep OutputStream prepareOutput concode_elem_sep void incrementRequestCount concode_elem_sep HttpEntity prepareInput concode_elem_sep InetAddress getRemoteAddress concode_elem_sep int fillInputBuffer concode_elem_sep InputStream getSocketInputStream concode_elem_sep int getSocketTimeout concode_elem_sep InputStream createInputStream concode_elem_sep boolean isOpen concode_elem_sep Socket getSocket concode_elem_sep OutputStream getSocketOutputStream concode_elem_sep SessionInputBuffer getSessionInputBuffer concode_elem_sep String toString concode_elem_sep boolean isStale concode_elem_sep SessionOutputBuffer getSessionOutputBuffer concode_elem_sep void shutdown [/INST] void function ( final Socket arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; this . socket = arg0 ; this . open = true ; this . inbuffer . bind ( null ) ; this . outbuffer . bind ( null ) ; </s> |
<s>[INST] constructor for handshake message concode_field_sep ByteBuffer peerId concode_elem_sep HashMap<String,Object> data concode_elem_sep MessageType type concode_elem_sep ByteBuffer msg concode_field_sep Message Bitfield concode_elem_sep int getBegin concode_elem_sep int getIndex concode_elem_sep MessageType getType concode_elem_sep ByteBuffer getPeerId concode_elem_sep Message Request concode_elem_sep int getLength concode_elem_sep int compareTo concode_elem_sep ByteBuffer getBytes concode_elem_sep BitSet getBitfield [/INST] Message function ( ByteBuffer arg0 , ByteBuffer arg1 ) { Message loc0 = new Message ( arg0 ) ; loc0 . type = MessageType . Handshake ; loc0 . data . put ( "srini_string" , arg1 ) ; return loc0 ; </s> |
<s>[INST] sets the type of message that is intended to be transmitted over the connection that this collection is associated with . concode_field_sep Map<String,MessageType> myMsgTypeByMd5Sum concode_elem_sep Map<String,Map<String,MessageType>> myMsgTypesByPackage concode_elem_sep String myTopType concode_elem_sep Logger myLogger concode_elem_sep Splitter MSG_SPLITTER concode_elem_sep Map<String,MessageType> myMsgTypesByName concode_field_sep MessageType getMessageType concode_elem_sep MessageType getMessageType concode_elem_sep MessageType getMessageType concode_elem_sep List<String> parseMessageList concode_elem_sep void parseMessages [/INST] void function ( String arg0 ) { myTopType = arg0 ; </s> |
<s>[INST] gets the value of the items property . concode_field_sep USAddress billTo concode_elem_sep String comment concode_elem_sep Items items concode_elem_sep XMLGregorianCalendar orderDate concode_elem_sep USAddress shipTo concode_field_sep USAddress getShipTo concode_elem_sep USAddress getBillTo concode_elem_sep void setBillTo concode_elem_sep void setItems concode_elem_sep void setOrderDate concode_elem_sep void setComment concode_elem_sep XMLGregorianCalendar getOrderDate concode_elem_sep String getComment concode_elem_sep void setShipTo [/INST] Items function ( ) { return items ; </s> |
<s>[INST] create an instance of consumedport concode_field_sep QName _PropertyDeclaration_QNAME concode_elem_sep QName _ProvidedPort_QNAME concode_elem_sep QName _ApplicationPayload_QNAME concode_elem_sep QName _Application_QNAME concode_elem_sep QName _ApplicationID_QNAME concode_elem_sep QName _ApplicationReleaseBinding_QNAME concode_elem_sep QName _ConsumedPort_QNAME concode_elem_sep QName _ProvidedPortID_QNAME concode_field_sep ApplicationPayload createApplicationPayload concode_elem_sep JAXBElement<ApplicationPayload> createApplicationPayload concode_elem_sep ProvidedPortID createProvidedPortID concode_elem_sep JAXBElement<ProvidedPortID> createProvidedPortID concode_elem_sep ApplicationReleaseBinding createApplicationReleaseBinding concode_elem_sep JAXBElement<ApplicationReleaseBinding> createApplicationReleaseBinding concode_elem_sep Application createApplication concode_elem_sep JAXBElement<Application> createApplication concode_elem_sep PropertyDeclaration createPropertyDeclaration concode_elem_sep JAXBElement<PropertyDeclaration> createPropertyDeclaration concode_elem_sep ApplicationID createApplicationID concode_elem_sep JAXBElement<ApplicationID> createApplicationID concode_elem_sep ProvidedPort createProvidedPort concode_elem_sep JAXBElement<ProvidedPort> createProvidedPort [/INST] ConsumedPort function ( ) { return new ConsumedPort ( ) ; </s> |
<s>[INST] getter for the right margin . concode_field_sep Rectangle2D.Float textRectangle concode_field_sep void renderImage concode_elem_sep float getHeight concode_elem_sep float getLlx concode_elem_sep float getLly concode_elem_sep float getWidth concode_elem_sep void beginTextBlock concode_elem_sep void endTextBlock concode_elem_sep float getUry concode_elem_sep void renderText [/INST] float function ( ) { return textRectangle . x + textRectangle . width ; </s> |
<s>[INST] decide whether or not online checking is allowed . concode_field_sep CertificateVerifier verifier concode_elem_sep boolean onlineCheckingAllowed concode_field_sep List<VerificationOK> verify [/INST] void function ( boolean arg0 ) { this . onlineCheckingAllowed = arg0 ; </s> |
<s>[INST] creates a new pmml object representing the pmml model defined in the inputstream specified as argument concode_field_sep ModelOutputs outFields concode_elem_sep String blobKey concode_elem_sep File model concode_elem_sep Map<String,Object> config concode_elem_sep ModelOutputs modelOutputs concode_field_sep ModelRunner newModelRunner concode_elem_sep ModelRunner newModelRunner concode_elem_sep InputStream getPmmlModelBlob concode_elem_sep InputStream getPmmlModelBlob concode_elem_sep Evaluator newEvaluator concode_elem_sep Evaluator newEvaluator concode_elem_sep Evaluator newEvaluator concode_elem_sep Evaluator newEvaluator concode_elem_sep Evaluator newEvaluator [/INST] PMML function ( InputStream arg0 ) { Objects . requireNonNull ( arg0 ) ; return IOUtil . unmarshal ( arg0 ) ; </s> |
<s>[INST] deposit deposits `` amt '' dollars into this account . concode_field_sep int number concode_elem_sep int balance concode_elem_sep String name concode_field_sep int getNumber concode_elem_sep int getKey concode_elem_sep int getBalance concode_elem_sep boolean lessThan concode_elem_sep String toString concode_elem_sep String getOwner concode_elem_sep void withdraw [/INST] void function ( int arg0 ) { if ( arg0 >= 0 ) { balance = balance + arg0 ; } else { System . out . println ( "srini_string" + arg0 ) ; } </s> |
<s>[INST] init the client . concode_field_sep String USAGE concode_field_sep String getPassword concode_elem_sep void requestTicket concode_elem_sep KOptions convertOptions concode_elem_sep void main concode_elem_sep void printUsage [/INST] KrbClient function ( File arg0 ) { KrbClient loc0 ; if ( arg0 != null ) { loc0 = new KrbClient ( arg0 ) ; } else { loc0 = new KrbClient ( ) ; } loc0 . init ( ) ; return loc0 ; </s> |
<s>[INST] returns the string representation of this mnemonic . information from the mnemonic string may be retrieved using methodmnemonic #methodmnemonic string , and subsequently the imethod may be retrieved with methodmnemonic #findmethod itype concode_field_sep String fMethodSignature concode_elem_sep IMethod fMethod concode_elem_sep char MNEMONIC_DELIMITER concode_elem_sep String fMethodName concode_elem_sep int LENGTH concode_elem_sep boolean fIsConstructor concode_field_sep String getMethodSignature concode_elem_sep String getMethodName concode_elem_sep IMethod findMethod concode_elem_sep int hashCode concode_elem_sep boolean isConstructor concode_elem_sep boolean equals concode_elem_sep boolean exists concode_elem_sep String getStableSignature concode_elem_sep IMethod getMethod [/INST] String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( getMethodName ( ) ) ; loc0 . append ( MNEMONIC_DELIMITER ) ; loc0 . append ( isConstructor ( ) ) ; loc0 . append ( MNEMONIC_DELIMITER ) ; loc0 . append ( getMethodSignature ( ) ) ; return loc0 . toString ( ) ; </s> |
<s>[INST] integer comparison . concode_field_sep java.math.BigInteger val concode_elem_sep BigInteger ONE concode_elem_sep BigInteger ZERO concode_elem_sep Random random concode_field_sep BigInteger IRAND concode_elem_sep boolean isField concode_elem_sep boolean isCommutative concode_elem_sep BigInteger gcd concode_elem_sep BigInteger IPROD concode_elem_sep BigInteger sum concode_elem_sep int compareTo concode_elem_sep BigInteger IABS concode_elem_sep java.math.BigInteger characteristic concode_elem_sep BigInteger random concode_elem_sep BigInteger random concode_elem_sep int hashCode concode_elem_sep BigInteger IDIF concode_elem_sep BigInteger divide concode_elem_sep BigInteger copy concode_elem_sep BigInteger multiply concode_elem_sep BigInteger IGCD concode_elem_sep int signum concode_elem_sep BigInteger ISUM concode_elem_sep boolean isONE concode_elem_sep BigInteger inverse concode_elem_sep java.math.BigInteger getVal concode_elem_sep BigInteger INEG concode_elem_sep BigInteger valueOf concode_elem_sep BigInteger valueOf concode_elem_sep boolean isUnit concode_elem_sep BigInteger subtract concode_elem_sep BigInteger IQ concode_elem_sep BigInteger[] IQR concode_elem_sep BigInteger parse concode_elem_sep BigInteger parse concode_elem_sep BigInteger[] egcd concode_elem_sep int ISIGN concode_elem_sep BigInteger abs concode_elem_sep BigInteger IREM concode_elem_sep BigInteger[] divideAndRemainder concode_elem_sep BigInteger negate concode_elem_sep boolean equals concode_elem_sep BigInteger clone concode_elem_sep BigInteger getONE concode_elem_sep BigInteger getZERO concode_elem_sep BigInteger fromInteger concode_elem_sep BigInteger fromInteger concode_elem_sep boolean isZERO concode_elem_sep boolean isAssociative concode_elem_sep String toString concode_elem_sep BigInteger remainder [/INST] int function ( BigInteger arg0 , BigInteger arg1 ) { if ( arg0 == null ) return - arg1 . signum ( ) ; return arg0 . compareTo ( arg1 ) ; </s> |
<s>[INST] size of current list . concode_field_sep List<java.math.BigInteger> val concode_elem_sep java.math.BigInteger last concode_field_sep void addMedium concode_elem_sep java.math.BigInteger getLongPrime concode_elem_sep Iterator<java.math.BigInteger> iterator concode_elem_sep java.math.BigInteger get concode_elem_sep void addLarge concode_elem_sep String toString concode_elem_sep void addSmall concode_elem_sep boolean checkPrimes [/INST] int function ( ) { return val . size ( ) ; </s> |
<s>[INST] quotient random . concode_field_sep RingFactory<C> ring concode_elem_sep boolean debug concode_elem_sep Logger logger concode_field_sep int hashCode concode_elem_sep boolean isField concode_elem_sep boolean equals concode_elem_sep Quotient<C> getONE concode_elem_sep boolean isCommutative concode_elem_sep Quotient<C> getZERO concode_elem_sep Quotient<C> fromInteger concode_elem_sep Quotient<C> fromInteger concode_elem_sep boolean isAssociative concode_elem_sep String toString concode_elem_sep Quotient<C> parse concode_elem_sep Quotient<C> parse concode_elem_sep Quotient<C> copy concode_elem_sep java.math.BigInteger characteristic [/INST] Quotient < C > function ( int arg0 , Random arg1 ) { C loc0 = ring . random ( arg0 , arg1 ) ; C loc1 = ring . random ( arg0 , arg1 ) ; while ( loc1 . isZERO ( ) ) { loc1 = ring . random ( arg0 , arg1 ) ; } return new Quotient < C > ( this , loc0 , loc1 , false ) ; </s> |
<s>[INST] for the given sqlexception , locates the x/open-compliant sqlstate . concode_field_sep PlaceHolder placeHolder concode_field_sep int extractErrorCode concode_elem_sep String extractSqlStateClassCode concode_elem_sep String determineSqlStateClassCode [/INST] String function ( SQLException arg0 ) { String loc0 = arg0 . getSQLState ( ) ; SQLException loc1 = arg0 . getNextException ( ) ; while ( loc0 == null && loc1 != null ) { loc0 = loc1 . getSQLState ( ) ; loc1 = loc1 . getNextException ( ) ; } return loc0 ; </s> |
<s>[INST] allows for the setting of the border 's color independently of the content 's color . concode_field_sep boolean border concode_elem_sep Position position concode_elem_sep ConsoleSystemInterface si concode_elem_sep int width concode_elem_sep String spaces concode_elem_sep Position inPosition concode_elem_sep int inHeight concode_elem_sep CSIColor foreColor concode_elem_sep int height concode_elem_sep CSIColor borderColor concode_elem_sep int inWidth concode_field_sep void drawBorder concode_elem_sep void clearBox concode_elem_sep void recalcInnerBounds concode_elem_sep int getForeColor concode_elem_sep int getWidth concode_elem_sep void draw concode_elem_sep void setWidth concode_elem_sep void setHeight concode_elem_sep void setBounds concode_elem_sep void setPosition concode_elem_sep void setForeColor concode_elem_sep void setForeColor concode_elem_sep int getHeight concode_elem_sep void setBorder concode_elem_sep boolean hasBorder [/INST] void function ( CSIColor arg0 ) { borderColor = arg0 ; </s> |
<s>[INST] a helper to make creating a springconfig easier with values mapping to the origami values . concode_field_sep double tension concode_elem_sep double friction concode_elem_sep SpringConfig defaultConfig concode_field_sep placeholderType placeHolder [/INST] SpringConfig function ( double arg0 , double arg1 ) { return new SpringConfig ( OrigamiValueConverter . tensionFromOrigamiValue ( arg0 ) , OrigamiValueConverter . frictionFromOrigamiValue ( arg1 ) ) ; </s> |
<s>[INST] specifies that matching pairs of this character delimit string constants . concode_field_sep Reader reader concode_elem_sep Error err concode_elem_sep StreamTokenizer stok concode_field_sep void set_error_handler concode_elem_sep boolean isQString concode_elem_sep void need concode_elem_sep String nextToken concode_elem_sep int ttype concode_elem_sep void tok_error concode_elem_sep void commentChar concode_elem_sep boolean isWord concode_elem_sep String token [/INST] void function ( int arg0 ) { stok . quoteChar ( arg0 ) ; </s> |
<s>[INST] parse an reader concode_field_sep String text concode_elem_sep Charset charset concode_elem_sep StateController controller concode_elem_sep XMLParserMemory memory concode_elem_sep List<XMLParserListener> listeners concode_elem_sep TagState tagState concode_elem_sep ParserMonitor monitor concode_elem_sep State state concode_field_sep XMLParserMemory memory concode_elem_sep void startElement concode_elem_sep InputStreamReader detectEncoding concode_elem_sep char currentLastChar concode_elem_sep XMLParser removeListener concode_elem_sep Charset getCharset concode_elem_sep TagState currentTagState concode_elem_sep void currentTagState concode_elem_sep String current concode_elem_sep void endElement concode_elem_sep void flush concode_elem_sep void parseWithReader concode_elem_sep void unknownData concode_elem_sep String currentTag concode_elem_sep void setMonitor concode_elem_sep String bufferToString concode_elem_sep void setState concode_elem_sep void comment concode_elem_sep StateController selectState concode_elem_sep void text concode_elem_sep XMLParser append concode_elem_sep XMLParser append concode_elem_sep XMLParser append concode_elem_sep void callText concode_elem_sep XMLParser addListener concode_elem_sep int bufferSize [/INST] void function ( final Reader arg0 ) { parseWithReader ( arg0 ) ; </s> |
<s>[INST] gets the leftmost x-position of the bounding box . concode_field_sep JLabel label concode_elem_sep double xGrow concode_elem_sep double yGrow concode_elem_sep double x concode_elem_sep double y concode_elem_sep Color color concode_field_sep int getHeight concode_elem_sep int getY concode_elem_sep void grow concode_elem_sep void setColor concode_elem_sep String toString concode_elem_sep int getWidth concode_elem_sep void draw concode_elem_sep void translate concode_elem_sep void paintShape [/INST] int function ( ) { return ( int ) Math . round ( x - xGrow ) ; </s> |
<s>[INST] return columns for the schema . concode_field_sep Schema schema concode_elem_sep Map<Schema,Schema> seen concode_elem_sep List<ColumnMetaData> columns concode_elem_sep List<Integer> arrayWidths concode_field_sep String p concode_elem_sep String p concode_elem_sep ColumnMetaData addColumn concode_elem_sep ValueType simpleValueType concode_elem_sep boolean isSimple concode_elem_sep void columnize concode_elem_sep int[] getArrayWidths concode_elem_sep void addArrayColumn [/INST] ColumnMetaData [ ] function ( ) { return columns . toArray ( new ColumnMetaData [ columns . size ( ) ] ) ; </s> |
<s>[INST] the current state of this machine concode_field_sep Map<String,JsonBall> metadata concode_elem_sep Date created concode_elem_sep Type type concode_elem_sep Set<String> ips concode_elem_sep ImmutableSet.Builder<String> ips concode_elem_sep ImmutableMap.Builder<String,JsonBall> metadata concode_elem_sep String name concode_elem_sep String id concode_elem_sep State state concode_elem_sep Function<JsonBall,String> unquoteString concode_elem_sep String dataset concode_elem_sep int memorySizeMb concode_elem_sep Date updated concode_elem_sep int diskSizeGb concode_field_sep Builder toBuilder concode_elem_sep Builder metadata concode_elem_sep String getName concode_elem_sep String getId concode_elem_sep int compareTo concode_elem_sep Builder type concode_elem_sep Date getUpdated concode_elem_sep Map<String,String> getMetadataAsJsonLiterals concode_elem_sep int hashCode concode_elem_sep Builder builder concode_elem_sep Builder id concode_elem_sep Builder state concode_elem_sep String value concode_elem_sep String value concode_elem_sep Builder memorySizeMb concode_elem_sep Type fromValue concode_elem_sep State fromValue concode_elem_sep Map<String,String> getMetadata concode_elem_sep String apply concode_elem_sep Builder created concode_elem_sep int getDiskSizeGb concode_elem_sep String getDatasetURN concode_elem_sep Date getCreated concode_elem_sep Builder addMetadata concode_elem_sep Builder ips concode_elem_sep Builder addIp concode_elem_sep int getMemorySizeMb concode_elem_sep Builder fromMachine concode_elem_sep Machine build concode_elem_sep Type getType concode_elem_sep boolean equals concode_elem_sep Builder name concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Builder dataset concode_elem_sep Builder updated concode_elem_sep Set<String> getIps concode_elem_sep Builder diskSizeGb [/INST] State function ( ) { return state ; </s> |
<s>[INST] the amount of hits for this query concode_field_sep long executionMaxTime concode_elem_sep String[] ITEM_DESCRIPTIONS concode_elem_sep long cacheHitCount concode_elem_sep String query concode_elem_sep String TABULAR_TYPE_NAME concode_elem_sep long cachePutCount concode_elem_sep CompositeType COMPOSITE_TYPE concode_elem_sep long cacheMissCount concode_elem_sep String[] INDEX_NAMES concode_elem_sep long executionAvgTime concode_elem_sep long executionMinTime concode_elem_sep String COMPOSITE_TYPE_NAME concode_elem_sep OpenType[] ITEM_TYPES concode_elem_sep long executionCount concode_elem_sep String[] ITEM_NAMES concode_elem_sep String COMPOSITE_TYPE_DESCRIPTION concode_elem_sep long executionRowCount concode_elem_sep TabularType TABULAR_TYPE concode_elem_sep String TABULAR_TYPE_DESCRIPTION concode_field_sep void add concode_elem_sep long getCachePutCount concode_elem_sep TabularData newTabularDataInstance concode_elem_sep long getExecutionCount concode_elem_sep long getExecutionAvgTime concode_elem_sep long getCacheMissCount concode_elem_sep long getExecutionRowCount concode_elem_sep long getExecutionMinTime concode_elem_sep QueryStats[] fromTabularData concode_elem_sep String toString concode_elem_sep CompositeData toCompositeData concode_elem_sep String getQuery concode_elem_sep long getExecutionMaxTime [/INST] long function ( ) { return cacheHitCount ; </s> |
<s>[INST] tests construction of the client chain . the created certificates can be displayed with a command like : openssl pkcs12 - nodes - info - in / tmp/test . p12 > / tmp/test . cert & & openssl x509 - noout - text - in / tmp/test . cert concode_field_sep PlaceHolder placeHolder concode_field_sep void validateChain concode_elem_sep void testKdcChain concode_elem_sep void setUp [/INST] void function ( ) { X509Certificate [ ] loc0 = CertificateChainFactory . getClientChain ( ) ; validateChain ( loc0 ) ; </s> |
<s>[INST] parse key-value pairs to map , ignore empty key concode_field_sep String DEFAULT_KEY_AND_VALUE_PAIR_SEPARATOR concode_elem_sep String DEFAULT_KEY_AND_VALUE_SEPARATOR concode_field_sep K getKeyByValue concode_elem_sep boolean putMapNotNullKeyAndValue concode_elem_sep String toJson concode_elem_sep boolean putMapNotEmptyKeyAndValue concode_elem_sep boolean putMapNotEmptyKeyAndValue concode_elem_sep boolean putMapNotNullKey concode_elem_sep boolean isEmpty concode_elem_sep boolean putMapNotEmptyKey [/INST] Map < String , String > function ( String arg0 , boolean arg1 ) { return parseKeyAndValueToMap ( arg0 , DEFAULT_KEY_AND_VALUE_SEPARATOR , DEFAULT_KEY_AND_VALUE_PAIR_SEPARATOR , arg1 ) ; </s> |
<s>[INST] appends a column separator to the output file . concode_field_sep Logger log concode_elem_sep String description concode_elem_sep int clusterIDLength concode_elem_sep String style concode_elem_sep boolean started concode_elem_sep String fileDescr concode_elem_sep String seed concode_elem_sep int BUFFER_CAPACITY concode_elem_sep String filePrefix concode_elem_sep String fileSuffix concode_elem_sep PrintWriter out concode_field_sep void appendClusterID concode_elem_sep void setOutputFilePrefix concode_elem_sep void stopped concode_elem_sep void start concode_elem_sep void appendNewLine concode_elem_sep void started concode_elem_sep void setDescription concode_elem_sep boolean isStarted concode_elem_sep void setOutputFileSuffix concode_elem_sep void setOutputFile concode_elem_sep void setOutputFileDescr concode_elem_sep void stop concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void setStyle concode_elem_sep void setSeed concode_elem_sep String getFileName [/INST] void function ( ) { if ( out != null ) { out . print ( ' ' ) ; } </s> |
<s>[INST] fires a label provider changed event to all registered listeners only listeners registered at the time this method is called are notified . concode_field_sep ArrayList<ILabelDecorator> fLabelDecorators concode_elem_sep JavaElementImageProvider fImageLabelProvider concode_elem_sep ListenerList<ILabelProviderListener> fListeners concode_elem_sep StorageLabelProvider fStorageLabelProvider concode_elem_sep int fImageFlags concode_elem_sep long fTextFlags concode_field_sep ILabelDecorator[] getDecorators concode_elem_sep StyledString getStyledText concode_elem_sep void addLabelDecorator concode_elem_sep String getText concode_elem_sep String decorateText concode_elem_sep void removeListener concode_elem_sep void setImageFlags concode_elem_sep Color getForeground concode_elem_sep Image decorateImage concode_elem_sep long getTextFlags concode_elem_sep long evaluateTextFlags concode_elem_sep void dispose concode_elem_sep void setTextFlags concode_elem_sep Image getImage concode_elem_sep boolean isLabelProperty concode_elem_sep Color getBackground concode_elem_sep int evaluateImageFlags concode_elem_sep int getImageFlags concode_elem_sep void addListener [/INST] void function ( final LabelProviderChangedEvent arg0 ) { for ( final ILabelProviderListener loc0 : fListeners ) { SafeRunner . run ( new SafeRunnable ( ) { @ Override public void run ( ) { loc0 . labelProviderChanged ( arg0 ) ; } } ) ; } </s> |
<s>[INST] set parser state to specialcharstate . concode_field_sep State closeStarComment concode_elem_sep State selfClosing concode_elem_sep State tagAttributes concode_elem_sep State unquoted concode_elem_sep State unknown concode_elem_sep State inTag concode_elem_sep State cdata concode_elem_sep State previousState concode_elem_sep State doctype concode_elem_sep State tagEncountered concode_elem_sep State singleQuoted concode_elem_sep XMLParser parser concode_elem_sep State xml concode_elem_sep State specialChar concode_elem_sep State doubleQuoted concode_elem_sep State closingTag concode_elem_sep State comment concode_elem_sep State attrValue concode_elem_sep State starComment concode_elem_sep State currentState concode_elem_sep State closeComment concode_elem_sep State processingInstruction concode_field_sep XMLParser closeStarComment concode_elem_sep XMLParser selfClosing concode_elem_sep XMLParser tagAttributes concode_elem_sep XMLParser unquotedAttr concode_elem_sep XMLParser attributeValue concode_elem_sep XMLParser doubleQuotedAttr concode_elem_sep XMLParser singleQuotedAttr concode_elem_sep XMLParser previousState concode_elem_sep XMLParser unknown concode_elem_sep XMLParser inTag concode_elem_sep XMLParser cdata concode_elem_sep XMLParser doctype concode_elem_sep XMLParser tagEncountered concode_elem_sep XMLParser setState concode_elem_sep XMLParser closingTag concode_elem_sep XMLParser comment concode_elem_sep XMLParser starComment concode_elem_sep XMLParser processingInstructions concode_elem_sep XMLParser closeComment [/INST] XMLParser function ( ) { return setState ( this . specialChar ) ; </s> |
<s>[INST] pops a non-wide expression off the stack . concode_field_sep ArrayList stack concode_elem_sep int height concode_field_sep Expr pop concode_elem_sep void set concode_elem_sep int size concode_elem_sep Expr[] pop2 concode_elem_sep Expr get concode_elem_sep boolean isEmpty concode_elem_sep void replace concode_elem_sep String toString concode_elem_sep void push concode_elem_sep Expr peek concode_elem_sep Expr peek concode_elem_sep int height [/INST] Expr function ( ) { final Expr loc0 = ( Expr ) stack . remove ( stack . size ( ) - 1 ) ; final Type loc1 = loc0 . loc1 ( ) ; if ( loc1 . isWide ( ) ) { throw new IllegalArgumentException ( "srini_string" + "srini_string" ) ; } height -- ; return loc0 ; </s> |
<s>[INST] notify the testmonitor that a new test is starting . passing null signals that a test has ended or that none is running . concode_field_sep ITestIdentifier _runningTest concode_elem_sep TestMonitor _monitor concode_field_sep void endTestCase concode_elem_sep String getCurrentTestCaseID concode_elem_sep ITestIdentifier getRunningTest concode_elem_sep void logTestStart concode_elem_sep String getId concode_elem_sep void beginTestCase concode_elem_sep TestMonitor getInstance concode_elem_sep NoRunningTestId noTest concode_elem_sep void setRunningTest concode_elem_sep boolean isTestRunning [/INST] void function ( ITestIdentifier arg0 ) { if ( arg0 == null ) endTestCase ( ) ; else { logTestStart ( arg0 ) ; setRunningTest ( arg0 ) ; } </s> |
<s>[INST] extract a portion of the bytes from the given stream. , wrapping them in a new stream . concode_field_sep int BUFFER_SIZE concode_elem_sep CoreMessageLogger LOG concode_field_sep int getSuggestedBufferSize concode_elem_sep long determineLengthForBufferSizing concode_elem_sep boolean isNClob concode_elem_sep byte[] extractBytes concode_elem_sep byte[] extractBytes concode_elem_sep String extractString concode_elem_sep String extractString concode_elem_sep String extractString concode_elem_sep String extractString [/INST] InputStream function ( InputStream arg0 , long arg1 , int arg2 ) { return new BinaryStreamImpl ( extractBytes ( arg0 , arg1 , arg2 ) ) ; </s> |
<s>[INST] just calls getnext.override this to get notified on encountered content . concode_field_sep Pipeline<?> next concode_field_sep Pipeline<?> init concode_elem_sep String getContextKey concode_elem_sep void setNext concode_elem_sep Pipeline<?> getNext concode_elem_sep T getLocalContext concode_elem_sep Pipeline<?> close concode_elem_sep Pipeline<?> open [/INST] Pipeline < ? > function ( final WorkerContext arg0 , final Tag arg1 , final String arg2 , final ProcessObject arg3 ) { return getNext ( ) ; </s> |
<s>[INST] colorpolynomial summation . concode_field_sep GenPolynomial<GenPolynomial<C>> red concode_elem_sep GenPolynomial<GenPolynomial<C>> green concode_elem_sep GenPolynomial<GenPolynomial<C>> white concode_field_sep List<GenPolynomial<C>> getRedCoefficients concode_elem_sep boolean isONE concode_elem_sep ExpVector leadingExpVector concode_elem_sep Map.Entry<ExpVector,GenPolynomial<C>> leadingMonomial concode_elem_sep boolean checkInvariant concode_elem_sep ColorPolynomial<C> subtract concode_elem_sep ColorPolynomial<C> subtract concode_elem_sep int length concode_elem_sep boolean isDetermined concode_elem_sep GenPolynomial<GenPolynomial<C>> getPolynomial concode_elem_sep ColorPolynomial<C> abs concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean isZERO concode_elem_sep List<GenPolynomial<C>> getGreenCoefficients concode_elem_sep String toString concode_elem_sep ColorPolynomial<C> divide concode_elem_sep GenPolynomial<GenPolynomial<C>> getEssentialPolynomial concode_elem_sep ColorPolynomial<C> multiply concode_elem_sep ColorPolynomial<C> multiply [/INST] ColorPolynomial < C > function ( GenPolynomial < C > arg0 , ExpVector arg1 ) { GenPolynomial < GenPolynomial < C >> loc0 , loc1 , loc2 ; loc0 = green ; loc1 = red ; loc2 = white ; if ( green . getMap ( ) . keySet ( ) . contains ( arg1 ) ) { loc0 = green . sum ( arg0 , arg1 ) ; } else if ( red . getMap ( ) . keySet ( ) . contains ( arg1 ) ) { loc1 = red . sum ( arg0 , arg1 ) ; } else { loc2 = white . sum ( arg0 , arg1 ) ; } return new ColorPolynomial < C > ( loc0 , loc1 , loc2 ) ; </s> |
<s>[INST] compresses the hashtable to the minimum prime size as defined by primefinder that will hold all of the elements currently in the table . if you have done a lot of remove operations and plan to do a lot of queries or insertions or iteration , it is a good idea to invoke this method . doing so will accomplish two things : you 'll free memory allocated to the table but no longer needed because of the remove s. you 'll get better query/insert/iterator performance because there wo n't be any removed slots to skip over when probing for indices in the table . concode_field_sep int _size concode_elem_sep int _free concode_elem_sep float _loadFactor concode_elem_sep long serialVersionUID concode_elem_sep int _maxSize concode_elem_sep boolean _autoCompactTemporaryDisable concode_elem_sep float _autoCompactionFactor concode_elem_sep int _autoCompactRemovesRemaining concode_elem_sep float DEFAULT_LOAD_FACTOR concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_field_sep void setAutoCompactionFactor concode_elem_sep void writeExternal concode_elem_sep void trimToSize concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep void rehash concode_elem_sep float getAutoCompactionFactor concode_elem_sep void reenableAutoCompaction concode_elem_sep int capacity concode_elem_sep int size concode_elem_sep void tempDisableAutoCompaction concode_elem_sep void postInsertHook concode_elem_sep void computeMaxSize concode_elem_sep Object clone concode_elem_sep void readExternal concode_elem_sep void removeAt concode_elem_sep int setUp concode_elem_sep void computeNextAutoCompactionAmount concode_elem_sep void ensureCapacity concode_elem_sep int calculateGrownCapacity [/INST] void function ( ) { rehash ( PrimeFinder . nextPrime ( ( int ) Math . ceil ( size ( ) / _loadFactor ) + 1 ) ) ; computeMaxSize ( capacity ( ) ) ; if ( _autoCompactionFactor != 0 ) { computeNextAutoCompactionAmount ( size ( ) ) ; } </s> |
<s>[INST] shows other information than a stack trace . concode_field_sep Clipboard fClipboard concode_elem_sep Table fTable concode_elem_sep IPropertyChangeListener fFontPropertyChangeListener concode_elem_sep FailureTableDisplay fFailureTableDisplay concode_elem_sep String FAILURE_FONT concode_elem_sep ShowStackTraceInConsoleViewAction fShowTraceInConsoleAction concode_elem_sep TestElement fFailure concode_elem_sep CompareResultsAction fCompareAction concode_elem_sep TestRunnerViewPart fTestRunner concode_elem_sep String fInputTrace concode_elem_sep int MAX_LABEL_LENGTH concode_elem_sep String FRAME_PREFIX concode_field_sep String getSelectedText concode_elem_sep FailureTableDisplay getFailureTableDisplay concode_elem_sep Action createOpenEditorAction concode_elem_sep void clear concode_elem_sep void refresh concode_elem_sep String[] getFilterPatterns concode_elem_sep void updateEnablement concode_elem_sep void updateTable concode_elem_sep Composite getComposite concode_elem_sep void showFailure concode_elem_sep void initMenu concode_elem_sep TestElement getFailedTest concode_elem_sep Shell getShell concode_elem_sep void propertyChange concode_elem_sep String getTrace concode_elem_sep void dispose concode_elem_sep void menuAboutToShow [/INST] void function ( String arg0 ) { clear ( ) ; TableItem loc0 = fFailureTableDisplay . newTableItem ( ) ; loc0 . setText ( arg0 ) ; </s> |
<s>[INST] read a correct answer from a file . concode_field_sep String feedback concode_elem_sep int correct concode_elem_sep int TESTS concode_field_sep String printOutput concode_elem_sep void runSpecialTest concode_elem_sep String appendFeedback concode_elem_sep void main concode_elem_sep void run concode_elem_sep String printList concode_elem_sep void judge concode_elem_sep void runTest [/INST] List < Integer > function ( String arg0 ) { List < Integer > loc0 = new ArrayList < Integer > ( ) ; try { Scanner loc1 = new Scanner ( new File ( arg0 ) ) ; while ( loc1 . hasNextInt ( ) ) { loc0 . add ( loc1 . nextInt ( ) ) ; } } catch ( Exception loc1 ) { feedback += "srini_string" ; } return loc0 ; </s> |
<s>[INST] called when an event is done busying up the ui thread . concode_field_sep int eventDepth concode_elem_sep GraphModel graphModel concode_elem_sep Timer warmDownTimer concode_elem_sep int TICK_TIME concode_elem_sep double blockedTimeInWindow concode_elem_sep double[] weights concode_elem_sep double WINDOW_SLIDE_INCREMENT concode_elem_sep double weightedUtilizationPercent concode_elem_sep double WINDOW_WIDTH concode_elem_sep double maxUtilization concode_elem_sep double[] windowHistory concode_elem_sep double currentWindowStart concode_elem_sep double currentMarker concode_elem_sep double scaledWeightedUtilization concode_field_sep void updateWeightedUtilization concode_elem_sep double calculateCurrentUtilization concode_elem_sep double getThreadUtilization concode_elem_sep void enterBlocking concode_elem_sep void slideWindowTo concode_elem_sep void run concode_elem_sep double dotProduct [/INST] void function ( double arg0 ) { assert ( currentWindowStart >= 0 ) ; slideWindowTo ( arg0 ) ; blockedTimeInWindow = arg0 - currentMarker ; currentMarker = arg0 ; eventDepth -- ; warmDownTimer . schedule ( TICK_TIME ) ; </s> |
<s>[INST] compares two non-null boolean objects according to the value of #sortstruefirst . concode_field_sep BooleanComparator TRUE_FIRST concode_elem_sep long serialVersionUID concode_elem_sep BooleanComparator FALSE_FIRST concode_elem_sep boolean trueFirst concode_field_sep BooleanComparator getTrueFirstComparator concode_elem_sep BooleanComparator getBooleanComparator concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean sortsTrueFirst concode_elem_sep BooleanComparator getFalseFirstComparator [/INST] int function ( Boolean arg0 , Boolean arg1 ) { boolean loc0 = arg0 . booleanValue ( ) ; boolean loc1 = arg1 . booleanValue ( ) ; return ( loc0 ^ loc1 ) ? ( ( loc0 ^ trueFirst ) ? 1 : - 1 ) : 0 ; </s> |
<s>[INST] returns a label for a resource name . concode_field_sep PlaceHolder placeHolder concode_field_sep String getURLPart concode_elem_sep String getFilePattern concode_elem_sep String markLTR concode_elem_sep String getVersionName concode_elem_sep String getPathLabel [/INST] String function ( IResource arg0 ) { return markLTR ( arg0 . getName ( ) , "srini_string" ) ; </s> |
<s>[INST] gets the value of the tags property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the tags property . for example , to add a new item , do as follows : gettags . add newitem ; objects of the following type s are allowed in the list string concode_field_sep String validationPattern concode_elem_sep boolean isValueOptional concode_elem_sep boolean encrypted concode_elem_sep String machineInterpretationKey concode_elem_sep String displayName concode_elem_sep String defaultValue concode_elem_sep String technicalKey concode_elem_sep boolean isKeyOptional concode_elem_sep List<String> tags concode_elem_sep String exampleValue concode_field_sep void setDefaultValue concode_elem_sep String getExampleValue concode_elem_sep String getValidationPattern concode_elem_sep boolean isIsKeyOptional concode_elem_sep void setIsKeyOptional concode_elem_sep void setDisplayName concode_elem_sep void setMachineInterpretationKey concode_elem_sep void setExampleValue concode_elem_sep String getDefaultValue concode_elem_sep String getTechnicalKey concode_elem_sep void setEncrypted concode_elem_sep void setTechnicalKey concode_elem_sep String getDisplayName concode_elem_sep boolean isEncrypted concode_elem_sep String getMachineInterpretationKey concode_elem_sep void setValidationPattern concode_elem_sep boolean isIsValueOptional concode_elem_sep void setIsValueOptional [/INST] List < String > function ( ) { if ( tags == null ) { tags = new ArrayList < String > ( ) ; } return this . tags ; </s> |
<s>[INST] removes the entry at position index in the list . concode_field_sep Set<Serializable> querySpaces concode_elem_sep boolean sorted concode_elem_sep Sorter<E> sorter concode_elem_sep ArrayList<E> executables concode_elem_sep int INIT_QUEUE_LIST_SIZE concode_field_sep boolean add concode_elem_sep void writeExternal concode_elem_sep Iterator<E> iterator concode_elem_sep Set<Serializable> getQuerySpaces concode_elem_sep int size concode_elem_sep E get concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep void removeLastN concode_elem_sep void readExternal concode_elem_sep void sort concode_elem_sep void sort concode_elem_sep void afterDeserialize [/INST] E function ( int arg0 ) { final E loc0 = executables . remove ( arg0 ) ; if ( loc0 . getPropertySpaces ( ) != null && loc0 . getPropertySpaces ( ) . length > 0 ) { querySpaces = null ; } return loc0 ; </s> |
<s>[INST] hash code for this biginteger . concode_field_sep java.math.BigInteger val concode_elem_sep BigInteger ONE concode_elem_sep BigInteger ZERO concode_elem_sep Random random concode_field_sep BigInteger IRAND concode_elem_sep boolean isField concode_elem_sep boolean isCommutative concode_elem_sep BigInteger gcd concode_elem_sep BigInteger IPROD concode_elem_sep BigInteger sum concode_elem_sep int compareTo concode_elem_sep BigInteger IABS concode_elem_sep java.math.BigInteger characteristic concode_elem_sep BigInteger random concode_elem_sep BigInteger random concode_elem_sep BigInteger IDIF concode_elem_sep BigInteger divide concode_elem_sep BigInteger copy concode_elem_sep BigInteger multiply concode_elem_sep BigInteger IGCD concode_elem_sep int signum concode_elem_sep BigInteger ISUM concode_elem_sep boolean isONE concode_elem_sep BigInteger inverse concode_elem_sep java.math.BigInteger getVal concode_elem_sep BigInteger INEG concode_elem_sep BigInteger valueOf concode_elem_sep BigInteger valueOf concode_elem_sep boolean isUnit concode_elem_sep BigInteger subtract concode_elem_sep BigInteger IQ concode_elem_sep BigInteger[] IQR concode_elem_sep BigInteger parse concode_elem_sep BigInteger parse concode_elem_sep BigInteger[] egcd concode_elem_sep int ISIGN concode_elem_sep BigInteger abs concode_elem_sep BigInteger IREM concode_elem_sep BigInteger[] divideAndRemainder concode_elem_sep BigInteger negate concode_elem_sep boolean equals concode_elem_sep BigInteger clone concode_elem_sep BigInteger getONE concode_elem_sep BigInteger getZERO concode_elem_sep BigInteger fromInteger concode_elem_sep BigInteger fromInteger concode_elem_sep boolean isZERO concode_elem_sep boolean isAssociative concode_elem_sep String toString concode_elem_sep int ICOMP concode_elem_sep BigInteger remainder [/INST] int function ( ) { return val . hashCode ( ) ; </s> |
<s>[INST] log a message to the log4j logger with trace priority . currently logs to debug level in log4j . concode_field_sep String name concode_elem_sep boolean is12 concode_elem_sep Logger logger concode_elem_sep String FQCN concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void debug concode_elem_sep void debug concode_elem_sep boolean isInfoEnabled concode_elem_sep boolean isErrorEnabled concode_elem_sep Logger getLogger concode_elem_sep boolean isTraceEnabled concode_elem_sep boolean isWarnEnabled concode_elem_sep boolean isDebugEnabled concode_elem_sep void error concode_elem_sep void error concode_elem_sep boolean isFatalEnabled concode_elem_sep void fatal concode_elem_sep void fatal concode_elem_sep void info concode_elem_sep void info [/INST] void function ( Object arg0 ) { if ( is12 ) { getLogger ( ) . log ( FQCN , ( Priority ) Level . DEBUG , arg0 , null ) ; } else { getLogger ( ) . log ( FQCN , Level . DEBUG , arg0 , null ) ; } </s> |
<s>[INST] evaluate complex polynomial . note coefficients are always c 1 to c n , c 0 is always 0,0 . concode_field_sep double DTR concode_elem_sep double P10 concode_elem_sep int N_ITER concode_elem_sep double C22 concode_elem_sep double C48 concode_elem_sep double TWOPI concode_elem_sep double P02 concode_elem_sep double FORTPI concode_elem_sep double MILLION concode_elem_sep double RTD concode_elem_sep double C88 concode_elem_sep double C04 concode_elem_sep double C66 concode_elem_sep double C02 concode_elem_sep double P01 concode_elem_sep double QUARTERPI concode_elem_sep double PI concode_elem_sep double EPS10 concode_elem_sep double C06 concode_elem_sep double C68 concode_elem_sep double P00 concode_elem_sep double C44 concode_elem_sep double C46 concode_elem_sep double C00 concode_elem_sep double SECONDS_TO_RAD concode_elem_sep double HALFPI concode_elem_sep double C08 concode_elem_sep double P11 concode_elem_sep int MAX_ITER concode_elem_sep double P20 concode_field_sep double authlat concode_elem_sep double niceNumber concode_elem_sep double atan2d concode_elem_sep double distance concode_elem_sep double greatCircleDistance concode_elem_sep double atand concode_elem_sep double radToDeg concode_elem_sep double[] authset concode_elem_sep double normalizeLatitude concode_elem_sep double cosd concode_elem_sep double mlfn concode_elem_sep double tand concode_elem_sep double sqrt concode_elem_sep double degToRad concode_elem_sep double phi2 concode_elem_sep double hypot concode_elem_sep double acosd concode_elem_sep double msfn concode_elem_sep double frac concode_elem_sep double[] enfn concode_elem_sep double atan2 concode_elem_sep double normalizeLongitude concode_elem_sep double qsfn concode_elem_sep double asind concode_elem_sep double sphericalAzimuth concode_elem_sep boolean sameSigns concode_elem_sep boolean sameSigns concode_elem_sep double geographicLatitude concode_elem_sep double inv_mlfn concode_elem_sep double cross concode_elem_sep boolean isIdentity concode_elem_sep double acos concode_elem_sep double dmsToDeg concode_elem_sep double longitudeDistance concode_elem_sep double geocentricLatitude concode_elem_sep double tsfn concode_elem_sep double trunc concode_elem_sep double takeSign concode_elem_sep int takeSign concode_elem_sep double sind concode_elem_sep double normalizeAngle concode_elem_sep double asin concode_elem_sep double dmsToRad concode_elem_sep Complex zpoly1d [/INST] Complex function ( Complex arg0 , Complex [ ] arg1 ) { Complex loc0 = new Complex ( arg1 [ arg1 . length - 1 ] ) ; double loc1 ; int loc2 = arg1 . length - 1 ; while ( loc2 -- > 0 ) { Complex loc3 = arg1 [ loc2 ] ; loc0 . r = loc3 . r + arg0 . r * ( loc1 = loc0 . r ) - arg0 . i * loc0 . i ; loc0 . i = loc3 . i + arg0 . r * loc0 . i + arg0 . i * loc1 ; } loc0 . r = arg0 . r * ( loc1 = loc0 . r ) - arg0 . i * loc0 . i ; loc0 . i = arg0 . r * loc0 . i + arg0 . i * loc1 ; return loc0 ; </s> |
<s>[INST] returns the successor or children nodes of this graphnode . concode_field_sep int preIndex concode_elem_sep int postIndex concode_elem_sep HashSet succs concode_elem_sep HashSet preds concode_field_sep int preOrderIndex concode_elem_sep int postOrderIndex concode_elem_sep void setPostOrderIndex concode_elem_sep void setPreOrderIndex concode_elem_sep Collection preds [/INST] Collection function ( ) { return succs ; </s> |
<s>[INST] verifies the default page size a4 . concode_field_sep HtmlPipelineContext ctx concode_field_sep void verifydefaultAcceptUnknown concode_elem_sep void verifydefaultRoottags concode_elem_sep void setup concode_elem_sep void verifydefaultBookmarksEnabled concode_elem_sep void verifyMemory [/INST] void function ( ) { Assert . assertEquals ( PageSize . A4 , ctx . getPageSize ( ) ) ; </s> |
<s>[INST] return true iff this quadrant is adjacent to the boundary of an image in the given direction . concode_field_sep PlaceHolder placeHolder concode_field_sep Quadrant reflect concode_elem_sep QuadTreeNode child [/INST] boolean function ( int arg0 ) { return ( arg0 == QuadTreeNode . SOUTH || arg0 == QuadTreeNode . WEST ) ; </s> |
<s>[INST] the measurement has been started . concode_field_sep Logger log concode_elem_sep String description concode_elem_sep int clusterIDLength concode_elem_sep String style concode_elem_sep boolean started concode_elem_sep String fileDescr concode_elem_sep String seed concode_elem_sep int BUFFER_CAPACITY concode_elem_sep String filePrefix concode_elem_sep String fileSuffix concode_elem_sep PrintWriter out concode_field_sep void appendClusterID concode_elem_sep void setOutputFilePrefix concode_elem_sep void stopped concode_elem_sep void start concode_elem_sep void appendNewLine concode_elem_sep void setDescription concode_elem_sep boolean isStarted concode_elem_sep void setOutputFileSuffix concode_elem_sep void setOutputFile concode_elem_sep void appendSeparator concode_elem_sep void setOutputFileDescr concode_elem_sep void stop concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void appendToFile concode_elem_sep void setStyle concode_elem_sep void setSeed concode_elem_sep String getFileName [/INST] void function ( ) { </s> |
<s>[INST] copies the contents of the stack into a native array . note that this will not pop them out of the stack . concode_field_sep TLongArrayList _list concode_elem_sep int DEFAULT_CAPACITY concode_field_sep long pop concode_elem_sep int size concode_elem_sep void clear concode_elem_sep void reset concode_elem_sep void push concode_elem_sep long peek [/INST] long [ ] function ( ) { return _list . toNativeArray ( ) ; </s> |
<s>[INST] get a cssresolver implementation . concode_field_sep XMLWorkerHelper myself concode_elem_sep TagProcessorFactory tpf concode_elem_sep CssFile defaultCssFile concode_field_sep ElementList parseToElementList concode_elem_sep TagProcessorFactory getDefaultTagProcessorFactory concode_elem_sep CssFile getCSS concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep void parseXHtml concode_elem_sep XMLWorkerHelper getInstance concode_elem_sep CssFile getDefaultCSS [/INST] CSSResolver function ( final boolean arg0 ) { CSSResolver loc0 = new StyleAttrCSSResolver ( ) ; if ( arg0 ) { loc0 . addCss ( getDefaultCSS ( ) ) ; } return loc0 ; </s> |
<s>[INST] returns the time of the message , when it was sent , received or dropped . concode_field_sep long size concode_elem_sep Class msgClass concode_elem_sep long timestamp concode_field_sep Class getMsgClass concode_elem_sep long getSize [/INST] long function ( ) { return timestamp ; </s> |
<s>[INST] item returns this node 's item . if this node is invalid , throws an exception . concode_field_sep Object item concode_elem_sep List myList concode_field_sep ListNode next concode_elem_sep ListNode prev concode_elem_sep boolean isValidNode concode_elem_sep void setItem concode_elem_sep void insertAfter concode_elem_sep void remove concode_elem_sep void insertBefore [/INST] Object function ( ) { if ( ! isValidNode ( ) ) { throw new InvalidNodeException ( ) ; } return item ; </s> |
<s>[INST] determines whether a notification should hold a foreground service to keep gecko alive concode_field_sep Notification mForegroundNotification concode_elem_sep ConcurrentHashMap<Integer,Notification> mNotifications concode_elem_sep NotificationManagerCompat mNotificationManager concode_elem_sep Context mContext concode_elem_sep int mForegroundNotificationId concode_field_sep void add concode_elem_sep void add concode_elem_sep void updateForegroundNotification concode_elem_sep void setForegroundNotification concode_elem_sep void update concode_elem_sep boolean isDone concode_elem_sep void remove [/INST] boolean function ( int arg0 ) { final Notification loc0 = mNotifications . get ( arg0 ) ; return isOngoing ( loc0 ) ; </s> |
<s>[INST] returns true if this registry maps one or more keys to the specified value . concode_field_sep Map _values concode_elem_sep Map _register concode_field_sep WidgetLocator add concode_elem_sep String getKey concode_elem_sep Set getEntries concode_elem_sep boolean containsKey concode_elem_sep IWidgetIdentifier get concode_elem_sep IWidgetIdentifier remove [/INST] boolean function ( IWidgetIdentifier arg0 ) { return _register . containsValue ( arg0 ) ; </s> |
<s>[INST] process : null arguemnts concode_field_sep Annotations annotations concode_field_sep void testProcessConnectionDefinition concode_elem_sep void testProcessActivation concode_elem_sep void testProcessConnectorFail concode_elem_sep void tearDown concode_elem_sep void testProcessConfigProperty concode_elem_sep void testProcessNullAnnotationRepository concode_elem_sep void beforeClass concode_elem_sep void setup concode_elem_sep void testProcessConnector concode_elem_sep void afterClass concode_elem_sep void testProcessAuthenticationMechanism concode_elem_sep void testProcessAdministeredObject concode_elem_sep void testProcessConnectionDefinitions concode_elem_sep URI getURI [/INST] void function ( ) { annotations . process ( null , null , null ) ; </s> |
<s>[INST] residue negate . concode_field_sep C val concode_elem_sep ResidueRing<C> ring concode_elem_sep boolean debug concode_elem_sep int isunit concode_elem_sep Logger logger concode_field_sep int signum concode_elem_sep boolean isONE concode_elem_sep Residue<C> inverse concode_elem_sep boolean isUnit concode_elem_sep Residue<C> subtract concode_elem_sep Residue<C> gcd concode_elem_sep Residue<C> sum concode_elem_sep int compareTo concode_elem_sep Residue<C>[] egcd concode_elem_sep Residue<C> abs concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Residue<C> clone concode_elem_sep boolean isZERO concode_elem_sep String toString concode_elem_sep Residue<C> divide concode_elem_sep Residue<C> multiply concode_elem_sep Residue<C> remainder [/INST] Residue < C > function ( ) { return new Residue < C > ( ring , val . negate ( ) ) ; </s> |
<s>[INST] extended groebner base using critical pair class . concode_field_sep Reduction<C> red concode_elem_sep boolean debug concode_elem_sep Logger logger concode_field_sep boolean isGB concode_elem_sep boolean isGB concode_elem_sep List<GenPolynomial<C>> minimalGB concode_elem_sep List<GenPolynomial<C>> GB concode_elem_sep boolean isReductionMatrix concode_elem_sep boolean isReductionMatrix [/INST] ExtendedGB < C > function ( int arg0 , List < GenPolynomial < C >> arg1 ) { throw new RuntimeException ( "srini_string" + this . getClass ( ) . getSimpleName ( ) ) ; </s> |
<s>[INST] the setup of testcase is : send message + - > ejb3 mdb @runas - > ejb3 slsb - > ejb2 slsb & & ejb2 slsb concode_field_sep InitialContext initialContext concode_elem_sep String PRINCIPAL concode_field_sep Archive<?> runAsEJB2 concode_elem_sep Archive<?> runAsEJB3 concode_elem_sep void clientCall concode_elem_sep void setup concode_elem_sep void tearDown [/INST] void function ( ) { ConnectionFactory loc0 = ( ConnectionFactory ) initialContext . lookup ( "srini_string" ) ; String loc1 = HelloBean . sendMessage ( loc0 ) ; Assert . assertEquals ( String . format ( "srini_string" , HowdyBean . SAYING , PRINCIPAL , HolaBean . SAYING , PRINCIPAL , GoodByeBean . SAYING ) , loc1 ) ; </s> |
<s>[INST] add an additional skip hour name . concode_field_sep String managingEditor concode_elem_sep String title concode_elem_sep String language concode_elem_sep String link concode_elem_sep ArrayList skipDays concode_elem_sep TextInput textInput concode_elem_sep String rating concode_elem_sep String pubDate concode_elem_sep String description concode_elem_sep String lastBuildDate concode_elem_sep String webMaster concode_elem_sep String copyright concode_elem_sep ArrayList skipHours concode_elem_sep ArrayList items concode_elem_sep Image image concode_elem_sep String docs concode_elem_sep double version concode_field_sep void addSkipDay concode_elem_sep void removeItem concode_elem_sep void setCopyright concode_elem_sep String getWebMaster concode_elem_sep void setDescription concode_elem_sep String getDescription concode_elem_sep String getDocs concode_elem_sep void addItem concode_elem_sep Item[] getItems concode_elem_sep String getTitle concode_elem_sep String[] getSkipHours concode_elem_sep String[] findSkipHours concode_elem_sep String[] findSkipDays concode_elem_sep void render concode_elem_sep void render concode_elem_sep void render concode_elem_sep void render concode_elem_sep void render concode_elem_sep void render concode_elem_sep String[] getSkipDays concode_elem_sep void setManagingEditor concode_elem_sep double getVersion concode_elem_sep String getLanguage concode_elem_sep String getCopyright concode_elem_sep void setVersion concode_elem_sep String getPubDate concode_elem_sep void setWebMaster concode_elem_sep void setTitle concode_elem_sep void setTextInput concode_elem_sep Item[] findItems concode_elem_sep void setPubDate concode_elem_sep void setLink concode_elem_sep String getLink concode_elem_sep String getLastBuildDate concode_elem_sep void setDocs concode_elem_sep void removeSkipHour concode_elem_sep void removeSkipDay concode_elem_sep TextInput getTextInput concode_elem_sep Image getImage concode_elem_sep void setLastBuildDate concode_elem_sep void setRating concode_elem_sep String getManagingEditor concode_elem_sep void setImage concode_elem_sep void setLanguage concode_elem_sep String getRating [/INST] void function ( String arg0 ) { synchronized ( skipHours ) { skipHours . add ( arg0 ) ; } </s> |
<s>[INST] checks if the pdf has to be in conformance with pdf/x -3:2002 concode_field_sep PdfWriter writer concode_elem_sep int pdfxConformance concode_field_sep boolean isPdfIso concode_elem_sep void checkPdfIsoConformance concode_elem_sep int getPDFXConformance concode_elem_sep boolean isPdfX1A2001 concode_elem_sep boolean isPdfX concode_elem_sep void setPDFXConformance [/INST] boolean function ( ) { return pdfxConformance == PdfWriter . PDFX32002 ; </s> |
<s>[INST] set the parent widgetlocator . concode_field_sep long serialVersionUID concode_elem_sep HashMap _map concode_elem_sep int UNASSIGNED concode_elem_sep int _index concode_elem_sep WidgetLocator _parentInfo concode_elem_sep Class _cls concode_elem_sep String _nameOrLabel concode_elem_sep IWidgetMatcher _matcher concode_field_sep int getIndex concode_elem_sep void setData concode_elem_sep WidgetLocator getParentInfo concode_elem_sep String getNameOrLabel concode_elem_sep IWidgetLocator[] findAll concode_elem_sep boolean matches concode_elem_sep Map getDataMap concode_elem_sep Class getTargetClass concode_elem_sep void setIndex concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String getTargetClassName concode_elem_sep String getData [/INST] void function ( WidgetLocator arg0 ) { _parentInfo = arg0 ; </s> |
<s>[INST] this method attempts to find two values a and b satisfying lowerbound f a f b if f is continuous on a , b , this means that a and b bracket a root of f . the algorithm starts by setting a : = initial -1 ; b : = initial +1 , examines the value of the function at a and b and keeps moving the endpoints out by one unit each time through a loop that terminates when one of the following happens : f a f b -- success ! a = lower and b = upper -- convergenceexception integer.max _ value iterations elapse -- convergenceexception note : this method can take integer.max _ value iterations to throw a convergenceexception . unless you are confident that there is a root between lowerbound and upperbound near initial , it is better to use #bracket univariaterealfunction , double , double , double , int , explicitly specifying the maximum number of iterations . concode_field_sep UnivariateRealSolverFactory factory concode_field_sep double solve concode_elem_sep double solve concode_elem_sep double midpoint concode_elem_sep void setup [/INST] double [ ] function ( UnivariateRealFunction arg0 , double arg1 , double arg2 , double arg3 ) { return bracket ( arg0 , arg1 , arg2 , arg3 , Integer . MAX_VALUE ) ; </s> |
<s>[INST] returns true if o is a routingtableentry and has the same kademliaoverlaycontact as this . specifics of this routing table entry such as stale counter are ignored . concode_field_sep long lastSeen concode_elem_sep int staleCounter concode_elem_sep KademliaOverlayContact<T> contact concode_field_sep int getStaleCounter concode_elem_sep int hashCode concode_elem_sep int increaseStaleCounter concode_elem_sep String toString concode_elem_sep long getLastSeen concode_elem_sep KademliaOverlayContact<T> getContact concode_elem_sep void seen [/INST] boolean function ( Object arg0 ) { if ( arg0 instanceof RoutingTableEntry ) { return this . contact . getOverlayID ( ) . equals ( ( ( RoutingTableEntry < ? > ) arg0 ) . getContact ( ) . getOverlayID ( ) ) ; } return false ; </s> |
<s>[INST] get the minimal key from this map with respect to the preset comparator for which valuepredicate holds for its associated value . concode_field_sep SortedMap<K,V> kSmallest concode_elem_sep int k concode_field_sep boolean containsKey concode_elem_sep Collection<V> values concode_elem_sep void clear concode_elem_sep boolean isInRange concode_elem_sep boolean put concode_elem_sep boolean put concode_elem_sep boolean put concode_elem_sep V remove concode_elem_sep boolean containsValue concode_elem_sep K getMaxKey concode_elem_sep int size concode_elem_sep K firstKey concode_elem_sep void putAll concode_elem_sep void putAll concode_elem_sep void putAll concode_elem_sep void putAll concode_elem_sep void putAll concode_elem_sep V get concode_elem_sep void setAllValues concode_elem_sep K lastKey concode_elem_sep String toString concode_elem_sep Set<K> keySet [/INST] K function ( final Predicate < V > arg0 ) { for ( final Map . Entry < K , V > loc0 : kSmallest . entrySet ( ) ) { if ( arg0 . isTrue ( loc0 . getValue ( ) ) ) { return loc0 . getKey ( ) ; } } return null ; </s> |
<s>[INST] delete customer schema for fresh setup per test . concode_field_sep String DB_URL concode_elem_sep DbCustomerDao dao concode_elem_sep Customer existingCustomer concode_elem_sep String EXCEPTION_CAUSE concode_elem_sep ExpectedException exception concode_field_sep void addingShouldResultInSuccess concode_elem_sep void deletionShouldBeFailureAndNotAffectExistingCustomers concode_elem_sep void retrievingAllCustomersFailsWithExceptionAsFeedbackToClient concode_elem_sep void updatingACustomerFailsWithFeedbackToTheClient concode_elem_sep void retrieveShouldReturnNoCustomer concode_elem_sep void createSchema concode_elem_sep void updationShouldBeFailureAndNotAffectExistingCustomers concode_elem_sep void deletionShouldBeSuccessAndCustomerShouldBeNonAccessible concode_elem_sep void addingShouldResultInFailureAndNotAffectExistingCustomers concode_elem_sep void assertCustomerCountIs concode_elem_sep void addingACustomerFailsWithExceptionAsFeedbackToClient concode_elem_sep DataSource mockedDatasource concode_elem_sep void setUp concode_elem_sep void setUp concode_elem_sep void updationShouldBeSuccessAndAccessingTheSameCustomerShouldReturnUpdatedInformation concode_elem_sep void retrievingACustomerByIdFailsWithExceptionAsFeedbackToClient concode_elem_sep int getNonExistingCustomerId concode_elem_sep void deletingACustomerFailsWithExceptionAsFeedbackToTheClient [/INST] void function ( ) { try ( Connection loc0 = DriverManager . getConnection ( DB_URL ) ; Statement loc1 = loc0 . createStatement ( ) ) { loc1 . execute ( CustomerSchemaSql . DELETE_SCHEMA_SQL ) ; } </s> |
<s>[INST] is this contact offline ? concode_field_sep boolean isOffline concode_elem_sep long lastAction concode_elem_sep TransInfo transInfo concode_elem_sep long ttl concode_field_sep void updateLastAction concode_elem_sep void markAsOffline concode_elem_sep boolean equals concode_elem_sep ReplicationDHTContact clone concode_elem_sep long getLastAction concode_elem_sep TransInfo getTransInfo [/INST] boolean function ( ) { return isOffline || Simulator . getCurrentTime ( ) > ttl + lastAction ; </s> |
<s>[INST] listsum computes the sum of terms in a list . concode_field_sep PlaceHolder placeHolder concode_field_sep ListNode createGeomSeries concode_elem_sep void main [/INST] double function ( ListNode arg0 ) { if ( arg0 == null ) { return 0.0 ; } return ( ( Double ) arg0 . item ) . doubleValue ( ) + listSum ( arg0 . next ) ; </s> |
<s>[INST] log the specified exception . concode_field_sep ILog sysOutLog concode_elem_sep PrintWriter sysOut concode_elem_sep ILog log concode_elem_sep String PRODUCT_ID concode_field_sep void setLog concode_elem_sep void printLogObject concode_elem_sep void removeLogListener concode_elem_sep void logNoHeader concode_elem_sep void logStackTrace concode_elem_sep void printLogStatus concode_elem_sep IStatus createLogStatus concode_elem_sep void printLogMessage concode_elem_sep void printLog concode_elem_sep void close concode_elem_sep void addLogListener concode_elem_sep org.osgi.framework.Bundle getBundle [/INST] void function ( Throwable arg0 ) { log ( "srini_string" , arg0 ) ; </s> |
<s>[INST] log a message and exception with trace log level . concode_field_sep String name concode_elem_sep boolean classAndMethodFound concode_elem_sep Logger logger concode_elem_sep String sourceMethodName concode_elem_sep String sourceClassName concode_field_sep void debug concode_elem_sep void debug concode_elem_sep void log concode_elem_sep Logger getLogger concode_elem_sep boolean isWarnEnabled concode_elem_sep void error concode_elem_sep void error concode_elem_sep boolean isFatalEnabled concode_elem_sep void fatal concode_elem_sep void fatal concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep boolean isInfoEnabled concode_elem_sep boolean isErrorEnabled concode_elem_sep boolean isTraceEnabled concode_elem_sep boolean isDebugEnabled concode_elem_sep void getClassAndMethod concode_elem_sep void info concode_elem_sep void info [/INST] void function ( Object arg0 , Throwable arg1 ) { log ( Level . FINEST , String . valueOf ( arg0 ) , arg1 ) ; </s> |
<s>[INST] sets the new productid . concode_field_sep long signature1 concode_elem_sep int productID concode_elem_sep String manufacturer concode_elem_sep int vendorID concode_elem_sep long version concode_elem_sep long signature2 concode_elem_sep String productDescription concode_elem_sep String serialNumber concode_elem_sep int MAX_HEADER_LENGTH concode_elem_sep String manufacturerID concode_elem_sep boolean remoteWakeupCapable concode_elem_sep boolean pnpEnabled concode_elem_sep int maxPower concode_elem_sep boolean selfPowered concode_field_sep boolean isPnpEnabled concode_elem_sep long getSignature2 concode_elem_sep void setPnpEnabled concode_elem_sep void setManufacturer concode_elem_sep void setMaxPower concode_elem_sep void setProductDescription concode_elem_sep String getManufacturer concode_elem_sep void setSelfPowered concode_elem_sep long getSignature1 concode_elem_sep void setManufacturerID concode_elem_sep boolean isRemoteWakeupCapable concode_elem_sep String getManufacturerID concode_elem_sep void validate concode_elem_sep int getMaxPower concode_elem_sep long getVersion concode_elem_sep void setSignature1 concode_elem_sep String getSerialNumber concode_elem_sep void setSerialNumber concode_elem_sep void setVersion concode_elem_sep void setSignature2 concode_elem_sep String getProductDescription concode_elem_sep int getProductID concode_elem_sep boolean isSelfPowered concode_elem_sep void setRemoteWakeupCapable concode_elem_sep void setVendorID concode_elem_sep int getVendorID [/INST] void function ( int arg0 ) { this . productID = arg0 ; </s> |
<s>[INST] add a file to the collection . concode_field_sep ArrayList<String> files concode_elem_sep MusicPlayer player concode_field_sep void listAllFilles concode_elem_sep void listFile concode_elem_sep void removeFile concode_elem_sep int getNumberOfFiles concode_elem_sep void listMatching concode_elem_sep int findFirst concode_elem_sep void stopPlaying concode_elem_sep void startPlaying concode_elem_sep void playSampleOf [/INST] void function ( String arg0 ) { files . add ( arg0 ) ; </s> |
<s>[INST] find the timestamp associated with the given metrics , and remove all metrics objects from the start of the queue up to and including the one provided . note that because of draw coalescing , the metrics object passed in here may not be the one at the head of the queue , and so we must iterate our way through the list to find it . this must only be called from the compositor thread . concode_field_sep DisplayPortMetrics[] mMetrics concode_elem_sep long[] mTimestamps concode_elem_sep String LOGTAG concode_elem_sep int mTail concode_elem_sep int BUFFER_SIZE concode_elem_sep int mHead concode_field_sep boolean add concode_elem_sep void reset [/INST] long function ( DisplayPortMetrics arg0 ) { int loc0 = mTail ; int loc1 = ( mHead + 1 ) % BUFFER_SIZE ; while ( loc1 != loc0 ) { if ( mMetrics [ loc1 ] . fuzzyEquals ( arg0 ) ) { long loc2 = mTimestamps [ loc1 ] ; mHead = loc1 ; return loc2 ; } loc1 = ( loc1 + 1 ) % BUFFER_SIZE ; } return - 1 ; </s> |
<s>[INST] gets an object containing the image dictionary and bytes . concode_field_sep PdfIndirectReference ref concode_elem_sep InlineImageInfo inlineImageInfo concode_elem_sep PdfImageObject imageObject concode_elem_sep PdfDictionary colorSpaceDictionary concode_elem_sep GraphicsState gs concode_field_sep Vector getStartPoint concode_elem_sep ImageRenderInfo createForXObject concode_elem_sep PdfIndirectReference getRef concode_elem_sep ImageRenderInfo createForEmbeddedImage concode_elem_sep BaseColor getCurrentFillColor concode_elem_sep void prepareImageObject concode_elem_sep Matrix getImageCTM concode_elem_sep float getArea [/INST] PdfImageObject function ( ) { prepareImageObject ( ) ; return imageObject ; </s> |
<s>[INST] isvalidnode returns true if this node is valid ; false otherwise . concode_field_sep boolean valid concode_elem_sep Object item concode_field_sep TreeNode parent concode_elem_sep Object item concode_elem_sep int children concode_elem_sep void removeLeaf concode_elem_sep void insertChild concode_elem_sep TreeNode nextSibling concode_elem_sep void setItem concode_elem_sep TreeNode child [/INST] boolean function ( ) { return valid ; </s> |
<s>[INST] compares this protocol version with another one . only protocol versions with the same protocol name can be compared . this method does not define a total ordering , as it would be required for java.lang.comparable . concode_field_sep String protocol concode_elem_sep int major concode_elem_sep int minor concode_elem_sep long serialVersionUID concode_field_sep int getMinor concode_elem_sep boolean lessEquals concode_elem_sep int hashCode concode_elem_sep boolean isComparable concode_elem_sep boolean equals concode_elem_sep boolean greaterEquals concode_elem_sep int getMajor concode_elem_sep Object clone concode_elem_sep String getProtocol concode_elem_sep String toString concode_elem_sep ProtocolVersion forVersion [/INST] int function ( final ProtocolVersion arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; Args . check ( this . protocol . equals ( arg0 . protocol ) , "srini_string" , this , arg0 ) ; int loc0 = getMajor ( ) - arg0 . getMajor ( ) ; if ( loc0 == 0 ) { loc0 = getMinor ( ) - arg0 . getMinor ( ) ; } return loc0 ; </s> |
<s>[INST] saves the current content into the given output stream . concode_field_sep SessionInfoStore sessionInfos concode_elem_sep ExecutionDataStore executionData concode_field_sep void load concode_elem_sep void load concode_elem_sep SessionInfoStore getSessionInfoStore concode_elem_sep ExecutionDataStore getExecutionDataStore [/INST] void function ( final OutputStream arg0 ) { final ExecutionDataWriter loc0 = new ExecutionDataWriter ( arg0 ) ; sessionInfos . accept ( loc0 ) ; executionData . accept ( loc0 ) ; </s> |
<s>[INST] does this registry contain the named function concode_field_sep Dialect dialect concode_elem_sep Map<String,SQLFunction> userFunctions concode_field_sep SQLFunction findSQLFunction [/INST] boolean function ( String arg0 ) { final String loc0 = arg0 . toLowerCase ( Locale . ROOT ) ; return userFunctions . containsKey ( loc0 ) || dialect . getFunctions ( ) . containsKey ( loc0 ) ; </s> |
<s>[INST] generate a random power series with d = 0.7 . concode_field_sep UnivPowerSeries<C> ZERO concode_elem_sep String DEFAULT_NAME concode_elem_sep int truncate concode_elem_sep String var concode_elem_sep int DEFAULT_TRUNCATE concode_elem_sep UnivPowerSeries<C> ONE concode_elem_sep RingFactory<C> coFac concode_elem_sep Random random concode_field_sep UnivPowerSeries<C> getTAN concode_elem_sep boolean isField concode_elem_sep boolean isCommutative concode_elem_sep UnivPowerSeries<C> getSIN concode_elem_sep UnivPowerSeries<C> parse concode_elem_sep UnivPowerSeries<C> parse concode_elem_sep UnivPowerSeries<C> fromPolynomial concode_elem_sep java.math.BigInteger characteristic concode_elem_sep UnivPowerSeries<C> getEXP concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep UnivPowerSeries<C> getONE concode_elem_sep UnivPowerSeries<C> getZERO concode_elem_sep UnivPowerSeries<C> getCOS concode_elem_sep UnivPowerSeries<C> fromInteger concode_elem_sep UnivPowerSeries<C> fromInteger concode_elem_sep String toString concode_elem_sep boolean isAssociative concode_elem_sep UnivPowerSeries<C> copy concode_elem_sep UnivPowerSeries<C> fixPoint [/INST] UnivPowerSeries < C > function ( int arg0 , Random arg1 ) { return random ( arg0 , 0.7f , arg1 ) ; </s> |
<s>[INST] function to get object data by its id concode_field_sep String m_Url concode_elem_sep String m_Key concode_elem_sep String m_Packing concode_elem_sep String m_Language concode_elem_sep String m_Format concode_field_sep String getPacking concode_elem_sep String getLanguage concode_elem_sep void setPacking concode_elem_sep String getObjectsInBoxByBBox concode_elem_sep String getObjectInBox concode_elem_sep String getObjectsInBoxByLatLon concode_elem_sep String doSendApiRequest concode_elem_sep void setFormat concode_elem_sep String getObjectsInPoint concode_elem_sep String getObjectsInBoxByTile concode_elem_sep String getObjectsInBoxByTile concode_elem_sep String getObjectsBySearchQuery concode_elem_sep String getObjectsBySearchQuery concode_elem_sep String getFormat concode_elem_sep void setLanguage [/INST] String function ( int arg0 ) { return doSendApiRequest ( "srini_string" , "srini_string" + arg0 ) ; </s> |
<s>[INST] gets the cached token value from a bundle . concode_field_sep String TOKEN_SOURCE_KEY concode_elem_sep long INVALID_BUNDLE_MILLISECONDS concode_elem_sep String TOKEN_KEY concode_elem_sep String PERMISSIONS_KEY concode_elem_sep String EXPIRATION_DATE_KEY concode_elem_sep String DECLINED_PERMISSIONS_KEY concode_elem_sep String LAST_REFRESH_DATE_KEY concode_elem_sep String IS_SSO_KEY concode_elem_sep String USER_FBID_KEY concode_field_sep void putDeclinedPermissions concode_elem_sep long getExpirationMilliseconds concode_elem_sep void putLastRefreshDate concode_elem_sep List<String> getPermissions concode_elem_sep void save concode_elem_sep void clear concode_elem_sep void putToken concode_elem_sep void putSource concode_elem_sep Date getExpirationDate concode_elem_sep boolean hasTokenInformation concode_elem_sep void putPermissions concode_elem_sep void putExpirationMilliseconds concode_elem_sep Bundle load concode_elem_sep long getLastRefreshMilliseconds concode_elem_sep Date getLastRefreshDate concode_elem_sep AccessTokenSource getSource concode_elem_sep void putLastRefreshMilliseconds concode_elem_sep Date getDate concode_elem_sep void putExpirationDate concode_elem_sep void putDate [/INST] String function ( Bundle arg0 ) { Validate . notNull ( arg0 , "srini_string" ) ; return arg0 . getString ( TOKEN_KEY ) ; </s> |
<s>[INST] get a description of the reason this os delegate is invalid . concode_field_sep String reason concode_field_sep IWindowService getWindowService concode_elem_sep INativeConditionFactory getConditionFactory concode_elem_sep void invalid concode_elem_sep InvalidOSDelegate forReason concode_elem_sep String toString [/INST] String function ( ) { return reason ; </s> |
<s>[INST] called when a lookup previously started succeeded . concode_field_sep FilesharingApplication app concode_elem_sep FSEvents ev concode_field_sep void setFSApplication concode_elem_sep void lookupStarted concode_elem_sep void publishStarted concode_elem_sep void lookupMadeHop concode_elem_sep void publishSucceeded concode_elem_sep FilesharingApplication getFSApplication [/INST] void function ( OverlayContact arg0 , Object arg1 , int arg2 ) { ev . lookupSucceeded ( arg0 , arg1 , arg2 ) ; </s> |
<s>[INST] formats time as milliseconds with units . concode_field_sep String UNIT_MILLISECONDS concode_elem_sep String UNIT_SECONDS concode_field_sep String format concode_elem_sep String format concode_elem_sep String format concode_elem_sep String formatToFixedDecimalPoint concode_elem_sep String formatSeconds concode_elem_sep String formatSeconds [/INST] String function ( double arg0 , int arg1 ) { return formatToFixedDecimalPoint ( arg0 , arg1 ) + UNIT_MILLISECONDS ; </s> |
<s>[INST] returns the number of covered branches starting from this instruction . concode_field_sep int coveredBranches concode_elem_sep int line concode_elem_sep Instruction predecessor concode_elem_sep int branches concode_field_sep int getBranches concode_elem_sep void addBranch concode_elem_sep int getLine concode_elem_sep void setPredecessor concode_elem_sep void setCovered [/INST] int function ( ) { return coveredBranches ; </s> |
<s>[INST] returns true if a memorybin with the given uri name already exists in this storage . concode_field_sep int _pageSize concode_elem_sep int DEFAULT_PAGESIZE concode_elem_sep Map<String,Bin> _binsByUri concode_field_sep Bin produceBin concode_elem_sep void rename concode_elem_sep Bin bin concode_elem_sep void bin concode_elem_sep void delete concode_elem_sep Bin open [/INST] boolean function ( String arg0 ) { return _binsByUri . containsKey ( arg0 ) ; </s> |
<s>[INST] reads the next token skipping over the comments . concode_field_sep int COMMAND_TYPE concode_elem_sep PRTokeniser tokeniser concode_field_sep PdfObject readPRObject concode_elem_sep void setTokeniser concode_elem_sep PdfArray readArray concode_elem_sep ArrayList<PdfObject> parse concode_elem_sep PdfDictionary readDictionary concode_elem_sep PRTokeniser getTokeniser [/INST] boolean function ( ) { while ( tokeniser . nextToken ( ) ) { if ( tokeniser . getTokenType ( ) == TokenType . COMMENT ) continue ; return true ; } return false ; </s> |
<s>[INST] increase the accounting . returns whether the allocation fit within limits . concode_field_sep Accountant parent concode_elem_sep AtomicLong allocationLimit concode_elem_sep AtomicLong peakAllocation concode_elem_sep long reservation concode_elem_sep boolean ok concode_elem_sep AtomicLong locallyHeldMemory concode_field_sep void releaseBytes concode_elem_sep void updatePeak concode_elem_sep AllocationOutcome allocateBytes concode_elem_sep AllocationOutcome allocate concode_elem_sep long getLimit concode_elem_sep void setLimit concode_elem_sep long getPeakMemoryAllocation concode_elem_sep boolean isOk concode_elem_sep long getAllocatedMemory concode_elem_sep void close concode_elem_sep boolean isOverLimit [/INST] boolean function ( long arg0 ) { final AllocationOutcome loc0 = allocate ( arg0 , true , true ) ; return loc0 . isOk ( ) ; </s> |
<s>[INST] debugging to see if the object has already been freed . concode_field_sep AtomicReferenceArray<T> _freeStack concode_elem_sep AtomicInteger _top concode_field_sep boolean allowFree concode_elem_sep T allocate concode_elem_sep void freeCareful concode_elem_sep boolean free [/INST] boolean function ( T arg0 ) { int loc0 = _top . get ( ) ; for ( int loc1 = loc0 - 1 ; loc1 >= 0 ; loc1 -- ) { if ( _freeStack . get ( loc1 ) == arg0 ) { return true ; } } return false ; </s> |
<s>[INST] following method performs the initialization concode_field_sep String OUTPUT_FILE concode_elem_sep PrintStream error concode_elem_sep PrintStream output concode_elem_sep FileLoggerModule singleton concode_elem_sep String ERROR_FILE concode_elem_sep Logger LOGGER concode_field_sep void unprepare concode_elem_sep void printErrorString concode_elem_sep void printString concode_elem_sep FileLoggerModule getSingleton [/INST] FileLoggerModule function ( ) { LOGGER . debug ( "srini_string" ) ; this . output = new PrintStream ( new FileOutputStream ( OUTPUT_FILE ) ) ; this . error = new PrintStream ( new FileOutputStream ( ERROR_FILE ) ) ; return this ; </s> |
<s>[INST] generate variable string . concode_field_sep String var concode_elem_sep int N concode_elem_sep String order concode_field_sep String sum1 concode_elem_sep String varList concode_elem_sep String varList concode_elem_sep String polyList concode_elem_sep String sumUm concode_elem_sep void main concode_elem_sep String toString [/INST] String function ( int arg0 ) { if ( arg0 < 0 ) { return variable ( - arg0 ) ; } if ( arg0 > N ) { return "srini_string" ; } return var + arg0 ; </s> |