idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
9,800 | called whenever the osgi framework starts our bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void stop concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = arg0 ; logger . debug ( "srini_string" ) ; } |
9,801 | gets the singleton instance of metasearchsessionmanager concode_field_sep Cache cache concode_elem_sep MetasearchSessionManager metasearchSessionManager concode_elem_sep String CACHE_NAME concode_elem_sep org.apache.commons.logging.Log LOG concode_elem_sep MemoryService memoryService concode_field_sep MetasearchSession... | MetasearchSessionManager function ( ) { if ( metasearchSessionManager == null ) { metasearchSessionManager = new MetasearchSessionManager ( ) ; } return metasearchSessionManager ; } |
9,802 | checks if a number is odd . if a non-integer number is specified , any digits after the decimal point are ignored . concode_field_sep Log log concode_field_sep Boolean ISEVEN concode_elem_sep Double RAND concode_elem_sep Number MAX concode_elem_sep void logNullArgument concode_elem_sep Number SQRT concode_elem_sep Numb... | Boolean function ( Number arg0 ) { if ( arg0 == null ) { logNullArgument ( ) ; return null ; } else { return arg0 . intValue ( ) % 2 == 1 ; } } |
9,803 | resizes the image and writes it to the disk . concode_field_sep String[] ALLOWED_EXT concode_elem_sep int MAX_BUFF_SIZE concode_field_sep boolean isImage concode_elem_sep boolean checkImageFile concode_elem_sep void createResizedImage concode_elem_sep void createTmpThumb concode_elem_sep boolean checkImageSize concode_... | void function ( final BufferedImage arg0 , final int arg1 , final int arg2 , final float arg3 , final File arg4 ) { try { Thumbnails . of ( arg0 ) . size ( arg1 , arg2 ) . keepAspectRatio ( false ) . outputQuality ( arg3 ) . toFile ( arg4 ) ; } catch ( IllegalStateException loc0 ) { Thumbnails . of ( arg0 ) . size ( ar... |
9,804 | collect the error and/or throw an exception , depending on configuration . concode_field_sep List invalidReferences concode_elem_sep String EVENTHANDLER_INVALIDREFERENCE_EXCEPTION concode_elem_sep boolean stopOnFirstInvalidReference concode_field_sep boolean invalidSetMethod concode_elem_sep void reportInvalidReference... | Object function ( Context arg0 , String arg1 , Object arg2 , String arg3 , Info arg4 ) { reportInvalidReference ( arg1 , arg4 ) ; return null ; } |
9,805 | defines or reset a listener for the given method signature . concode_field_sep MethodListener sDefaultListener concode_elem_sep HashMap<String,MethodListener> sMethods concode_field_sep long invokeL concode_elem_sep int invokeI concode_elem_sep void invokeV concode_elem_sep float invokeF concode_elem_sep double invokeD... | void function ( String arg0 , MethodListener arg1 ) { if ( arg1 == null ) { sMethods . remove ( arg0 ) ; } else { sMethods . put ( arg0 , arg1 ) ; } } |
9,806 | set the value related to the column : name concode_field_sep java.util.Date modifiedTime concode_elem_sep int hashCode concode_elem_sep String REF concode_elem_sep String PROP_ID concode_elem_sep String PROP_OPENING_BALANCE concode_elem_sep java.lang.Double currentBalance concode_elem_sep java.lang.String name concode_... | void function ( java . lang . String arg0 ) { this . name = arg0 ; } |
9,807 | tests if this tcpmasterconnection is connected . concode_field_sep InetAddress m_Address concode_elem_sep int m_Timeout concode_elem_sep int m_Port concode_elem_sep Socket m_Socket concode_elem_sep boolean m_Connected concode_elem_sep Logger logger concode_elem_sep ModbusTCPTransport m_ModbusTransport concode_field_sep... | boolean function ( ) { return m_Connected ; } |
9,808 | get the iproject containing the given eobject concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep boolean projectOpened concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean p... | IProject function ( EObject arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } |
9,809 | compares a pair of comparable values of the same type . null collates less than everything else , but equal to itself . concode_field_sep T0 v0 concode_elem_sep T1 v1 concode_elem_sep T2 v2 concode_field_sep Iterable<T1> iter1 concode_elem_sep Iterable<T0> iter0 concode_elem_sep int hashCode concode_elem_sep Triple<T0,... | int function ( C arg0 , C arg1 ) { if ( arg0 == null ) { if ( arg1 == null ) { return 0 ; } else { return - 1 ; } } else if ( arg1 == null ) { return 1 ; } else { return arg0 . compareTo ( arg1 ) ; } } |
9,810 | returns null . cookies prior to rfc2965 do not set this attribute concode_field_sep String cookieDomain concode_elem_sep Date cookieExpiryDate concode_elem_sep int cookieVersion concode_elem_sep String name concode_elem_sep boolean isSecure concode_elem_sep String cookiePath concode_elem_sep String value concode_elem_s... | String function ( ) { return null ; } |
9,811 | adds a rule to be fired when wrapped implementation returns no matches concode_field_sep List<Rule> defaultRules concode_elem_sep Rules wrappedRules concode_elem_sep List<Rule> allRules concode_field_sep void add concode_elem_sep Digester getDigester concode_elem_sep void setNamespaceURI concode_elem_sep List<Rule> mat... | void function ( Rule arg0 ) { if ( wrappedRules . getDigester ( ) != null ) { arg0 . setDigester ( wrappedRules . getDigester ( ) ) ; } if ( wrappedRules . getNamespaceURI ( ) != null ) { arg0 . setNamespaceURI ( wrappedRules . getNamespaceURI ( ) ) ; } defaultRules . add ( arg0 ) ; allRules . add ( arg0 ) ; } |
9,812 | populate cache with ` facts ' , which in our case are factpurchase objects . concode_field_sep String PARTITIONED_CACHE_NAME concode_elem_sep int idGen concode_elem_sep String REPLICATED_CACHE_NAME concode_elem_sep Map<Integer,DimProduct> dataProduct concode_elem_sep Map<Integer,DimStore> dataStore concode_field_sep vo... | void function ( Cache < Integer , FactPurchase > arg0 ) { for ( int loc0 = 0 ; loc0 < 100 ; loc0 ++ ) { int loc1 = idGen ++ ; DimStore loc2 = rand ( dataStore . values ( ) ) ; DimProduct loc3 = rand ( dataProduct . values ( ) ) ; arg0 . put ( loc1 , new FactPurchase ( loc1 , loc3 . getId ( ) , loc2 . getId ( ) , ( loc0... |
9,813 | determine whether this object is equal to another . concode_field_sep String[] parameterTypes concode_elem_sep Map<String,Class<?>> PRIMITIVES concode_elem_sep MethodIdentifier HASH_CODE concode_elem_sep int hashCode concode_elem_sep long serialVersionUID concode_elem_sep String name concode_elem_sep MethodIdentifier T... | boolean function ( MethodIdentifier arg0 ) { return this == arg0 || arg0 != null && hashCode == arg0 . hashCode && returnType . equals ( arg0 . returnType ) && name . equals ( arg0 . name ) && Arrays . equals ( parameterTypes , arg0 . parameterTypes ) ; } |
9,814 | this is getter method for username concode_field_sep int subSubCatId concode_elem_sep List escalationTemplateDetails concode_elem_sep String subSubCategoryName concode_elem_sep long serialVersionUID concode_elem_sep int escRuleId concode_elem_sep String userLoginName concode_elem_sep List escalationTypeDetails concode_... | String function ( ) { return userName ; } |
9,815 | get the identifieruris value . concode_field_sep List<KeyCredentialInner> keyCredentials concode_elem_sep String displayName concode_elem_sep List<String> identifierUris concode_elem_sep List<String> replyUrls concode_elem_sep Boolean availableToOtherTenants concode_elem_sep List<PasswordCredentialInner> passwordCreden... | List < String > function ( ) { return this . identifierUris ; } |
9,816 | sends a simple push notification to mobile devices of user concode_field_sep MyOpenHABService mMyOpenHABService concode_elem_sep Logger logger concode_field_sep void sendSms concode_elem_sep void sendBroadcastNotification concode_elem_sep void sendBroadcastNotification concode_elem_sep void sendLogNotification concode_... | void function ( String arg0 , String arg1 ) { sendNotification ( arg0 , arg1 , null , null ) ; } |
9,817 | this method resets the outgoing events . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean f concode_elem_sep boolean g concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode... | void function ( ) { } |
9,818 | devuelve la imagen de un juego concode_field_sep String image concode_elem_sep String name concode_elem_sep String description concode_elem_sep int id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setId concode_elem_sep int getId concode_elem_sep void setDescription concode_elem_s... | String function ( ) { return image ; } |
9,819 | leave this node over the default transition . this method is only available on node actions . not on actions that are executed on events . actions on events can not change the flow of execution . concode_field_sep Throwable exception concode_elem_sep ProcessInstance subProcessInstance concode_elem_sep GraphElement even... | void function ( ) { getNode ( ) . leave ( this ) ; } |
9,820 | check whether the time difference between p1 and p2 is sufficiently large concode_field_sep PlaceHolder placeHolder concode_field_sep void calculateSpeed concode_elem_sep void calculateVerticalSpeed | boolean function ( DataPoint arg0 , DataPoint arg1 ) { if ( arg0 == null || arg1 == null ) return true ; if ( ! arg0 . hasTimestamp ( ) || ! arg1 . hasTimestamp ( ) ) return false ; final long loc0 = 1000L ; return arg1 . getTimestamp ( ) . getMillisecondsSince ( arg0 . getTimestamp ( ) ) >= loc0 ; } |
9,821 | private method for retrieving the serializer that should be used for the passed serializedobject , defaulting to the default system serializer if none is explicitly set on the object concode_field_sep HibernateSerializedObjectDAO instance concode_elem_sep Log log concode_elem_sep SessionFactory sessionFactory concode_e... | OpenmrsSerializer function ( SerializedObject arg0 ) { if ( arg0 != null && arg0 . getSerializationClass ( ) != null ) { return Context . getSerializationService ( ) . getSerializer ( arg0 . getSerializationClass ( ) ) ; } return Context . getSerializationService ( ) . getDefaultSerializer ( ) ; } |
9,822 | used to package this object into a parcel . concode_field_sep int FLAG_SELECTING concode_elem_sep int selectionStart concode_elem_sep int startOffset concode_elem_sep int partialStartOffset concode_elem_sep int FLAG_SINGLE_LINE concode_elem_sep int flags concode_elem_sep int selectionEnd concode_elem_sep CharSequence t... | void function ( Parcel arg0 , int arg1 ) { TextUtils . writeToParcel ( text , arg0 , arg1 ) ; arg0 . writeInt ( startOffset ) ; arg0 . writeInt ( partialStartOffset ) ; arg0 . writeInt ( partialEndOffset ) ; arg0 . writeInt ( selectionStart ) ; arg0 . writeInt ( selectionEnd ) ; arg0 . writeInt ( this . flags ) ; } |
9,823 | used for primary key changes . concode_field_sep NumberSequence sequence concode_elem_sep Expression defaultExpression concode_elem_sep boolean isNullable concode_elem_sep boolean isIdentity concode_elem_sep boolean isPrimaryKey concode_elem_sep Type type concode_elem_sep HsqlName columnName concode_elem_sep Expression... | Column function ( boolean arg0 ) { Column loc0 = new Column ( ) ; loc0 . columnName = columnName ; loc0 . isNullable = isNullable ; loc0 . type = type ; loc0 . defaultExpression = defaultExpression ; loc0 . isIdentity = isIdentity ; if ( arg0 && isIdentity ) { loc0 . sequence = sequence . duplicate ( ) ; } return loc0 ... |
9,824 | get weight of the dmatrix concode_field_sep long handle concode_elem_sep Log logger concode_field_sep float[] getLabel concode_elem_sep void setWeight concode_elem_sep long getHandle concode_elem_sep float[] getBaseMargin concode_elem_sep float[] flatten concode_elem_sep void setGroup concode_elem_sep int[] getIntInfo ... | float [ ] function ( ) { return getFloatInfo ( "srini_string" ) ; } |
9,825 | makes sure that after source the statement target gets executed . concode_field_sep Map<Statement,Statement[]> choices concode_elem_sep Map<Statement,Statement> links concode_elem_sep Map<Statement,Statement> parents concode_elem_sep Set<Statement> flowEnd concode_elem_sep Map<Statement,Statement[]> lines concode_elem_... | void function ( Statement arg0 , Statement arg1 ) { if ( arg1 != null ) { links . put ( arg0 , arg1 ) ; } } |
9,826 | returns the start instruction of the tracking operation . concode_field_sep INaviInstruction m_startInstruction concode_elem_sep String m_trackedRegister concode_elem_sep List<CInstructionResult> m_results concode_field_sep List<CInstructionResult> getResults concode_elem_sep String getTrackedRegister | INaviInstruction function ( ) { return m_startInstruction ; } |
9,827 | sets the amount value for this customerrefundapply . concode_field_sep java.lang.Double amount concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Boolean apply concode_elem_sep java.lang.Long line concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String type conco... | void function ( java . lang . Double arg0 ) { this . amount = arg0 ; } |
9,828 | sets the primary key of this message boards ban . concode_field_sep MBBan _mbBan concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep j... | void function ( long arg0 ) { _mbBan . setPrimaryKey ( arg0 ) ; } |
9,829 | return array of keys in the table . concode_field_sep int m_blocksize concode_elem_sep int INVALID_KEY concode_elem_sep int m_mapSize concode_elem_sep int m_values[] concode_elem_sep int m_firstFree concode_elem_sep String m_map[] concode_field_sep boolean contains concode_elem_sep int get concode_elem_sep int getLengt... | String [ ] function ( ) { String [ ] loc0 = new String [ m_firstFree ] ; for ( int loc1 = 0 ; loc1 < m_firstFree ; loc1 ++ ) { loc0 [ loc1 ] = m_map [ loc1 ] ; } return loc0 ; } |
9,830 | return the parent role name , null if role has no parent concode_field_sep Map<String,String> parentMappings concode_field_sep List<String> getAncestors concode_elem_sep boolean isValidParent concode_elem_sep List<String> getChildren concode_elem_sep List<String> getDescendants concode_elem_sep List<String> getRootRole... | String function ( String arg0 ) { checkRole ( arg0 ) ; String loc0 = parentMappings . get ( arg0 ) ; if ( arg0 . equals ( loc0 ) ) cycleDetected ( arg0 , null ) ; return loc0 ; } |
9,831 | f0 - > '' '' f1 - > statement f2 - > '' '' concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | R function ( Block arg0 ) { R loc0 = null ; arg0 . f0 . accept ( this ) ; arg0 . f1 . accept ( this ) ; arg0 . f2 . accept ( this ) ; return loc0 ; } |
9,832 | make an html element droppable concode_field_sep PlaceHolder placeHolder concode_field_sep String addDragable concode_elem_sep String addDragable | String function ( String arg0 , String arg1 , FacesContext arg2 , String arg3 , String arg4 ) { EffectsArguments loc0 = new EffectsArguments ( ) ; loc0 . add ( "srini_string" , arg1 ) ; loc0 . add ( "srini_string" , arg3 ) ; loc0 . add ( "srini_string" , arg4 ) ; String loc1 = "srini_string" + arg0 + "srini_string" + l... |
9,833 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( JSONArray arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
9,834 | on key up . concode_field_sep boolean mEnableSlide concode_elem_sep Activity mActivity concode_elem_sep View mViewBehind concode_elem_sep boolean mOnPostCreateCalled concode_elem_sep boolean mBroadcasting concode_elem_sep View mViewAbove concode_elem_sep SlidingMenu mSlidingMenu concode_field_sep void showSecondaryMenu... | boolean function ( int arg0 , KeyEvent arg1 ) { if ( arg0 == KeyEvent . KEYCODE_BACK && mSlidingMenu . isMenuShowing ( ) ) { showContent ( ) ; return true ; } return false ; } |
9,835 | close the connection , but keep all the string information about the connection . concode_field_sep String urlLocation concode_elem_sep String errorMessage concode_elem_sep InputStream inputStream concode_elem_sep URL url concode_field_sep URLAccess doURLAccess concode_elem_sep void dispose | void function ( ) { if ( inputStream != null ) { try { inputStream . close ( ) ; } catch ( Exception loc0 ) { } inputStream = null ; } } |
9,836 | checks if the poll period is smaller that the minimal poll period which is 1 second . concode_field_sep TimeUnit MINIMAL_POLL_UNIT concode_elem_sep String SINK_REGEX concode_elem_sep String CLIENT_INSTANCE concode_elem_sep Logger LOG concode_elem_sep int MINIMAL_POLL_PERIOD concode_elem_sep String WORKER_INSTANCE conco... | void function ( TimeUnit arg0 , int arg1 ) { int loc0 = ( int ) MINIMAL_POLL_UNIT . convert ( arg1 , arg0 ) ; Preconditions . checkArgument ( loc0 >= MINIMAL_POLL_PERIOD , "srini_string" , arg1 , arg0 ) ; } |
9,837 | writes a tag_empty tag . concode_field_sep DataOutputStream os concode_field_sep void writeByteArrayTagPayload concode_elem_sep void writeShortTagPayload concode_elem_sep void writeListTagPayload concode_elem_sep void writeFloatTagPayload concode_elem_sep void writeNamedTag concode_elem_sep void writeDoubleTagPayload c... | void function ( EndTag arg0 ) { } |
9,838 | the size , in bytes , that amazon ecr expects future layer part uploads to be . concode_field_sep String uploadId concode_elem_sep Long partSize concode_field_sep String getUploadId concode_elem_sep void setPartSize concode_elem_sep void setUploadId concode_elem_sep Long getPartSize concode_elem_sep int hashCode concod... | InitiateLayerUploadResult function ( Long arg0 ) { setPartSize ( arg0 ) ; return this ; } |
9,839 | get sorted array of serial ports in the system matched pattern concode_field_sep Comparator<String> PORTNAMES_COMPARATOR concode_elem_sep String PORTNAMES_PATH concode_elem_sep SerialNativeInterface serialInterface concode_elem_sep Pattern PORTNAMES_REGEXP concode_field_sep String[] getWindowsPortNames concode_elem_sep... | String [ ] function ( Comparator < String > arg0 ) { return getPortNames ( PORTNAMES_PATH , PORTNAMES_REGEXP , arg0 ) ; } |
9,840 | the headers of http response . concode_field_sep java.util.Map<String,String> headers concode_elem_sep String log concode_elem_sep Long latency concode_elem_sep String body concode_elem_sep Integer status concode_field_sep TestInvokeMethodResult withStatus concode_elem_sep void setLog concode_elem_sep TestInvokeMethodR... | void function ( java . util . Map < String , String > arg0 ) { this . headers = arg0 ; } |
9,841 | fetch the ` home ' url for the application . concode_field_sep Boolean mUsingEmailNotification concode_elem_sep String UNUSED concode_elem_sep String mQuickURL concode_elem_sep int TEXT_MODE concode_elem_sep PersistentObject store concode_elem_sep int mSelectedIndex concode_elem_sep String[] mApplicationURLs concode_el... | String function ( ) { return mHomeUrl ; } |
9,842 | converts hex values from strings to byte arra concode_field_sep SharedPreferences cookiePrefs concode_elem_sep String LOG_TAG concode_elem_sep String COOKIE_NAME_PREFIX concode_elem_sep HashMap<String,ConcurrentHashMap<String,HttpCookie>> cookies concode_elem_sep String COOKIE_PREFS concode_field_sep void add concode_e... | byte [ ] function ( String arg0 ) { int loc0 = arg0 . length ( ) ; byte [ ] loc1 = new byte [ loc0 / 2 ] ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 += 2 ) { loc1 [ loc2 / 2 ] = ( byte ) ( ( Character . digit ( arg0 . charAt ( loc2 ) , 16 ) << 4 ) + Character . digit ( arg0 . charAt ( loc2 + 1 ) , 16 ) ) ; } return loc1 ... |
9,843 | event handler for the west border . concode_field_sep boolean renderNorth concode_elem_sep boolean renderEast concode_elem_sep boolean renderSouth concode_elem_sep boolean renderWest concode_elem_sep boolean renderCenter concode_field_sep void south concode_elem_sep boolean isRenderNorth concode_elem_sep boolean isRend... | void function ( ValueChangeEvent arg0 ) { setRenderWest ( ( ( Boolean ) arg0 . getNewValue ( ) ) . booleanValue ( ) ) ; } |
9,844 | gets the value of the getproposalstatusresult property . concode_field_sep String getProposalStatusResult concode_field_sep void setGetProposalStatusResult | String function ( ) { return getProposalStatusResult ; } |
9,845 | this method sets the type of this object . it should not be extended by subclasses , hence its final concode_field_sep String type concode_elem_sep String value concode_field_sep String getValue concode_elem_sep String getType concode_elem_sep int hashCode concode_elem_sep void setValue concode_elem_sep boolean equals ... | void function ( String arg0 ) { this . type = arg0 ; } |
9,846 | produce a jsonarray of jsonobjects from a comma delimited text string , using the first row as a source of names . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep String rowToString concode_elem_sep String toString concode_elem_sep... | JSONArray function ( String arg0 ) { return toJSONArray ( new JSONTokener ( arg0 ) ) ; } |
9,847 | write an array of doubles to a printwriter concode_field_sep PlaceHolder placeHolder concode_field_sep IntList readIntVector concode_elem_sep double[] readVectorArray concode_elem_sep void writeVector concode_elem_sep DoubleList readVector | void function ( PrintWriter arg0 , double [ ] arg1 ) { arg0 . println ( arg1 . length ) ; for ( double loc0 : arg1 ) { arg0 . println ( Double . toString ( loc0 ) ) ; } } |
9,848 | this is used to initiate the processing of the channel . once the channel is passed in to the initiator any bytes ready on the http pipeline will be processed and parsed in to a http request . when the request has been built a callback is made to the container to process the request . also when the request is completed... | void function ( Channel arg0 ) { start ( new RequestCollector ( allocator , arg0 ) ) ; } |
9,849 | invoked when a component loses the keyboard focus . concode_field_sep PlaceHolder placeHolder concode_field_sep void focusGained | void function ( FocusEvent arg0 ) { } |
9,850 | this method is invoked after a value changed . concode_field_sep boolean m_bValue concode_field_sep EChange set concode_elem_sep EChange set concode_elem_sep EChange set concode_elem_sep MutableBoolean getClone concode_elem_sep Boolean getAsBoolean concode_elem_sep int hashCode concode_elem_sep boolean equals concode_e... | void function ( ) { } |
9,851 | deserializes the given byte array into to a newly allocated object . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] serialize concode_elem_sep void serialize concode_elem_sep boolean isSymbolicLink concode_elem_sep long computeLength concode_elem_sep void copy concode_elem_sep void copy | S function ( byte [ ] arg0 ) { if ( arg0 == null ) { return null ; } return deserialize ( new ByteArrayInputStream ( arg0 ) ) ; } |
9,852 | converts marginlayoutparams into a representative rect . concode_field_sep PlaceHolder placeHolder concode_field_sep void initMargins | void function ( Rect arg0 , MarginLayoutParams arg1 ) { arg0 . set ( arg1 . leftMargin , arg1 . topMargin , arg1 . rightMargin , arg1 . bottomMargin ) ; } |
9,853 | open an inputstream on the class data . concode_field_sep byte[] data concode_elem_sep ClassDescriptor classDescriptor concode_elem_sep ICodeBaseEntry codeBaseEntry concode_field_sep ICodeBaseEntry getCodeBaseEntry concode_elem_sep ClassDescriptor getClassDescriptor concode_elem_sep String toString concode_elem_sep byt... | InputStream function ( ) { return new ByteArrayInputStream ( data ) ; } |
9,854 | nach dem test . concode_field_sep int LISTE_LAENGE concode_elem_sep int TEST_INDEX concode_elem_sep MonsterListe monsterListe concode_field_sep void setUpClass concode_elem_sep void testMonsterEntfernen concode_elem_sep void testGetMonsterlistLaenge concode_elem_sep void setUp concode_elem_sep void tearDownClass concod... | void function ( ) { } |
9,855 | registers the given stream and associate it with the given types . concode_field_sep Map<BytesReference,Stream> streams concode_field_sep Stream stream concode_elem_sep PipelineAggregator readResult | void function ( Stream arg0 , BytesReference ... arg1 ) { Map < BytesReference , Stream > loc0 = new HashMap < > ( streams ) ; for ( BytesReference loc1 : arg1 ) { loc0 . put ( loc1 , arg0 ) ; } streams = unmodifiableMap ( loc0 ) ; } |
9,856 | equals should not compare objects using tostring . concode_field_sep PlaceHolder placeHolder concode_field_sep void testEqualsNoncoin concode_elem_sep void testNotEqualsNull concode_elem_sep void testEqualsByValue concode_elem_sep void setUp concode_elem_sep void main concode_elem_sep void testCoinValue | void function ( ) { Coin loc0 = new Coin ( 10 , "srini_string" ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; } |
9,857 | determines whether the super call should be omitted . concode_field_sep boolean fImports concode_elem_sep ITypeBinding fType concode_elem_sep boolean fOmitSuper concode_elem_sep boolean fSave concode_elem_sep IFunctionBinding[] fConstructorsToImplement concode_elem_sep JavaScriptUnit fASTRoot concode_elem_sep String[] ... | void function ( final boolean arg0 ) { fOmitSuper = arg0 ; } |
9,858 | grabs the next key set , the sequence must be saved afterwards !! concode_field_sep long serialVersionUID concode_elem_sep long maxKey concode_elem_sep String name concode_elem_sep long curVal concode_elem_sep int grabSize concode_elem_sep Integer version concode_field_sep Integer getVersion concode_elem_sep void setNa... | void function ( ) { curVal = maxKey ; maxKey = maxKey + grabSize ; } |
9,859 | adds a template to the set . concode_field_sep String fTemplateTag concode_elem_sep int TEMPLATE_PARSE_EXCEPTION concode_elem_sep String CONTEXT_ATTRIBUTE concode_elem_sep int TEMPLATE_IO_EXCEPTION concode_elem_sep ContextTypeRegistry fRegistry concode_elem_sep String DESCRIPTION_ATTRIBUTE concode_elem_sep String NAME_... | void function ( Template arg0 ) { if ( exists ( arg0 ) ) return ; fTemplates . add ( arg0 ) ; } |
9,860 | saves parameters for startactivityforresult . concode_field_sep String TAG concode_elem_sep PluginManager pluginManager concode_elem_sep Activity activity concode_elem_sep CordovaPlugin activityResultCallback concode_elem_sep String initCallbackService concode_elem_sep ActivityResultHolder savedResult concode_elem_sep ... | void function ( Bundle arg0 ) { if ( activityResultCallback != null ) { String loc0 = activityResultCallback . getServiceName ( ) ; arg0 . putString ( "srini_string" , loc0 ) ; } } |
9,861 | serialize a pojo object into a json string not in a pretty format concode_field_sep ObjectMapper mapper concode_field_sep InetSocketAddress getTimelineTokenServiceAddress concode_elem_sep Text buildTimelineTokenService concode_elem_sep TimelineAbout createTimelineAbout | String function ( Object arg0 ) { return dumpTimelineRecordtoJSON ( arg0 , false ) ; } |
9,862 | measures a longitude in this unit concode_field_sep DistanceUnit unit concode_elem_sep String[] names concode_elem_sep double value concode_elem_sep DistanceUnit DEFAULT concode_elem_sep double meters concode_field_sep double getEarthCircumference concode_elem_sep double toMeters concode_elem_sep double fromMeters conc... | double function ( ) { return GeoUtils . EARTH_EQUATOR / ( 360.0 * meters ) ; } |
9,863 | determine the original zero based line number from an index into the #contentlines . concode_field_sep List<Integer> tagLineNumbers concode_elem_sep ExternalRatingPartitionTable externalTable concode_elem_sep Class<? extends IRatingPartitioner> partitionerClass concode_elem_sep CollectionMap<String,RatingPartition,Queu... | int function ( int arg0 ) { for ( int loc0 : tagLineNumbers ) { if ( loc0 <= arg0 ) { arg0 += 1 ; } else { break ; } } return arg0 ; } |
9,864 | convert a cookie list into a jsonobject . a cookie list is a sequence of name/value pairs . the names are separated from the values by ' = ' . the pairs are separated by ' ; ' . the names and the values will be unescaped , possibly converting ' + ' and ' % ' sequences . to add a cookie to a cooklist , cookielistjsonobj... | JSONObject function ( String arg0 ) { JSONObject loc0 = new JSONObject ( ) ; JSONTokener loc1 = new JSONTokener ( arg0 ) ; while ( loc1 . more ( ) ) { String loc2 = Cookie . unescape ( loc1 . nextTo ( '=' ) ) ; loc1 . next ( '=' ) ; loc0 . put ( loc2 , Cookie . unescape ( loc1 . nextTo ( ';' ) ) ) ; loc1 . next ( ) ; }... |
9,865 | used to communicate a cancel operation from the whitebox gui . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amIActive concode_field_sep String getN... | void function ( boolean arg0 ) { cancelOp = arg0 ; } |
9,866 | sets the separation between the vertical lines . concode_field_sep Float curCharSpace concode_elem_sep float leading concode_elem_sep int NO_MORE_COLUMN concode_elem_sep int alignment concode_elem_sep String splittedChunkText concode_elem_sep int NO_MORE_TEXT concode_elem_sep PdfChunk currentStandbyChunk concode_elem_s... | void function ( float arg0 ) { this . leading = arg0 ; } |
9,867 | add an option to apply to the specified environment , adapting it as necessary to the customizable api . concode_field_sep Option<Boolean> ENFORCE_EXPLICIT_SELF_VARIABLE concode_elem_sep Option<Boolean> ENABLE_CSTMODEL_TOKENS concode_field_sep T getValue | void function ( Environment < ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? > arg0 , Option < T > arg1 , T arg2 ) { Customizable loc0 = OCLUtil . getAdapter ( arg0 , Customizable . class ) ; if ( loc0 == null ) { loc0 = OCLUtil . getAdapter ( arg0 , BasicEnvironment . class ) ; } loc0 . setOption ( arg1 , arg2 ) ; } |
9,868 | gets the value of the userid property . concode_field_sep List<SystemUserInfo> systemUserInfo concode_elem_sep XMLGregorianCalendar provisionedDate concode_elem_sep String discountEligibility concode_elem_sep String location concode_elem_sep long serialVersionUID concode_elem_sep PersonalName userName concode_elem_sep ... | String function ( ) { return userId ; } |
9,869 | returns parsed scheme component . the #parse method must be called before executing this method . concode_field_sep String userInfo concode_elem_sep boolean opaque concode_elem_sep String scheme concode_elem_sep CharacterIterator ci concode_elem_sep String query concode_elem_sep String ERROR_STATE concode_elem_sep Stri... | String function ( ) { if ( ! parserExecuted ) { throw new IllegalStateException ( ERROR_STATE ) ; } return scheme ; } |
9,870 | calculate dl/dz for softmax activation function , from dl/da and a , where a : output activations dl/da : derivative of loss function with respect to the output activations note : this version does not modify either input arrays . this is less efficient . for a more efficient implementation that modifies the input arra... | INDArray function ( INDArray arg0 , INDArray arg1 ) { INDArray loc0 = arg1 . mul ( arg0 ) . sum ( 1 ) ; return arg1 . mul ( arg0 . subColumnVector ( loc0 ) ) ; } |
9,871 | build the sql count request with where clause for primary key concode_field_sep List<AttributeInContext> attributesForInsert concode_elem_sep List<AttributeInContext> attributesForUpdate concode_elem_sep String sqlSelectCountWherePK concode_elem_sep String sqlSelectWherePK concode_elem_sep String sqlSelect concode_elem... | String function ( ) { return "srini_string" + this . table + "srini_string" + whereCriteria ( this . attributesForPrimaryKey , false ) ; } |
9,872 | only valid if the image format is jpeg . concode_field_sep CloseableReference<PooledByteBuffer> mPooledByteBufferRef concode_elem_sep int mSampleSize concode_elem_sep int UNKNOWN_WIDTH concode_elem_sep int mWidth concode_elem_sep int UNKNOWN_HEIGHT concode_elem_sep int UNKNOWN_STREAM_SIZE concode_elem_sep ImageFormat m... | int function ( ) { return mRotationAngle ; } |
9,873 | creates or updates a mapping in this map . if key already exists in the map then it is remapped to value and the element for the old mapping is returned . otherwise a new mapping is created that maps key to value and null is returned . concode_field_sep boolean nullKeyExists concode_elem_sep Reporter reporter concode_e... | Object function ( Object arg0 , Object arg1 ) { reporter . updateCounter ++ ; if ( arg0 == null ) { nullKeyExists = true ; nullKeyMapping = arg1 ; } return table . put ( arg0 , arg1 ) ; } |
9,874 | sets the delegate . concode_field_sep ItemWriter<T> delegate concode_elem_sep int maxBufferSize concode_field_sep void setMaxBufferSize concode_elem_sep int getMaxBufferSize concode_elem_sep ItemWriter<T> getDelegate concode_elem_sep void write | void function ( ItemWriter < T > arg0 ) { this . delegate = arg0 ; } |
9,875 | sets the ssn value for this demographics . concode_field_sep String zip concode_elem_sep String birthPlaceZip concode_elem_sep String country concode_elem_sep String birthPlaceStreet concode_elem_sep java.lang.String gender concode_elem_sep String city concode_elem_sep String prefix concode_elem_sep java.lang.String gi... | void function ( java . lang . String arg0 ) { this . SSN = arg0 ; } |
9,876 | add such a method to avoid the defered nullpointerexception . concode_field_sep XMLAttribute[] attributes concode_elem_sep XMLElement parent concode_elem_sep XMLElement[] childElements concode_elem_sep String elementNamespaceURI concode_elem_sep String elementName concode_field_sep void addChildElements concode_elem_se... | Class < ? > function ( String arg0 ) { Class < ? > loc0 = getElementClass ( arg0 ) ; if ( loc0 == null ) { throw new NullPointerException ( "srini_string" = "srini_string" ) ; } return loc0 ; } |
9,877 | gets the value of the `` publisher '' that will be placed in the generated conformance statement . as this is a mandatory element , the value should not be null although this is not enforced . the value defaults to `` not provided '' but may be set to null , which will cause this element to be omitted . concode_field_s... | String function ( ) { return myPublisher ; } |
9,878 | javabean tester . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( ) { JavaBeanTester . builder ( ConnectorStatsCollectorBean . class ) . loadData ( ) . test ( ) ; } |
9,879 | validate the value of destindex concode_field_sep int MemoryCacheRowCount concode_elem_sep DiskCacheResultSet diskBasedResultSet concode_elem_sep BufferedStructureArray cache concode_elem_sep IResultObject currResultObject concode_elem_sep DataEngineSession session concode_elem_sep IResultClass rsMeta concode_elem_sep ... | void function ( int arg0 ) { if ( arg0 < - 1 || arg0 > countOfResult ) throw new DataException ( ResourceConstants . DESTINDEX_OUTOF_RANGE , new Object [ ] { Integer . valueOf ( - 1 ) , Integer . valueOf ( countOfResult ) } ) ; } |
9,880 | main method . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( String [ ] arg0 ) { try { System . out . println ( "srini_string" ) ; System . in . read ( ) ; } finally { if ( EventHandlerSystem . isConnected ( ) ) { EventHandlerSystem . closeConnection ( ) ; } } } |
9,881 | get properties of this iterator , as a bit-significant integer . concode_field_sep long start concode_elem_sep long limit concode_elem_sep long currentValue concode_field_sep Item next concode_elem_sep Item current concode_elem_sep SequenceIterator getReverseIterator concode_elem_sep GroundedValue materialize concode_e... | int function ( ) { return LOOKAHEAD | LAST_POSITION_FINDER | GROUNDED ; } |
9,882 | translate a layout id into a logical cpu id . this translation is perform so that regardless of how concode_field_sep NavigableMap<Integer,AffinityLock[]> CORES concode_elem_sep long BASE_AFFINITY concode_elem_sep int cpuId concode_elem_sep boolean reservable concode_elem_sep Thread assignedThread concode_elem_sep long... | int function ( int arg0 ) { return cpuLayout . socketId ( arg0 ) * cpuLayout . coresPerSocket ( ) + cpuLayout . coreId ( arg0 ) ; } |
9,883 | set the selection renderer . selected figures will be highlighted with this renderer . concode_field_sep SelectionInteractor _selectionInteractor concode_elem_sep SelectionDragger _selectionDragger concode_elem_sep DragInteractor _dragInteractor concode_field_sep SelectionDragger getSelectionDragger concode_elem_sep Dr... | void function ( SelectionRenderer arg0 ) { _selectionInteractor . setSelectionRenderer ( arg0 ) ; } |
9,884 | info concode_field_sep InetAddress m_host concode_elem_sep Long m_responseTime concode_elem_sep Throwable m_error concode_elem_sep CountDownLatch m_latch concode_field_sep Throwable getError concode_elem_sep void rethrowError concode_elem_sep ThreadCategory log concode_elem_sep void handleTimeout concode_elem_sep void ... | void function ( String arg0 ) { log ( ) . info ( arg0 ) ; } |
9,885 | gets the category value for this product . concode_field_sep java.lang.String description concode_elem_sep boolean __hashCodeCalc concode_elem_sep long serialVersionUID concode_elem_sep com.openbravo.ws.externalsales.Tax tax concode_elem_sep double purchasePrice concode_elem_sep org.apache.axis.description.TypeDesc typ... | com . openbravo . ws . externalsales . Category function ( ) { return category ; } |
9,886 | gets the value of the programnumber property . concode_field_sep String geographicArea concode_elem_sep String password concode_elem_sep PeriodType period concode_elem_sep Boolean mostRecentPassages concode_elem_sep String programNumber concode_elem_sep String platformId concode_elem_sep ReferenceDateType referenceDate... | String function ( ) { return programNumber ; } |
9,887 | call this from your startactivityforresult overload . this is required to catch the case where plugins use activity.startactivityforresult + cordovainterface.setactivityresultcallback rather than cordovainterface.startactivityforresult . concode_field_sep String TAG concode_elem_sep PluginManager pluginManager concode_... | void function ( int arg0 ) { activityResultRequestCode = arg0 ; } |
9,888 | skips one bit from the input stream . concode_field_sep int audioHeaderSize concode_elem_sep long buffer concode_elem_sep byte pointer concode_elem_sep InputStream is concode_elem_sep int readedBytes concode_field_sep void next_start_code concode_elem_sep void alignHeader concode_elem_sep long next_bits concode_elem_se... | void function ( ) { while ( pointer <= 0 ) { read_byte ( ) ; } pointer -- ; } |
9,889 | do an immediate abortive close of the tcp connection associated with this request . concode_field_sep TestHttpsServer.ServerWorker server concode_elem_sep SocketChannel ch concode_elem_sep String reqbody concode_elem_sep boolean rspchunked concode_elem_sep MessageHeader reqheaders concode_elem_sep int rspbodylen concod... | void function ( ) { try { server . abortiveCloseChannel ( ch ) ; } catch ( IOException loc0 ) { System . out . println ( loc0 ) ; } } |
9,890 | creates a panel for the demo used by superdemo.java . concode_field_sep PlaceHolder placeHolder concode_field_sep XYDataset createDataset concode_elem_sep JFreeChart createChart concode_elem_sep void main | JPanel function ( ) { JFreeChart loc0 = createChart ( ) ; return new ChartPanel ( loc0 ) ; } |
9,891 | determine if log level will be logged concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setLogLevel concode_e... | boolean function ( int arg0 ) { return ( arg0 >= LOGLEVEL ) ; } |
9,892 | check if all flags in other are set . concode_field_sep Flags NATIVE concode_elem_sep Flags FINAL concode_elem_sep Flags JAVA_FLAGS concode_elem_sep Set<String> flags concode_elem_sep Flags TRANSIENT concode_elem_sep Flags PROPERTY concode_elem_sep Flags STRUCT concode_elem_sep Flags CLOCKED concode_elem_sep Flags PROT... | boolean function ( Flags arg0 ) { return this . flags . containsAll ( arg0 . flags ) ; } |
9,893 | set or change the object that is to be edited . primitive types such as `` int '' must be wrapped as the corresponding object type such as `` java.lang.integer '' . concode_field_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Float value concode_field_sep String getJavaInitializationString concode_ele... | void function ( final Object arg0 ) { final Object loc0 = this . value ; if ( arg0 instanceof Float == false ) { this . value = null ; } else { this . value = ( Float ) arg0 ; } propertyChangeSupport . firePropertyChange ( null , loc0 , this . value ) ; } |
9,894 | sets the value of the somemeasure property . concode_field_sep int someMeasure concode_field_sep int getSomeMeasure | void function ( int arg0 ) { this . someMeasure = arg0 ; } |
9,895 | move the circle a few pixels down . concode_field_sep int xPosition concode_elem_sep int diameter concode_elem_sep String color concode_elem_sep int yPosition concode_elem_sep boolean isVisible concode_field_sep void erase concode_elem_sep void changeColor concode_elem_sep void makeVisible concode_elem_sep void draw co... | void function ( ) { moveVertical ( 20 ) ; } |
9,896 | no failures should occur during this test method . if the extended persistence context is not shared as expected , an ejbexception will be thrown indicating failure . concode_field_sep SessionContext ctx concode_elem_sep EntityManager em concode_field_sep void noop concode_elem_sep void induceTwoLevelCreationViaJNDILoo... | void function ( ) { SecondDAO loc0 = ( SecondDAO ) ctx . lookup ( "srini_string" ) ; loc0 . noop ( ) ; } |
9,897 | sets the rgbcolor to the given value . concode_field_sep float k_d concode_elem_sep Texture c_d concode_elem_sep Sampler sampler concode_field_sep void setSampler concode_elem_sep RGBColor evalBRDF concode_elem_sep BRDFSample sampleBRDF concode_elem_sep void setTexture concode_elem_sep RGBColor rho concode_elem_sep voi... | void function ( RGBColor arg0 ) { c_d = new ConstantColor ( arg0 ) ; } |
9,898 | setresource concode_field_sep long serialVersionUID concode_elem_sep ResourceReference m_resource concode_elem_sep StatisticsReport m_report concode_elem_sep Integer m_id concode_elem_sep Double m_value concode_field_sep Double getValue concode_elem_sep ResourceReference getResource concode_elem_sep String getResourceI... | void function ( ResourceReference arg0 ) { m_resource = arg0 ; } |
9,899 | sets the questionid of this f a q answer . concode_field_sep FAQAnswer _faqAnswer concode_field_sep void setApproved concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_sep int compareTo concode_elem_sep FAQAnswer getWrappedModel c... | void function ( long arg0 ) { _faqAnswer . setQuestionid ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.