idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
4,000 | encodes a string into base64 format . no blanks or line breaks are inserted . concode_field_sep char[] map1 concode_elem_sep String systemLineSeparator concode_elem_sep byte[] map2 concode_field_sep char[] encode concode_elem_sep char[] encode concode_elem_sep char[] encode concode_elem_sep byte[] decodeLines concode_e... | String function ( String arg0 ) { return new String ( encode ( arg0 . getBytes ( ) ) ) ; } |
4,001 | gets the value of the primarycontactid property . concode_field_sep String address concode_elem_sep String faxPhone concode_elem_sep DateTime lastModifiedDateTime concode_elem_sep List<AppliedLabel> appliedLabels concode_elem_sep String externalId concode_elem_sep CompanyCreditStatus creditStatus concode_elem_sep Integ... | Long function ( ) { return primaryContactId ; } |
4,002 | returns whether any of the warnings in the given diagnostic group will be upgraded to a warning or error . concode_field_sep int value concode_field_sep int getValue concode_elem_sep CheckLevel level concode_elem_sep int getPriority concode_elem_sep boolean disables | boolean function ( DiagnosticGroup arg0 ) { return false ; } |
4,003 | create a new item view that can be re-bound to other item data later . concode_field_sep MenuView mMenuView concode_elem_sep int mMenuLayoutRes concode_elem_sep Context mSystemContext concode_elem_sep MenuBuilder mMenu concode_elem_sep LayoutInflater mSystemInflater concode_elem_sep int mItemLayoutRes concode_elem_sep ... | MenuView . ItemView function ( ViewGroup arg0 ) { return ( MenuView . ItemView ) mSystemInflater . inflate ( mItemLayoutRes , arg0 , false ) ; } |
4,004 | sample_is_depended_on takes one of the following four values : 0 : the dependency of other samples on this sample is unknown ; 1 : other samples may depend on this one not disposable ; 2 : no other sample depends on this one disposable ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int ... | void function ( int arg0 ) { this . sampleIsDependedOn = arg0 ; } |
4,005 | a static method to translate a shape concode_field_sep PlaceHolder placeHolder concode_field_sep Shape verticallyFlippedCopyOf concode_elem_sep Shape horizontallyFlippedCopyOf concode_elem_sep Shape rotatedCopyOf concode_elem_sep Shape scaledCopyOf concode_elem_sep Shape scaledCopyOfLL | Shape function ( Shape arg0 , double arg1 , double arg2 ) { AffineTransform loc0 = new AffineTransform ( ) ; loc0 . translate ( arg1 , arg2 ) ; return loc0 . createTransformedShape ( arg0 ) ; } |
4,006 | adds the specified vobject listener to receive vobject event from this component . concode_field_sep VObjectEventSupport objectEventSupport_ concode_elem_sep VSystemValue systemValue_ concode_elem_sep String copyright concode_elem_sep WorkingEventSupport workingEventSupport_ concode_elem_sep ErrorEventSupport errorEven... | void function ( VObjectListener arg0 ) { objectEventSupport_ . addVObjectListener ( arg0 ) ; } |
4,007 | converts the specified java cipher suite to its corresponding openssl cipher suite name . concode_field_sep ConcurrentMap<String,String> j2o concode_elem_sep Pattern OPENSSL_AES_CBC_PATTERN concode_elem_sep Pattern JAVA_CIPHERSUITE_PATTERN concode_elem_sep ConcurrentMap<String,Map<String,String>> o2j concode_elem_sep P... | String function ( String arg0 ) { String loc0 = j2o . get ( arg0 ) ; if ( loc0 != null ) { return loc0 ; } else { return cacheFromJava ( arg0 ) ; } } |
4,008 | returns the jira issue id of this j i r a issue . concode_field_sep JIRAIssue _jiraIssue concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setIssueNumber concode_elem_sep boolean isEscapedModel concod... | long function ( ) { return _jiraIssue . getJiraIssueId ( ) ; } |
4,009 | converts inches to centimeters concode_field_sep float DEG_TO_RAD concode_elem_sep float RAD_TO_DEG concode_field_sep float tan concode_elem_sep float logarithm concode_elem_sep float max concode_elem_sep int max concode_elem_sep int getRandomNumber concode_elem_sep boolean isEven concode_elem_sep float exponencial con... | double function ( double arg0 ) { return arg0 * 2.54 ; } |
4,010 | bfiledelete events concode_field_sep BFileDelete bFileDelete concode_field_sep void reportError concode_elem_sep String getUsage | void function ( TinyosError arg0 ) { System . out . print ( "srini_string" ) ; if ( arg0 . wasSuccess ( ) ) { System . out . println ( "srini_string" ) ; } else { System . out . println ( "srini_string" ) ; } System . exit ( 0 ) ; } |
4,011 | debug log message . 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 boolean isLoggable concode_elem_sep void setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 , arg2 ) ; } |
4,012 | creates a deep copy of the given kernel using serialization . concode_field_sep long serialVersionUID concode_elem_sep boolean m_ChecksTurnedOff concode_elem_sep Instances m_data concode_elem_sep boolean m_Debug concode_field_sep Enumeration listOptions concode_elem_sep Kernel forName concode_elem_sep Kernel[] makeCopi... | Kernel function ( Kernel arg0 ) { return ( Kernel ) new SerializedObject ( arg0 ) . getObject ( ) ; } |
4,013 | warning log message with printf formatting . 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 boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d ... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . WARN >= LOGLEVEL ) Log . w ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
4,014 | called whenever the osgi framework stops our bundle . concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void start concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = null ; logger . debug ( "srini_string" ) ; } |
4,015 | get the line number . one-based . concode_field_sep int charno concode_elem_sep Node node concode_elem_sep CheckLevel level concode_elem_sep CheckLevel defaultLevel concode_elem_sep String description concode_elem_sep String sourceName concode_elem_sep DiagnosticType type concode_elem_sep int lineNumber concode_field_s... | int function ( ) { return lineNumber ; } |
4,016 | to be called as the beginning of a test method : - measure the resources - check vs. the limits . - logs them . concode_field_sep int[] initialValues concode_elem_sep int[] endingValues concode_elem_sep List<ResourceAnalyzer> ras concode_elem_sep String tagLine concode_elem_sep Log LOG concode_field_sep String getName ... | void function ( ) { if ( ras . size ( ) == 0 ) { LOG . info ( "srini_string" ) ; return ; } fillInit ( ) ; logInit ( ) ; checkInit ( ) ; } |
4,017 | set the reference to the next row in the cell of the given character to the given integer . concode_field_sep TreeMap<Character,Cell> cells concode_elem_sep int uniformCnt concode_elem_sep int uniformSkip concode_field_sep int getCellsVal concode_elem_sep void print concode_elem_sep Cell at concode_elem_sep int uniform... | void function ( Character arg0 , int arg1 ) { Cell loc0 = at ( arg0 ) ; if ( loc0 == null ) { loc0 = new Cell ( ) ; loc0 . arg1 = arg1 ; cells . put ( arg0 , loc0 ) ; } else { loc0 . arg1 = arg1 ; } } |
4,018 | get lastname concode_field_sep String password concode_elem_sep String phone concode_elem_sep String lastName concode_elem_sep Integer userStatus concode_elem_sep String username concode_elem_sep Long id concode_elem_sep String firstName concode_elem_sep String email concode_field_sep String getPhone concode_elem_sep U... | String function ( ) { return lastName ; } |
4,019 | the alternative jca 1.6 version of createendpoint . this implementation delegates to #createendpointinternal , ignoring the specified timeout . it is only here for jca 1.6 compliance . concode_field_sep TransactionDelegate transactionDelegate concode_elem_sep Log logger concode_elem_sep XAResource xaResource concode_el... | MessageEndpoint function ( XAResource arg0 , long arg1 ) { AbstractMessageEndpoint loc0 = createEndpointInternal ( ) ; loc0 . initXAResource ( arg0 ) ; return loc0 ; } |
4,020 | documentation pending concode_field_sep String keywords concode_elem_sep Long ADMIN concode_elem_sep Long DEFAULT_TYPEID concode_elem_sep long serialVersionUID concode_elem_sep Long accessTypeId concode_elem_sep String description concode_elem_sep Long questionPoolId concode_elem_sep String rubric concode_elem_sep Stri... | Date function ( ) { return lastModified ; } |
4,021 | adds a new string to the default log concode_field_sep byte[] rand concode_elem_sep AuthenticationService authentication_service concode_elem_sep Log log concode_elem_sep String authentication_scheme concode_elem_sep String realm concode_elem_sep String qop_options concode_field_sep void init concode_elem_sep String ke... | void function ( String arg0 , int arg1 ) { if ( log != null ) log . println ( "srini_string" + arg0 , arg1 + SipStack . LOG_LEVEL_UA ) ; } |
4,022 | set if the user can insert/rotate/delete pages . this method will have no effect if the object is in read only mode concode_field_sep int DEFAULT_PERMISSIONS concode_elem_sep int DEGRADED_PRINT_BIT concode_elem_sep int EXTRACT_FOR_ACCESSIBILITY_BIT concode_elem_sep int ASSEMBLE_DOCUMENT_BIT concode_elem_sep int PRINT_B... | void function ( boolean arg0 ) { if ( ! readOnly ) { setPermissionBit ( ASSEMBLE_DOCUMENT_BIT , arg0 ) ; } } |
4,023 | create instance of applicationid use accounting-applicaion-id concode_field_sep long acctId concode_elem_sep long DIAMETER_BASE_ACCOUNTING concode_elem_sep long DIAMETER_COMMON_MESSAGE concode_elem_sep long VENDOR_SPECIFIC_APPLICATIONS_MIN concode_elem_sep long STANDARDS_TRACK_APPLICATIONS_MIN concode_elem_sep long ser... | ApplicationId function ( long arg0 ) { return new ApplicationId ( UNDEFINED_VALUE , UNDEFINED_VALUE , arg0 ) ; } |
4,024 | returns the size in bytes for the output buffer needed to hold the output of the next #genexemptionblob call , given the specified inputlen in bytes . concode_field_sep Provider provider concode_elem_sep boolean generated concode_elem_sep ExemptionMechanismSpi spiImpl concode_elem_sep String mechanism concode_elem_sep ... | int function ( int arg0 ) { if ( ! isInit ) { throw new IllegalStateException ( "srini_string" ) ; } return spiImpl . engineGetOutputSize ( arg0 ) ; } |
4,025 | allows the music player to repeat the music once it has ended . concode_field_sep boolean highScore concode_elem_sep long lastEnemyGenTime concode_elem_sep long enemiesGenerated concode_elem_sep ReentrantReadWriteLock lck concode_elem_sep LinkedList<Buff> buffs concode_elem_sep long enemyFrequency concode_elem_sep bool... | void function ( ) { if ( player . getStatus ( ) == 2 ) { try { player . play ( ) ; } catch ( BasicPlayerException loc0 ) { loc0 . printStackTrace ( ) ; } } } |
4,026 | the default implementation only creates a new default project . clients may override if they want to contribute generatorspecific project setup concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep MessageConsoleStream error concode_elem_sep String SEXEC_FILE_EXTENSION concode_elem_sep MessageConsoleStream in... | void function ( IProject arg0 , GeneratorEntry arg1 ) { GeneratorUtils . createEmptyProject ( arg0 ) ; } |
4,027 | returns the user id of this entry . concode_field_sep Entry _entry 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 boolean isCache... | long function ( ) { return _entry . getUserId ( ) ; } |
4,028 | 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 ( JSONObject arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
4,029 | maximum number of attemtps allowed . concode_field_sep String itemNumbering concode_elem_sep String submissionMessage concode_elem_sep java.util.Date dueDate concode_elem_sep java.util.Date feedbackDate concode_elem_sep boolean formatByAssessment concode_elem_sep boolean autoSave concode_elem_sep boolean unlimitedAttem... | int function ( ) { return maxAttempts ; } |
4,030 | two objects that are equal are required to return the same hashcode . concode_field_sep PlaceHolder placeHolder concode_field_sep void testEqualsSelf concode_elem_sep void testClone concode_elem_sep void testCompareTo concode_elem_sep void testImmutable concode_elem_sep void testSerialization concode_elem_sep void test... | void function ( ) { SimpleTimePeriod loc0 = new SimpleTimePeriod ( new Date ( 10L ) , new Date ( 20L ) ) ; SimpleTimePeriod loc1 = new SimpleTimePeriod ( new Date ( 10L ) , new Date ( 20L ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; int loc2 = loc0 . hashCode ( ) ; int loc3 = loc1 . hashCode ( ) ; assertEquals ( loc2 ... |
4,031 | records a log entry representing a new connection action on the specified session object . concode_field_sep Log lLog concode_elem_sep LockFile lf concode_field_sep void checkpoint concode_elem_sep void releaseLock concode_elem_sep void openLog concode_elem_sep boolean closeLog concode_elem_sep boolean hasLog concode_e... | void function ( Session arg0 ) { writeToLog ( arg0 , arg0 . getUser ( ) . getConnectStatement ( ) ) ; } |
4,032 | encodes a byte array into base64 format . no blanks or line breaks are inserted in the output . concode_field_sep char[] MAP1 concode_elem_sep byte[] MAP2 concode_elem_sep String SYSTEM_LINE_SEPARATOR concode_field_sep byte[] decodeLines concode_elem_sep String encodeLines concode_elem_sep String encodeLines concode_el... | char [ ] function ( byte [ ] arg0 ) { return encode ( arg0 , 0 , arg0 . length ) ; } |
4,033 | notification that gradle has started execution . this may not get called if some error occurs that prevents gradle from running . concode_field_sep ProcessLauncherServer server concode_elem_sep boolean forceOutputToBeShown concode_elem_sep ExecutionQueue.RequestCancellation cancellation concode_elem_sep long requestID ... | void function ( ) { } |
4,034 | gets the value of the z property . concode_field_sep BigDecimal obs concode_elem_sep String atom0 concode_elem_sep BigDecimal mean concode_elem_sep BigDecimal z concode_elem_sep String atom1 concode_elem_sep BigDecimal stdev concode_field_sep String getAtom1 concode_elem_sep BigDecimal getObs concode_elem_sep String ge... | BigDecimal function ( ) { return z ; } |
4,035 | the operating system platform . note : this method appends the values to the existing list if any . use #setplatformtypes java.util.collection or #withplatformtypes java.util.collection if you want to overridethe existing values . concode_field_sep String name concode_elem_sep com.amazonaws.internal.SdkInternalList<Str... | DocumentIdentifier function ( String ... arg0 ) { if ( this . platformTypes == null ) { setPlatformTypes ( new com . amazonaws . internal . SdkInternalList < String > ( arg0 . length ) ) ; } for ( String loc0 : arg0 ) { this . platformTypes . add ( loc0 ) ; } return this ; } |
4,036 | sets a connect timeout for this connection profile concode_field_sep List<ConnectionTypeHandle> handles concode_elem_sep List<ConnectionTypeHandle> handles concode_elem_sep Set<TransportRequestOptions.Type> types concode_elem_sep int offset concode_elem_sep int offset concode_elem_sep int numConnections concode_elem_se... | void function ( TimeValue arg0 ) { if ( arg0 . millis ( ) < 0 ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } this . connectTimeout = arg0 ; } |
4,037 | return the configuration for the job . concode_field_sep JobID jobId concode_elem_sep Credentials credentials concode_elem_sep UserGroupInformation ugi concode_elem_sep org.apache.hadoop.mapred.JobConf conf concode_field_sep String[] toTimestampStrs concode_elem_sep JobID getJobID concode_elem_sep Path[] getLocalCacheA... | Configuration function ( ) { return conf ; } |
4,038 | returns the visual bounds of the specified glyph within the glyphvector . concode_field_sep GVTGlyphVector[] gvs concode_elem_sep int[] nGlyphs concode_elem_sep int[] off concode_elem_sep int nGlyph concode_field_sep Point2D getGlyphPosition concode_elem_sep Rectangle2D getLogicalBounds concode_elem_sep int getCharacte... | Shape function ( int arg0 ) { int loc0 = getGVIdx ( arg0 ) ; return gvs [ loc0 ] . getGlyphVisualBounds ( arg0 - off [ loc0 ] ) ; } |
4,039 | caches groups , no need to do that for this provider concode_field_sep Log LOG concode_elem_sep List<GroupMappingServiceProvider> providersList concode_elem_sep String MAPPING_PROVIDERS_CONFIG_KEY concode_elem_sep String MAPPING_PROVIDER_CONFIG_PREFIX concode_elem_sep Configuration conf concode_elem_sep boolean combine... | void function ( ) { } |
4,040 | get container type concode_field_sep int containNum concode_elem_sep String slotName concode_elem_sep Set<String> containEqList concode_elem_sep String slotNumType concode_field_sep void setSlotName concode_elem_sep EquipSlot clone concode_elem_sep void setContainNum concode_elem_sep void addContainedType concode_elem_... | Set < String > function ( ) { return containEqList ; } |
4,041 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String eTag concode_elem_sep StreamingDistribution streamingDistribution concode_field_sep void setStreamingDistribution concode_elem_sep StreamingDistribution getStreamingDistribution concode_elem_sep String getETag c... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getStreamingDistribution ( ) != null ) loc0 . append ( "srini_string" + getStreamingDistribution ( ) + "srini_string" ) ; if ( getETag ( ) != null ) loc0 . append ( "srini_string" + getETag ( ) ) ; loc0 . append (... |
4,042 | tracks connecting to the target . 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 conn... | void function ( boolean arg0 ) { if ( this . connected ) { throw new IllegalStateException ( "srini_string" ) ; } this . connected = true ; this . secure = arg0 ; } |
4,043 | add to a url all the parameters based on the relevant search parameters in a request parameter map . concode_field_sep PlaceHolder placeHolder concode_field_sep Object getConstant concode_elem_sep ISearch getSearchFromParams concode_elem_sep ISearch getSearchFromParams concode_elem_sep String searchParamsToInputs conco... | String function ( String arg0 , Map < String , String [ ] > arg1 , boolean arg2 , boolean arg3 , boolean arg4 ) { String loc0 = searchParamsToURL ( arg1 , arg2 , arg3 , arg4 ) ; if ( loc0 != null && ! loc0 . equals ( "srini_string" ) ) { if ( arg0 . contains ( "srini_string" ) ) { arg0 += "srini_string" + loc0 ; } else... |
4,044 | get caller with nest level concode_field_sep CLogger log concode_field_sep String[] getCallerClasses concode_elem_sep void printStack concode_elem_sep void printStack concode_elem_sep boolean isCalledFrom | String function ( int arg0 ) { String [ ] loc0 = getCallerClasses ( null , arg0 ) ; if ( loc0 . length < arg0 ) return "srini_string" ; return loc0 [ arg0 ] ; } |
4,045 | the elastic ip eip address for the cluster . concode_field_sep String elasticIp concode_elem_sep String status concode_field_sep ElasticIpStatus withStatus concode_elem_sep int hashCode concode_elem_sep void setElasticIp concode_elem_sep boolean equals concode_elem_sep ElasticIpStatus clone concode_elem_sep String toSt... | String function ( ) { return elasticIp ; } |
4,046 | gets the value of the numbertype property . concode_field_sep NumberType numberType concode_elem_sep au.org.ecoinformatics.eml.jaxb.eml.ViewType.References references concode_elem_sep List<NumericDomainType.Bounds> bounds concode_elem_sep NumericDomainType.Bounds.Maximum maximum concode_elem_sep boolean exclusive conco... | NumberType function ( ) { return numberType ; } |
4,047 | indicates the uppercase representation of string . concode_field_sep String NIL concode_field_sep byte[] MD5_HASH concode_elem_sep Cipher RC4Init concode_elem_sep byte[] CRC32 concode_elem_sep byte[] DESL concode_elem_sep byte[] HMAC concode_elem_sep void main concode_elem_sep byte[] NTGETKEY concode_elem_sep byte[] UN... | String function ( String arg0 ) { return arg0 . toUpperCase ( ) ; } |
4,048 | creates a widget by inflating its layout . concode_field_sep int nextWidgetId concode_elem_sep int layoutId concode_elem_sep View view concode_elem_sep Map<Integer,WidgetInfo> widgetInfos concode_elem_sep boolean allowedToBindWidgets concode_elem_sep boolean alwaysRecreateViewsDuringUpdate concode_elem_sep AppSingleton... | int function ( Class < ? extends AppWidgetProvider > arg0 , int arg1 ) { return createWidgets ( arg0 , arg1 , 1 ) [ 0 ] ; } |
4,049 | writes fields to provided writer . concode_field_sep int RANGE_STATUS_MOVING concode_elem_sep long startOff concode_elem_sep int RANGE_STATUS_MOVED concode_elem_sep long endOff concode_elem_sep int status concode_elem_sep long serialVersionUID concode_elem_sep IgniteUuid affKey concode_elem_sep boolean done concode_ele... | void function ( BinaryRawWriter arg0 ) { BinaryUtils . writeIgniteUuid ( arg0 , affKey ) ; arg0 . writeInt ( status ) ; arg0 . writeLong ( startOff ) ; arg0 . writeLong ( endOff ) ; } |
4,050 | get the name of the item concode_field_sep String argument concode_elem_sep Class<? extends Item> itemType concode_elem_sep String itemName concode_elem_sep FreeswitchBindingType type concode_field_sep boolean filtered concode_elem_sep FreeswitchBindingType getType concode_elem_sep Class<? extends Item> getItemType con... | String function ( ) { return itemName ; } |
4,051 | it gets the absolute minimum support , i.e. the minimum number of database sequences where a pattern has to appear concode_field_sep SequenceDatabase originalDataset concode_elem_sep double minSupAbsolute concode_elem_sep AbstractionCreator abstractionCreator concode_elem_sep int numberOfFrequentPatterns concode_elem_s... | double function ( ) { return minSupAbsolute ; } |
4,052 | asserts that a warnings list is a certain size . concode_field_sep DateFormat dfs[] concode_elem_sep VCardVersion versions[] concode_elem_sep Map<VCardProperty,Integer[]> expectedPropCodes concode_elem_sep VCard vcard concode_field_sep Date date concode_elem_sep Date date concode_elem_sep void assertPropertyCount conco... | void function ( String arg0 , int arg1 , List < String > arg2 ) { assertEquals ( arg0 + "srini_string" + arg2 . toString ( ) , arg1 , arg2 . size ( ) ) ; } |
4,053 | sets the model of this definition . concode_field_sep Definition _definition 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 boole... | void function ( java . lang . String arg0 ) { _definition . setModel ( arg0 ) ; } |
4,054 | parse parameters from an url query string into the provided multidict concode_field_sep PlaceHolder placeHolder concode_field_sep Dict asDict concode_elem_sep String urlDecode concode_elem_sep Multimap<String,String> parseParam concode_elem_sep String toString concode_elem_sep String urlEncode | Multimap < String , String > function ( String arg0 , Multimap < String , String > arg1 ) { assert ( arg1 != null ) ; int loc0 = 0 ; int loc1 = arg0 . indexOf ( "srini_string" ) ; while ( loc1 >= 0 ) { if ( loc1 > 0 ) { parseParam ( arg0 . substring ( loc0 , loc1 ) , arg1 ) ; } loc0 = loc1 + 1 ; loc1 = arg0 . indexOf (... |
4,055 | wrap the given arbitrary exception that happened during remote access in either a remoteexception or a spring remoteaccessexception if the method signature does not support remoteexception . only call this for remote access exceptions , not for exceptions thrown by the target service itself ! concode_field_sep Log logg... | Exception function ( Method arg0 , Throwable arg1 , String arg2 ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( arg2 , arg1 ) ; } if ( ReflectionUtils . declaresException ( arg0 , RemoteException . class ) ) { return new RemoteException ( arg2 , arg1 ) ; } else { return new RemoteAccessException ( arg2 , arg1... |
4,056 | util method to write an attribute with the ns prefix concode_field_sep com.amazon.ec2.CreateInstanceExportTaskResponseType localCreateInstanceExportTaskResponse concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void ser... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , java . lang . String arg3 , javax . xml . stream . XMLStreamWriter arg4 ) { if ( arg4 . getPrefix ( arg1 ) == null ) { arg4 . writeNamespace ( arg0 , arg1 ) ; arg4 . setPrefix ( arg0 , arg1 ) ; } arg4 . writeAttribute ( ... |
4,057 | is this character part of a valid kdb name ? concode_field_sep int kdbPort concode_elem_sep KdbProcess kdbProcess concode_elem_sep Logger logger concode_elem_sep int corePort concode_elem_sep String sessionId concode_elem_sep String shellId concode_elem_sep KdbClient kdbClient concode_elem_sep BeakerObjectConverter obj... | boolean function ( char arg0 ) { return ( ( arg0 >= 'A' ) && ( arg0 <= 'Z' ) ) || ( ( arg0 >= 'a' ) && ( arg0 <= 'z' ) ) || ( ( arg0 >= '0' ) && ( arg0 <= '9' ) ) || ( arg0 == '_' ) ; } |
4,058 | formats the specified count by adding commas . concode_field_sep String VALID_TIME_UNITS concode_elem_sep double BYTES_IN_MEGABYTE concode_elem_sep String NANOS concode_elem_sep double BYTES_IN_TERABYTE concode_elem_sep Pattern TIME_DURATION_PATTERN concode_elem_sep double BYTES_IN_KILOBYTE concode_elem_sep String UNIO... | String function ( final long arg0 ) { return NumberFormat . getIntegerInstance ( ) . format ( arg0 ) ; } |
4,059 | sets the id of this chi tiet thong tin phan hoi . concode_field_sep ChiTietThongTinPhanHoi _chiTietThongTinPhanHoi concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setNoiDungKhacVeSinh concode_elem_s... | void function ( long arg0 ) { _chiTietThongTinPhanHoi . setId ( arg0 ) ; } |
4,060 | this method equal isrootproject resource or ismoduleproject resource or isview resource or issubview resource concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isClass concode_elem_sep boolean isFile concode_elem_sep boolean isView concode_elem_sep boolean isSet concode_elem_sep boolean isEntity conco... | boolean function ( Resource arg0 ) { return isSet ( arg0 ) ; } |
4,061 | get name of kafka 's consumer-group . concode_field_sep String name concode_field_sep AuthorizableType getAuthzType concode_elem_sep String getTypeName | String function ( ) { return name ; } |
4,062 | this method was generated by mybatis generator . this method returns the value of the database column t_team_football_member . delsign concode_field_sep Integer tmId concode_elem_sep Date updateDate concode_elem_sep Integer memberAbsentTime concode_elem_sep Date memberLeftDate concode_elem_sep String updateName concode... | Integer function ( ) { return delsign ; } |
4,063 | creates environment variable override for launching child processes in this node . whereas #setup abstractbuild , launcher , buildlistener is used specifically forexecuting builds , this method is used for other process launch activities that happens outside the context of a build , such as polling , one time action ta... | void function ( @ Nonnull EnvVars arg0 , @ Nonnull TaskListener arg1 ) { } |
4,064 | gets the path finding/generating instance that this class is using concode_field_sep Random rnd concode_elem_sep String type concode_elem_sep ConfigExtractor config concode_elem_sep PathFinder finder concode_field_sep Random getRandom concode_elem_sep String getType concode_elem_sep String toString concode_elem_sep Lis... | PathFinder function ( ) { return this . finder ; } |
4,065 | gets the value of the langs property . concode_field_sep String image concode_elem_sep String code concode_elem_sep Boolean visible concode_elem_sep Langs langs concode_elem_sep List<Tracked> tracked concode_elem_sep String style concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep String la... | Langs function ( ) { return langs ; } |
4,066 | test method for org.spdx.rdfparser.spdxanalysis #spdxanalysis com.hp.hpl.jena.rdf.model.model . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetSpdxVersion concode_elem_sep void testGetSpdxPackage concode_elem_sep void testSetCreated concode_elem_sep void testSetNonStandardLicenses concode_elem_... | void function ( ) { fail ( "srini_string" ) ; } |
4,067 | returns the country at the specified index in the list or null if the index is not in use . concode_field_sep int nextAvailable concode_elem_sep int totalCount concode_elem_sep ArrayList<Country> countries concode_field_sep int findIndex concode_elem_sep void binInsert concode_elem_sep String countryCode concode_elem_s... | Country function ( int arg0 ) { return countries . get ( arg0 ) ; } |
4,068 | cancels all the request in the volley queue for a given tag concode_field_sep RequestQueue mRequestQueue concode_field_sep void init concode_elem_sep void addRequest concode_elem_sep void addRequest concode_elem_sep RequestQueue getVolleyRequestQueue | void function ( String arg0 ) { if ( getVolleyRequestQueue ( ) != null ) { getVolleyRequestQueue ( ) . cancelAll ( arg0 ) ; } } |
4,069 | create a directory if ot does not exist concode_field_sep Class THIS_CLASS concode_elem_sep FileSystem m_DFS concode_elem_sep AmazonS3Accessor[] EMPTY_ARRAY concode_field_sep boolean deleteFile concode_elem_sep InputStream openFileForRead concode_elem_sep boolean isFile concode_elem_sep String[] ls concode_elem_sep boo... | boolean function ( final String arg0 ) { return false ; } |
4,070 | returns a new movie in that all tracks have the timescale 10000000 . cts & dts are modified in a way that even with more than one framerate the fragments exactly begin at the same time . concode_field_sep Logger LOG concode_elem_sep ManifestWriter manifestWriter concode_elem_sep boolean debugOutput concode_elem_sep Fil... | Movie function ( Movie arg0 ) { Movie loc0 = new Movie ( ) ; for ( Track loc1 : arg0 . getTracks ( ) ) { loc0 . addTrack ( new ChangeTimeScaleTrack ( loc1 , timeScale , ismvBuilder . getFragmentIntersectionFinder ( ) . sampleNumbers ( loc1 , arg0 ) ) ) ; } return loc0 ; } |
4,071 | return the index of the largest component fabs concode_field_sep double x concode_elem_sep double y concode_elem_sep double z concode_field_sep S2Point add concode_elem_sep S2Point minus concode_elem_sep S2Point sub concode_elem_sep double dotProd concode_elem_sep S2Point fabs concode_elem_sep S2Point mul concode_elem_... | int function ( ) { S2Point loc0 = fabs ( this ) ; if ( loc0 . x > loc0 . y ) { if ( loc0 . x > loc0 . z ) { return 0 ; } else { return 2 ; } } else { if ( loc0 . y > loc0 . z ) { return 1 ; } else { return 2 ; } } } |
4,072 | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testHashcode concode_elem_sep void testGetLegendItemSeriesIndex concode_elem_sep void testEquals | void function ( ) { XYDotRenderer loc0 = new XYDotRenderer ( ) ; XYDotRenderer loc1 = ( XYDotRenderer ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } |
4,073 | returns the access token extractor . concode_field_sep PlaceHolder placeHolder concode_field_sep String getAccessTokenEndpoint concode_elem_sep OAuthService createService concode_elem_sep String getAuthorizationUrl concode_elem_sep Verb getAccessTokenVerb | AccessTokenExtractor function ( ) { return new TokenExtractor20Impl ( ) ; } |
4,074 | return build power of all worker , without factorys . concode_field_sep float noAssistableFactoryBP concode_elem_sep HashMap<UnitDef,UnitDef> assistableUnit concode_elem_sep int numOfNoAssistableFactory concode_elem_sep HashSet<UnitDef> freeBuildUnit concode_elem_sep HashMap<UnitDef,UnitDef> noAssistableUnit concode_el... | float function ( ) { return assistBP ; } |
4,075 | sets the date at which the moon is in the first quarter . concode_field_sep Calendar firstQuarter concode_elem_sep double illumination concode_elem_sep Calendar thirdQuarter concode_elem_sep MoonPhaseName name concode_elem_sep Calendar _new concode_elem_sep int age concode_elem_sep Calendar full concode_field_sep void ... | void function ( Calendar arg0 ) { this . firstQuarter = arg0 ; } |
4,076 | register the given beanpostprocessor beans . concode_field_sep Log logger concode_elem_sep ConfigurableListableBeanFactory beanFactory concode_elem_sep int beanPostProcessorTargetCount concode_field_sep void invokeBeanFactoryPostProcessors concode_elem_sep void invokeBeanFactoryPostProcessors concode_elem_sep void invo... | void function ( ConfigurableListableBeanFactory arg0 , List < BeanPostProcessor > arg1 ) { for ( BeanPostProcessor loc0 : arg1 ) { arg0 . addBeanPostProcessor ( loc0 ) ; } } |
4,077 | gets the current size of the array . concode_field_sep int size concode_elem_sep long[] values concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_field_sep void add concode_elem_sep long get concode_elem_sep long[] toArray | int function ( ) { return size ; } |
4,078 | creates a bar chart view . concode_field_sep String TAG concode_elem_sep String CHART concode_elem_sep String TITLE concode_field_sep PlotView getBubbleChartView concode_elem_sep boolean checkMultipleSeriesItems concode_elem_sep PlotView getTimeChartView concode_elem_sep PlotView getPieChartView concode_elem_sep PlotVi... | PlotView function ( Context arg0 , XYMultiSeries arg1 , XYMultipleSeriesRenderer arg2 , Type arg3 ) { checkParameters ( arg1 , arg2 ) ; XYChart loc0 = new BarChart ( arg1 , arg2 , arg3 ) ; return new PlotView ( arg0 , loc0 ) ; } |
4,079 | sets the role id of this org group role . concode_field_sep OrgGroupRole _orgGroupRole concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concod... | void function ( long arg0 ) { _orgGroupRole . setRoleId ( arg0 ) ; } |
4,080 | ascertains whether mapcommandbuttonid is a part of componentid . componentid might be a fully qualified id , with a prefix corresponding to container component s . concode_field_sep Polygon mapPolygon concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getId concode_elem_sep P... | boolean function ( String arg0 ) { return arg0 . endsWith ( mapCommandButtonId ) ; } |
4,081 | returns the number of settings that have values assigned . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE concode_elem_sep int UPLOAD_BANDWIDTH concode_elem_sep int CLIENT_CERTIFICATE_VECTOR... | int function ( ) { return Integer . bitCount ( set ) ; } |
4,082 | in order for the iterator to be able to update is is needed to be added to the holder . concode_field_sep LinkedList<TreeIterator> iters concode_field_sep void update concode_elem_sep void remove | void function ( TreeIterator arg0 ) { iters . add ( arg0 ) ; } |
4,083 | returns the element 's label . concode_field_sep Long elementTwo concode_elem_sep Long elementThree concode_elem_sep String label concode_elem_sep Long userid concode_elem_sep Long element concode_field_sep void setElementTwo concode_elem_sep Long getElementThree concode_elem_sep Long getElementTwo concode_elem_sep voi... | String function ( ) { return label ; } |
4,084 | called on page transitions concode_field_sep PluginManager pluginManager concode_elem_sep int expectedBridgeSecret concode_elem_sep String LOG_TAG concode_elem_sep NativeToJsMessageQueue jsMessageQueue concode_field_sep void jsSetNativeToJsBridgeMode concode_elem_sep boolean isSecretEstablished concode_elem_sep boolean... | void function ( ) { expectedBridgeSecret = - 1 ; } |
4,085 | a list of the pipeline stage output information , including stage name , state , most recent run details , whether the stage is disabled , and other data . note : this method appends the values to the existing list if any . use #setstagestates java.util.collection or #withstagestates java.util.collection if you want to... | GetPipelineStateResult function ( StageState ... arg0 ) { if ( this . stageStates == null ) { setStageStates ( new java . util . ArrayList < StageState > ( arg0 . length ) ) ; } for ( StageState loc0 : arg0 ) { this . stageStates . add ( loc0 ) ; } return this ; } |
4,086 | returns a filterchain that does nothing . concode_field_sep Map<String,Object> attributes concode_field_sep HttpServletRequest newFakeHttpServletRequest concode_elem_sep HttpSession newFakeHttpSession concode_elem_sep Object invoke concode_elem_sep Object invoke concode_elem_sep HttpServletResponse newFakeHttpServletRe... | FilterChain function ( ) { return new FilterChain ( ) { public void doFilter ( ServletRequest arg0 , ServletResponse arg1 ) { } } ; } |
4,087 | an extension over boolean.getboolean method . handles security restrictions , and provides default value in case when access to the property is restricted , of when the property does not exist . concode_field_sep PlaceHolder placeHolder concode_field_sep int getInt concode_elem_sep int getInt concode_elem_sep String ge... | boolean function ( String arg0 , boolean arg1 ) { try { if ( System . getProperty ( arg0 ) != null ) { return Boolean . getBoolean ( arg0 ) ; } else { return arg1 ; } } catch ( SecurityException loc0 ) { return arg1 ; } } |
4,088 | getid concode_field_sep OnmsMonitoredService m_monitoredService concode_elem_sep DemandPoll m_demandPoll concode_elem_sep PollStatus m_status concode_elem_sep Integer m_id concode_field_sep void setDemandPoll concode_elem_sep void setMonitoredService concode_elem_sep void setId concode_elem_sep DemandPoll getDemandPoll... | Integer function ( ) { return m_id ; } |
4,089 | returns the lazy-initialized target object , creating it on-the-fly if it does n't exist already . concode_field_sep Log logger concode_elem_sep Object lazyTarget concode_field_sep boolean isStatic concode_elem_sep Class<?> getTargetClass concode_elem_sep boolean isInitialized concode_elem_sep void releaseTarget concod... | Object function ( ) { if ( this . lazyTarget == null ) { logger . debug ( "srini_string" ) ; this . lazyTarget = createObject ( ) ; } return this . lazyTarget ; } |
4,090 | gets the value of the returnval property . concode_field_sep DatabaseSizeEstimate returnval concode_field_sep void setReturnval | DatabaseSizeEstimate function ( ) { return returnval ; } |
4,091 | sets the functions . concode_field_sep String fileName concode_elem_sep String[] sourcedFiles concode_elem_sep String[] functions concode_elem_sep String[] variables concode_field_sep String getFunctionOwner concode_elem_sep void setVariables concode_elem_sep String[] getVariables concode_elem_sep void setSourcedFiles ... | void function ( String [ ] arg0 ) { this . functions = arg0 ; } |
4,092 | builds a new aclentry populated with the set properties . concode_field_sep AclEntryScope scope concode_elem_sep String name concode_elem_sep FsAction permission concode_elem_sep AclEntryType type concode_elem_sep AclEntryScope scope concode_field_sep Builder setName concode_elem_sep String getName concode_elem_sep FsA... | AclEntry function ( ) { return new AclEntry ( type , name , permission , scope ) ; } |
4,093 | verify that if we read an entire block , we send checksum_ok concode_field_sep Path TEST_FILE concode_elem_sep LocatedBlock testBlock concode_elem_sep BlockReaderTestUtil util concode_elem_sep int FILE_SIZE_K concode_field_sep void setupCluster concode_elem_sep void teardownCluster concode_elem_sep void testUnalignedRe... | void function ( ) { RemoteBlockReader2 loc0 = ( RemoteBlockReader2 ) spy ( util . getBlockReader ( testBlock , 0 , FILE_SIZE_K * 1024 ) ) ; util . readAndCheckEOS ( loc0 , FILE_SIZE_K * 1024 , true ) ; verify ( loc0 ) . sendReadResult ( Status . CHECKSUM_OK ) ; loc0 . close ( ) ; } |
4,094 | sets the value of the key property . concode_field_sep List<Integer> evidence concode_elem_sep CitationType citation concode_elem_sep List<String> scope concode_elem_sep SourceDataType source concode_elem_sep String key concode_field_sep List<Integer> getEvidence concode_elem_sep CitationType getCitation concode_elem_s... | void function ( String arg0 ) { this . key = arg0 ; } |
4,095 | visit a match pattern . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean visitLocationPath concode_elem_sep boolean visitVariableRef concode_elem_sep boolean visitBinaryOperation concode_elem_sep boolean visitUnionPath concode_elem_sep boolean visitUnaryOperation concode_elem_sep boolean visitFunctio... | boolean function ( ExpressionOwner arg0 , StepPattern arg1 ) { return true ; } |
4,096 | gets the value of the usage property . concode_field_sep String displayLabel concode_elem_sep String note concode_elem_sep String access concode_elem_sep String usage concode_elem_sep String dateLastAccessed concode_elem_sep String value concode_field_sep String getValue concode_elem_sep void setAccess concode_elem_sep... | String function ( ) { return usage ; } |
4,097 | returns the shared buffer associated with the nioservice for read/write . concode_field_sep ByteBuffer m_previousBytes concode_elem_sep NIOService m_nioService concode_elem_sep long m_bytesRead concode_field_sep int read concode_elem_sep void compact concode_elem_sep long getBytesRead | ByteBuffer function ( ) { return m_nioService . getSharedBuffer ( ) ; } |
4,098 | history metadata participant concode_field_sep String emailDescription concode_elem_sep Actor actor concode_elem_sep ExtraData extraData concode_elem_sep String activityDescriptionKey concode_elem_sep String emailDescriptionKey concode_elem_sep String descriptionKey concode_elem_sep String description concode_elem_sep ... | void function ( Actor arg0 ) { this . generator = arg0 ; } |
4,099 | stemms the given term to an unique discriminator . concode_field_sep StringBuilder sb concode_elem_sep Locale locale concode_elem_sep int substCount concode_field_sep boolean isStemmable concode_elem_sep void strip concode_elem_sep void removeParticleDenotion concode_elem_sep void optimize concode_elem_sep void resubst... | String function ( String arg0 ) { arg0 = arg0 . toLowerCase ( locale ) ; if ( ! isStemmable ( arg0 ) ) return arg0 ; sb . delete ( 0 , sb . length ( ) ) ; sb . insert ( 0 , arg0 ) ; substitute ( sb ) ; strip ( sb ) ; optimize ( sb ) ; resubstitute ( sb ) ; removeParticleDenotion ( sb ) ; return sb . toString ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.