idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
98,700 | get the session id from the response variables . concode_field_sep String METHOD_NAME concode_elem_sep List<Object> params concode_elem_sep Map<Object,Object> hash concode_field_sep void setResultMap concode_elem_sep String getSessionKey concode_elem_sep String getMethodName concode_elem_sep Object[] getParameters | Integer function ( ) { if ( hash . containsKey ( "srini_string" ) ) { Integer loc0 = ( Integer ) hash . get ( "srini_string" ) ; return loc0 . intValue ( ) ; } else { return null ; } } |
98,701 | adds an array of elements to the set . concode_field_sep Long uid concode_elem_sep Set<RhnSetElement> synced concode_elem_sep SetCleanup cleanup concode_elem_sep Set<RhnSetElement> elements concode_elem_sep String label concode_field_sep boolean isSynced concode_elem_sep String getLabel concode_elem_sep Set<RhnSetEleme... | void function ( String [ ] arg0 ) { if ( arg0 == null ) { return ; } for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { addElement ( arg0 [ loc0 ] ) ; } } |
98,702 | gets requestor other . concode_field_sep Object notes concode_elem_sep Object deliveryMethod concode_elem_sep String itemBarcode concode_elem_sep Object requestorLastName concode_elem_sep String destination concode_elem_sep String customerCode concode_elem_sep Object errorCode concode_elem_sep Object requestorEmail con... | Object function ( ) { return requestorOther ; } |
98,703 | genernate random string concode_field_sep char[] NUM_CHAR_TABLE concode_elem_sep char[] CHAR_TABLE concode_elem_sep char[] NUM_TABLE concode_field_sep byte randomByte concode_elem_sep void main concode_elem_sep String randomCode concode_elem_sep String randomNum | String function ( int arg0 ) { Random loc0 = new Random ( ) ; StringBuilder loc1 = new StringBuilder ( arg0 ) ; for ( int loc2 = 0 ; loc2 < arg0 ; loc2 ++ ) { int loc3 = loc0 . nextInt ( CHAR_TABLE . arg0 ) ; loc1 . append ( CHAR_TABLE [ loc3 ] ) ; } return loc1 . toString ( ) ; } |
98,704 | retrieves the next available sql segment as a string . concode_field_sep BufferedReader reader concode_elem_sep String segment concode_elem_sep String DASH_COMMENT concode_elem_sep String SLASH_COMMENT concode_elem_sep String SEMI concode_field_sep void closeReader concode_elem_sep void setValue concode_elem_sep boolea... | Object function ( ) { String loc0 = null ; if ( this . hasNext ( ) ) { loc0 = this . segment ; this . segment = null ; } if ( loc0 == null ) { throw new NoSuchElementException ( ) ; } return loc0 ; } |
98,705 | logs a message with java.util.logging.level.warning . concode_field_sep String name concode_elem_sep Level dummyLevel concode_elem_sep Logger logger 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_se... | void function ( Object arg0 , Throwable arg1 ) { log ( Level . WARNING , String . valueOf ( arg0 ) , arg1 ) ; } |
98,706 | adds a chatsetting to settings list . concode_field_sep Workgroup workgroup concode_elem_sep Map<KeyEnum,ChatSetting> settingsList concode_elem_sep Comparator<ChatSetting> chatSettingComparator concode_elem_sep int type concode_field_sep Collection<ChatSetting> getChatSettings concode_elem_sep int compare concode_elem_... | void function ( ChatSetting arg0 ) { settingsList . remove ( arg0 . getKey ( ) ) ; } |
98,707 | if non-zero , then the partition mappings will be shuffled with this random seed . concode_field_sep int partitions concode_elem_sep List<DimensionKeySeries> resource concode_elem_sep boolean useHash concode_elem_sep int seed concode_field_sep DimensionKeySeriesPartitioner useHash concode_elem_sep Multimap<Integer,Dime... | DimensionKeySeriesPartitioner function ( int arg0 ) { this . seed = arg0 ; return this ; } |
98,708 | returns the recordreader to clean state . concode_field_sep FileSystem fileSystem concode_elem_sep Sleeper mockSleeper concode_elem_sep Path shardPath concode_elem_sep TaskAttemptContext mockTaskContext concode_elem_sep ShardedInputSplit inputSplit concode_elem_sep long estimatedNumRecords concode_elem_sep String RECOR... | void function ( ) { inputSplit = new ShardedInputSplit ( shardPath , estimatedNumRecords ) ; recordReader = createReader ( ) ; recordReader . initialize ( inputSplit , mockTaskContext ) ; recordReader . setSleeper ( mockSleeper ) ; } |
98,709 | adds an entry to the lookup table . any values from n up to but not including the next value in the table take on the specified paint . concode_field_sep long serialVersionUID concode_elem_sep double upperBound concode_elem_sep List lookupTable concode_elem_sep Paint paint concode_elem_sep double lowerBound concode_ele... | void function ( double arg0 , Paint arg1 ) { PaintItem loc0 = new PaintItem ( arg0 , arg1 ) ; int loc1 = Collections . binarySearch ( this . lookupTable , loc0 ) ; if ( loc1 >= 0 ) { this . lookupTable . set ( loc1 , loc0 ) ; } else { this . lookupTable . add ( - ( loc1 + 1 ) , loc0 ) ; } } |
98,710 | initializes the shuffleclient , specifying this executor 's appid . must be called before any other method on the shuffleclient . concode_field_sep PlaceHolder placeHolder concode_field_sep void fetchBlocks | void function ( String arg0 ) { } |
98,711 | assert a session attribute value . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher asyncResult concode_elem_sep ResultMatcher asyncResult concode_elem_sep void assertAsyncStarted concode_elem_sep ResultMatcher asyncStarted concode_elem_sep ResultMatcher asyncNotStarted concode_elem_sep ResultM... | ResultMatcher function ( final String arg0 , final Object arg1 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg2 ) { assertEquals ( "srini_string" + arg0 + "srini_string" , arg1 , arg2 . getRequest ( ) . getSession ( ) . getAttribute ( arg0 ) ) ; } } ; } |
98,712 | get publicly readable preferences concode_field_sep String P_UPGRADE_FROM concode_elem_sep String P_FIRST_TASK concode_elem_sep String P_CURRENT_VERSION_NAME concode_elem_sep long MIN_POPOVER_TIME concode_elem_sep String P_CURRENT_VERSION concode_elem_sep String P_FIRST_LAUNCH concode_elem_sep String P_FIRST_LIST conco... | SharedPreferences function ( Context arg0 ) { arg0 = arg0 . getApplicationContext ( ) ; return arg0 . getSharedPreferences ( AstridApiConstants . PUBLIC_PREFS , Context . MODE_WORLD_READABLE ) ; } |
98,713 | apply the xpath and assert the number of nodes found with the given matcher . concode_field_sep XpathExpectationsHelper xpathHelper concode_elem_sep String DEFAULT_ENCODING concode_field_sep RequestMatcher node concode_elem_sep RequestMatcher number concode_elem_sep RequestMatcher number concode_elem_sep RequestMatcher... | RequestMatcher function ( final Matcher < Integer > arg0 ) { return new AbstractXpathRequestMatcher ( ) { @ Override protected void matchInternal ( MockClientHttpRequest arg1 ) throws Exception { xpathHelper . assertNodeCount ( arg1 . getBodyAsBytes ( ) , DEFAULT_ENCODING , arg0 ) ; } } ; } |
98,714 | method to build and get the singleton instance . concode_field_sep Bundle configurations concode_elem_sep RuntimeConfig INSTANCE concode_elem_sep boolean isManaged concode_field_sep boolean isManagedApp concode_elem_sep boolean hasRestrictionsProvider concode_elem_sep String[] getStringArray concode_elem_sep Boolean ge... | RuntimeConfig function ( Context arg0 ) { if ( INSTANCE == null ) { INSTANCE = new RuntimeConfig ( arg0 ) ; } return INSTANCE ; } |
98,715 | return messagestamp from item concode_field_sep PlaceHolder placeHolder concode_field_sep BaseEventStamp getBaseEventStamp concode_elem_sep TaskStamp getTaskStamp concode_elem_sep EventStamp getEventStamp concode_elem_sep EventExceptionStamp getEventExceptionStamp concode_elem_sep CalendarCollectionStamp getCalendarCol... | MessageStamp function ( Item arg0 ) { return ( MessageStamp ) arg0 . getStamp ( MessageStamp . class ) ; } |
98,716 | number of times the resource has been accessed . concode_field_sep long accessCount concode_elem_sep String name concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setAccessCount | long function ( ) { return accessCount ; } |
98,717 | gets the value of the msisdn property . concode_field_sep String unitOfMeasure concode_elem_sep BigDecimal allowed concode_elem_sep long serialVersionUID concode_elem_sep BigDecimal used concode_elem_sep BigDecimal contributedToStack concode_elem_sep String msisdn concode_elem_sep BigDecimal adjustedFromStack concode_e... | String function ( ) { return msisdn ; } |
98,718 | get managed bean based on the bean name . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep String getJsfEl concode_elem_sep void resetMa... | Object function ( String arg0 ) { return getValueBinding ( getJsfEl ( arg0 ) ) . getValue ( FacesContext . getCurrentInstance ( ) ) ; } |
98,719 | formats time elapsed since the given start time in milliseconds . concode_field_sep PlaceHolder placeHolder concode_field_sep String getSizeFromBytes concode_elem_sep long parseSpaceSize concode_elem_sep String parametersToString concode_elem_sep String byteBufferToString concode_elem_sep String formatMode concode_elem... | String function ( long arg0 , String arg1 ) { return arg1 + "srini_string" + ( CommonUtils . getCurrentMs ( ) - arg0 ) + "srini_string" ; } |
98,720 | returns the formatted date in utc zone of the signing date . concode_field_sep SignableRequest<?> request concode_elem_sep String formattedSigningDateTime concode_elem_sep String signingAlgorithm concode_elem_sep String scope concode_elem_sep String regionName concode_elem_sep String serviceName concode_elem_sep String... | String function ( ) { return formattedSigningDate ; } |
98,721 | used to retrieve an imageencoder for a specific image format . concode_field_sep Hashtable encoders concode_field_sep void init concode_elem_sep void setImageEncoder | ImageEncoder function ( String arg0 , float arg1 , boolean arg2 ) { ImageEncoder loc0 = newInstance ( arg0 ) ; loc0 . setQuality ( arg1 ) ; loc0 . setEncodingAlpha ( arg2 ) ; return loc0 ; } |
98,722 | sets the radius server authentication port . concode_field_sep int DEFAULT_SOCKET_TIMEOUT concode_elem_sep int socketTimeout concode_elem_sep InetAddress inetAddress concode_elem_sep String sharedSecret concode_elem_sep int accountingPort concode_elem_sep int authenticationPort concode_field_sep void setSocketTimeout c... | void function ( final int arg0 ) { this . authenticationPort = arg0 ; } |
98,723 | deactivates the configured message endpoint . concode_field_sep boolean running concode_elem_sep ResourceAdapter resourceAdapter concode_elem_sep Object lifecycleMonitor concode_elem_sep boolean autoStartup concode_elem_sep MessageEndpointFactory messageEndpointFactory concode_elem_sep int phase concode_elem_sep Activa... | void function ( ) { synchronized ( this . lifecycleMonitor ) { if ( this . running ) { getResourceAdapter ( ) . endpointDeactivation ( getMessageEndpointFactory ( ) , getActivationSpec ( ) ) ; this . running = false ; } } } |
98,724 | a list of alarm histories in json format . concode_field_sep com.amazonaws.internal.SdkInternalList<AlarmHistoryItem> alarmHistoryItems concode_elem_sep String nextToken concode_field_sep void setNextToken concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep DescribeAlarmHistoryResult clone co... | DescribeAlarmHistoryResult function ( java . util . Collection < AlarmHistoryItem > arg0 ) { setAlarmHistoryItems ( arg0 ) ; return this ; } |
98,725 | set the behind view content to an explicit view . this view is placed directly into the behind view 's view hierarchy . it can itself be a complex view hierarchy . concode_field_sep boolean mEnableSlide concode_elem_sep Activity mActivity concode_elem_sep View mViewBehind concode_elem_sep boolean mOnPostCreateCalled co... | void function ( View arg0 , LayoutParams arg1 ) { mViewBehind = arg0 ; mSlidingMenu . setMenu ( mViewBehind ) ; } |
98,726 | gets the columns of the table . concode_field_sep StorageDescriptor sd concode_elem_sep int lastAccessTime concode_elem_sep int createTime concode_elem_sep List<HCatFieldSchema> columns concode_elem_sep List<String> values concode_elem_sep String dbName concode_elem_sep HCatTable hcatTable concode_elem_sep Map<String,S... | List < HCatFieldSchema > function ( ) { return columns ; } |
98,727 | check that a month instance is equal to itself . sourceforge bug id : 558850 . concode_field_sep Month jan1900 concode_elem_sep Month dec9999 concode_elem_sep Month nov9999 concode_elem_sep Month feb1900 concode_field_sep void testDateConstructor1 concode_elem_sep void testParseMonth concode_elem_sep void testGetStart ... | void function ( ) { Month loc0 = new Month ( ) ; assertTrue ( loc0 . equals ( loc0 ) ) ; } |
98,728 | used to retrieve a short description of what the plugin tool does . 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... | String function ( ) { return "srini_string" ; } |
98,729 | sets the value . concode_field_sep String path concode_elem_sep String domain concode_elem_sep String name concode_elem_sep String value concode_elem_sep int version concode_field_sep int getVersion concode_elem_sep void setName concode_elem_sep String getDomain concode_elem_sep String getValue concode_elem_sep String ... | void function ( String arg0 ) { this . value = arg0 ; } |
98,730 | gets the field type at the specified index . the only index supported by this period is zero which returns the field type of this class . concode_field_sep long START_1972 concode_elem_sep int iPeriod concode_elem_sep long serialVersionUID concode_field_sep boolean isSupported concode_elem_sep int compareTo concode_ele... | DurationFieldType function ( int arg0 ) { if ( arg0 != 0 ) { throw new IndexOutOfBoundsException ( String . valueOf ( arg0 ) ) ; } return getFieldType ( ) ; } |
98,731 | sets the component to add index . concode_field_sep SelectItem[] componentList concode_elem_sep NodeUserObject selectedNodeObject concode_elem_sep DefaultMutableTreeNode rootTreeNode concode_elem_sep DefaultTreeModel model concode_elem_sep Integer componentToAdd concode_elem_sep int labelCount concode_elem_sep String s... | void function ( Integer arg0 ) { this . componentToAdd = arg0 ; } |
98,732 | the id of the virtual private gateway vgw . concode_field_sep String gatewayId concode_field_sep PropagatingVgw withGatewayId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep PropagatingVgw clone concode_elem_sep String toString concode_elem_sep void setGatewayId | String function ( ) { return gatewayId ; } |
98,733 | sets the value of the sbbvendor property . concode_field_sep SbbVersion sbbVersion concode_elem_sep Description description concode_elem_sep String id concode_elem_sep SbbVendor sbbVendor concode_elem_sep SbbName sbbName concode_field_sep SbbVendor getSbbVendor concode_elem_sep void setSbbVersion concode_elem_sep SbbNa... | void function ( SbbVendor arg0 ) { this . sbbVendor = arg0 ; } |
98,734 | check if the passed client id has the same id as this object concode_field_sep PlaceHolder placeHolder concode_field_sep String getClientID | boolean function ( @ Nullable final String arg0 ) { return EqualsHelper . equals ( getClientID ( ) , arg0 ) ; } |
98,735 | returns whether this device supports low-level display changes . this may depend on whether full-screen exclusive mode is available . xxx the default implementation returns false for now . concode_field_sep DisplayMode mode concode_elem_sep Rectangle fullScreenOldBounds concode_elem_sep int TYPE_PRINTER concode_elem_se... | boolean function ( ) { return false ; } |
98,736 | retrieves the stacktrace of an exception as string . concode_field_sep String HEXES concode_field_sep boolean[] getBits concode_elem_sep int fromHex concode_elem_sep Date resolveDateTime concode_elem_sep String toHex concode_elem_sep String toHex concode_elem_sep byte[] hexStringToByteArray concode_elem_sep int fromByt... | String function ( Exception arg0 ) { StringWriter loc0 = new StringWriter ( ) ; PrintWriter loc1 = new PrintWriter ( loc0 ) ; arg0 . printStackTrace ( loc1 ) ; return loc0 . toString ( ) ; } |
98,737 | the resource adapter concode_field_sep TxLogConnectionFactory cf concode_elem_sep CachedConnectionManager ccm concode_elem_sep HashSet unsharableResources concode_elem_sep UserTransaction ut concode_field_sep void testLazyEnlistmentOneConnection concode_elem_sep void testAutoClose concode_elem_sep void testLazyEnlistme... | ResourceAdapterArchive function ( ) { return ResourceAdapterFactory . createTxLogRar ( ) ; } |
98,738 | defines target size for image aware view . size is defined by target com.nostra13.universalimageloader.core.imageaware.imageaware view parameters , configurationparameters or device display dimensions . concode_field_sep ImageSize maxBitmapSize concode_elem_sep int DEFAULT_MAX_BITMAP_DIMENSION concode_field_sep int com... | ImageSize function ( ImageAware arg0 , ImageSize arg1 ) { int loc0 = arg0 . getWidth ( ) ; if ( loc0 <= 0 ) loc0 = arg1 . getWidth ( ) ; int loc1 = arg0 . getHeight ( ) ; if ( loc1 <= 0 ) loc1 = arg1 . getHeight ( ) ; return new ImageSize ( loc0 , loc1 ) ; } |
98,739 | return the allowed http methods , possibly null in which caseonly `` get '' is allowed . concode_field_sep List<String> allowedOrigins concode_elem_sep Long maxAge concode_elem_sep List<String> exposedHeaders concode_elem_sep List<String> allowedHeaders concode_elem_sep List<String> allowedMethods concode_elem_sep Stri... | List < String > function ( ) { return this . allowedMethods ; } |
98,740 | atomically adds the given value to the element at index i . concode_field_sep int base concode_elem_sep long serialVersionUID concode_elem_sep int[] array concode_elem_sep int shift concode_elem_sep Unsafe unsafe concode_field_sep int getAndIncrement concode_elem_sep void set concode_elem_sep int incrementAndGet concod... | int function ( int arg0 , int arg1 ) { long loc0 = checkedByteOffset ( arg0 ) ; while ( true ) { int loc1 = getRaw ( loc0 ) ; int loc2 = loc1 + arg1 ; if ( compareAndSetRaw ( loc0 , loc1 , loc2 ) ) return loc2 ; } } |
98,741 | getter method concode_field_sep Integer customerType concode_elem_sep Integer callSource concode_elem_sep Date endDate concode_elem_sep Integer caseStatus concode_elem_sep long serialVersionUID concode_elem_sep Integer subCategoryId concode_elem_sep String circleID concode_elem_sep String circle concode_elem_sep Date s... | Integer function ( ) { return subSubCategoryId ; } |
98,742 | gets the value of the version property . concode_field_sep List<ViewContextReferenceType> viewContextReference concode_elem_sep String version concode_field_sep List<ViewContextReferenceType> getViewContextReference concode_elem_sep void setVersion | String function ( ) { if ( version == null ) { return "srini_string" ; } else { return version ; } } |
98,743 | trying to create a new user , with errors in form . concode_field_sep AccountFormBean formBean concode_elem_sep ReCaptchaParameters rep concode_elem_sep MailService srv concode_elem_sep NewAccountFormController ctrl concode_elem_sep EmailFactoryImpl efi concode_elem_sep BindingResult result concode_elem_sep HttpServlet... | void function ( ) { configureLegitFormBean ( ) ; Mockito . when ( result . hasErrors ( ) ) . thenReturn ( true ) ; String loc0 = ctrl . create ( request , formBean , result , status ) ; assertTrue ( loc0 . equals ( "srini_string" ) ) ; } |
98,744 | get all the relying party service providers concode_field_sep IdentityPersistenceManager manager concode_field_sep OpenIDAdminDO getOpenIDAdmin concode_elem_sep String getParameterValue concode_elem_sep boolean isServiceProviderExists concode_elem_sep boolean hasXMPPSettings concode_elem_sep void createOrUpdateOpenIDAd... | SAMLSSOServiceProviderDO [ ] function ( Registry arg0 ) { SAMLSSOServiceProviderDAO loc0 = new SAMLSSOServiceProviderDAO ( arg0 ) ; return loc0 . getServiceProviders ( ) ; } |
98,745 | retrieve a copy of the quantization values for this table . concode_field_sep JPEGQTable K2Chrominance concode_elem_sep JPEGQTable K1Div2Luminance concode_elem_sep JPEGQTable K2Div2Chrominance concode_elem_sep int[] table concode_elem_sep JPEGQTable K1Luminance concode_field_sep JPEGQTable getScaledInstance concode_ele... | int [ ] function ( ) { return ( int [ ] ) table . clone ( ) ; } |
98,746 | determine if the supplied class meets the criteria for beingconsidered a default configuration class candidate . specifically , such candidates : must not be null must not be private must not be final must be static must be annotated or meta-annotated with @configuration concode_field_sep Log logger concode_field_sep b... | boolean function ( Class < ? > arg0 ) { return ( arg0 != null && isStaticNonPrivateAndNonFinal ( arg0 ) && AnnotatedElementUtils . hasAnnotation ( arg0 , Configuration . class ) ) ; } |
98,747 | runs the correct algorithm make config option perhaps concode_field_sep Decoder decoder concode_elem_sep Tagger tagger concode_elem_sep boolean noOutput concode_elem_sep boolean showConfidence concode_elem_sep Iterable<Sentence> inputIterable concode_elem_sep String inputFormat concode_elem_sep String outputFormat conc... | void function ( ModelSentence arg0 ) { if ( decoder == Decoder . GREEDY ) { tagger . model . greedyDecode ( arg0 , showConfidence ) ; } else if ( decoder == Decoder . VITERBI ) { tagger . model . viterbiDecode ( arg0 ) ; } } |
98,748 | returns a specific logger . does not access gov.nasa.worldwind.configuration to determine the configuredworld wind logger . this is needed by gov.nasa.worldwind.configuration to avoid calls back into itself when its singletoninstance is not yet instantiated . concode_field_sep int MAX_MESSAGE_REPEAT concode_elem_sep St... | Logger function ( String arg0 ) { return Logger . getLogger ( arg0 != null ? arg0 : "srini_string" , MESSAGE_BUNDLE_NAME ) ; } |
98,749 | set the itimer for the state machine . it must be setexternally on a timed state machine before a run cycle can be correct executed . concode_field_sep ITimer timer concode_elem_sep boolean[] timeEvents concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void entryAction_main_regi... | void function ( ITimer arg0 ) { this . timer = arg0 ; } |
98,750 | convience method to clear a passed arraylist basically clones the functionality of a vector.removeall concode_field_sep LogBean singleton concode_elem_sep MessageLog messageLog concode_elem_sep ChatState state concode_elem_sep Log log concode_elem_sep String autoLoad concode_elem_sep ArrayList controlLog concode_elem_s... | ArrayList function ( ArrayList arg0 ) { for ( int loc0 = 0 , loc1 = arg0 . size ( ) ; loc0 < loc1 ; loc0 ++ ) { arg0 . remove ( 0 ) ; } return ( arg0 ) ; } |
98,751 | converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order . the returned array will be double the length of the passed array , as it takes two characters to represent any given byte . concode_field_sep char[] DIGITS_LOWER concode_elem_sep char[] DIGITS_UPPER concod... | char [ ] function ( byte [ ] arg0 , boolean arg1 ) { return encodeHex ( arg0 , arg1 ? DIGITS_LOWER : DIGITS_UPPER ) ; } |
98,752 | determines whether the uri has a scheme e.g. file : , classpath : or http : concode_field_sep Logger LOG concode_field_sep URL resolveResourceAsUrl concode_elem_sep String getScheme concode_elem_sep InputStream resolveResourceAsInputStream concode_elem_sep String resolveUriPath concode_elem_sep String appendParameters ... | boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } return arg0 . startsWith ( "srini_string" ) || arg0 . startsWith ( "srini_string" ) || arg0 . startsWith ( "srini_string" ) ; } |
98,753 | sets the list of hostconfigurationsettings specifying connection options on a host-by-host basis . concode_field_sep int defaultMaxConnectionsPerHost concode_elem_sep int DEFAULT_MAX_CONNECTIONS_HOST concode_elem_sep int maxTotalConnections concode_elem_sep String MAX_TOTAL_CONNECTIONS concode_elem_sep String RECEIVE_B... | void function ( List arg0 ) { maxConnectionsPerHost = arg0 ; } |
98,754 | get a list containing all known user designation keys keys . e.g. , `` mostly_harmless '' , `` must_fix '' , `` not_a_bug '' , etc. . concode_field_sep Comparator<String> designationKeyComparator concode_elem_sep ResourceBundle englishAnnotationDescriptionBundle concode_elem_sep I18N theInstance concode_elem_sep Resour... | List < String > function ( ) { List < String > loc0 = new LinkedList < String > ( ) ; for ( Enumeration < String > loc1 = userDesignationBundle . getKeys ( ) ; loc1 . hasMoreElements ( ) ; ) { String loc2 = loc1 . nextElement ( ) ; loc0 . add ( loc2 ) ; } return loc0 ; } |
98,755 | cancel the printertask by calling the printerjob 's cancel method . concode_field_sep CancelablePrintJob cancelablePrintJob concode_elem_sep Logger logger concode_elem_sep PrintHelper printHelper concode_field_sep void run | void function ( ) { try { if ( cancelablePrintJob != null ) { cancelablePrintJob . cancel ( ) ; } } catch ( PrintException loc0 ) { logger . log ( Level . FINE , "srini_string" + loc0 . getMessage ( ) ) ; } } |
98,756 | returns the result of interpretting the object as an instance of ` eobject ' . this implementation returns null ; returning a non-null result will terminate the switch , but this is the last case anyway . concode_field_sep DiagramPackage modelPackage concode_field_sep Object caseDiagramLink concode_elem_sep Object case... | Object function ( EObject arg0 ) { return null ; } |
98,757 | get the status of the corrupt request flag . concode_field_sep String filetype concode_elem_sep boolean noOp concode_elem_sep boolean checksumError concode_elem_sep String filepath concode_elem_sep String destination concode_elem_sep String onBehalfOf concode_elem_sep String packaging concode_elem_sep String userAgent ... | boolean function ( ) { return corruptRequest ; } |
98,758 | set the random text data generator 's list size . concode_field_sep Random random concode_elem_sep int DEFAULT_LIST_SIZE concode_elem_sep int DEFAULT_WORD_SIZE concode_elem_sep Log LOG concode_elem_sep long DEFAULT_SEED concode_elem_sep String[] words concode_elem_sep String GRIDMIX_DATAGEN_RANDOMTEXT_WORDSIZE concode_... | void function ( Configuration arg0 , int arg1 ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "srini_string" + "srini_string" + arg1 + "srini_string" ) ; } arg0 . setInt ( GRIDMIX_DATAGEN_RANDOMTEXT_LISTSIZE , arg1 ) ; } |
98,759 | sets the cross component traversal flag - indicates whether to traverse the graph across connected components . concode_field_sep List<TraversalListener<V,E>> traversalListeners concode_elem_sep boolean reuseEvents concode_elem_sep boolean crossComponentTraversal concode_elem_sep int nListeners concode_field_sep void r... | void function ( boolean arg0 ) { this . crossComponentTraversal = arg0 ; } |
98,760 | adds the release to the database . also notifies the appropriate model listeners . concode_field_sep ReleaseLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com.liferay.p... | com . liferay . portal . kernel . model . Release function ( com . liferay . portal . kernel . model . Release arg0 ) { return getService ( ) . addRelease ( arg0 ) ; } |
98,761 | the name of the policy . concode_field_sep String policyDocument concode_elem_sep String groupName concode_elem_sep String policyName concode_field_sep void setGroupName concode_elem_sep String getGroupName concode_elem_sep GetGroupPolicyResult withGroupName concode_elem_sep void setPolicyName concode_elem_sep void set... | String function ( ) { return this . policyName ; } |
98,762 | the sector test . concode_field_sep Test test concode_elem_sep Object constraint concode_field_sep Object getConstraint | Test function ( ) { return this . test ; } |
98,763 | get the date of the log line concode_field_sep String user concode_elem_sep String level concode_elem_sep String action concode_elem_sep Date date concode_elem_sep String params concode_field_sep boolean isLevel concode_elem_sep String getLevel concode_elem_sep boolean afterDate concode_elem_sep String getUser concode_... | Date function ( ) { return this . date == null ? null : new Date ( this . date . getTime ( ) ) ; } |
98,764 | encodes for javascript strings contained within html script blocks . concode_field_sep Log log concode_elem_sep String defaultDateCache concode_field_sep String formatDate concode_elem_sep String formatDate concode_elem_sep String encodeForUriComponent concode_elem_sep String encodeForCssUrl concode_elem_sep String enc... | String function ( String arg0 ) { return Encode . forJavaScriptBlock ( arg0 ) ; } |
98,765 | replaces $ system.property : default value references in all attributes and text nodes of supplied node . if the system property is not defined and no default value is provided , a runtime exception is thrown . concode_field_sep String XML_RESERVED_PREFIX concode_field_sep List childNodesToList concode_elem_sep String ... | void function ( Node arg0 ) { substituteProperties ( arg0 , null ) ; } |
98,766 | ignore case for all string-valued properties concode_field_sep NotNullOrZeroPropertySelector INSTANCE concode_elem_sep boolean isIgnoreCaseEnabled concode_elem_sep NotNullPropertySelector INSTANCE concode_elem_sep AllPropertySelector INSTANCE concode_elem_sep Object exampleEntity concode_elem_sep boolean isLikeEnabled ... | Example function ( ) { this . isIgnoreCaseEnabled = true ; return this ; } |
98,767 | restores the cluster to given state if this is a real cluster , otherwise does nothing . this is a best effort restore . if the servers are not reachable , or insufficient permissions , etc. restoration might be partial . concode_field_sep ClusterStatus initialClusterStatus concode_elem_sep Configuration conf concode_e... | boolean function ( ClusterStatus arg0 ) { return true ; } |
98,768 | return the simple http resource path for an absolute http/https url . concode_field_sep Logger LOGGER concode_elem_sep SchemaCache cache concode_elem_sep SchemaCatalog catalog concode_elem_sep Map<String,String> resolvedLocationToOriginalLocationMap concode_elem_sep boolean classpath concode_field_sep String resolve co... | String function ( String arg0 , boolean arg1 ) { URI loc0 ; try { loc0 = new URI ( arg0 ) ; } catch ( URISyntaxException loc1 ) { return null ; } return getSimpleHttpResourcePath ( loc0 , arg1 ) ; } |
98,769 | adds a motion pathlistener to the path concode_field_sep Spline spline concode_elem_sep List<MotionPathListener> listeners concode_elem_sep Node debugNode concode_elem_sep int prevWayPoint concode_elem_sep AssetManager assetManager concode_field_sep void attachDebugNode concode_elem_sep void disableDebugShape concode_e... | void function ( MotionPathListener arg0 ) { if ( listeners == null ) { listeners = new ArrayList < MotionPathListener > ( ) ; } listeners . add ( arg0 ) ; } |
98,770 | return true or false based on whether the named file exists . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep void renameElement concode_elem_sep... | boolean function ( String arg0 ) { return ( new File ( arg0 ) ) . exists ( ) ; } |
98,771 | setter method for msisdn concode_field_sep String closeDate concode_elem_sep String customerType concode_elem_sep String ticketNo concode_elem_sep String loggedBy concode_elem_sep String subSubType concode_elem_sep String source concode_elem_sep String msisdn concode_elem_sep String circle concode_elem_sep String logge... | void function ( String arg0 ) { this . msisdn = arg0 ; } |
98,772 | reads in a sequence of integers from the whitelist file , specified as a command-line argument . reads in integers from standard input and prints to standard output those integers that are not in the file . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( String [ ] arg0 ) { In loc0 = new In ( arg0 [ 0 ] ) ; int [ ] loc1 = loc0 . readAllInts ( ) ; StaticSETofInts loc2 = new StaticSETofInts ( loc1 ) ; while ( ! StdIn . isEmpty ( ) ) { int loc3 = StdIn . readInt ( ) ; if ( ! loc2 . contains ( loc3 ) ) StdOut . println ( loc3 ) ; } } |
98,773 | this implementation throws assertion error ; the openable parent builds the whole structure in one go . concode_field_sep PlaceHolder placeHolder concode_field_sep void hValidateExistence concode_elem_sep boolean hIsOpenable concode_elem_sep void hToStringName concode_elem_sep boolean hExists concode_elem_sep boolean h... | void function ( IContext arg0 , IProgressMonitor arg1 ) { throw new AssertionError ( "srini_string" ) ; } |
98,774 | check if some value was found , otherwise throw exception . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | T function ( final T arg0 ) { if ( arg0 == null ) { throw new MyResourceNotFoundException ( ) ; } return arg0 ; } |
98,775 | convert dp to pixel concode_field_sep int FULL_ALPHA concode_elem_sep int SELECTED_ALPHA concode_elem_sep int PULSE_ANIMATOR_DURATION concode_elem_sep int SELECTED_ALPHA_THEME_DARK concode_field_sep boolean isJellybeanOrLater concode_elem_sep boolean isDarkTheme concode_elem_sep boolean resolveBoolean concode_elem_sep ... | int function ( float arg0 , Resources arg1 ) { float loc0 = TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , arg0 , arg1 . getDisplayMetrics ( ) ) ; return ( int ) loc0 ; } |
98,776 | performs a check on wether the given vectors have the same dimension . concode_field_sep String PACKAGE_NAME concode_field_sep double distance concode_elem_sep double distance concode_elem_sep double distance concode_elem_sep double distance concode_elem_sep double distance concode_elem_sep double distance concode_elem... | void function ( DoubleMatrix1D arg0 , DoubleMatrix1D arg1 ) { if ( arg0 . cardinality ( ) != arg1 . cardinality ( ) ) { throw new MetricException ( "srini_string" ) ; } } |
98,777 | initiates the fetch of all blocks provided in the constructor , with possible retries in the event of transient ioexceptions . concode_field_sep ExecutorService executorService concode_elem_sep LinkedHashSet<String> outstandingBlocksIds concode_elem_sep int maxRetries concode_elem_sep RetryingBlockFetchListener current... | void function ( ) { fetchAllOutstanding ( ) ; } |
98,778 | checks to see if the given unit with associated contexts is a partial match for this unit . zero , one or both contexts can be null . a null context matches any context concode_field_sep Unit baseUnit concode_elem_sep Unit[] EMPTY_ARRAY concode_elem_sep String name concode_elem_sep boolean filler concode_elem_sep Conte... | boolean function ( String arg0 , Context arg1 ) { return getName ( ) . equals ( arg0 ) && arg1 . isPartialMatch ( this . context ) ; } |
98,779 | basically just a wrapper for lazy people - identical to calling requestpty `` dumb '' , 0 , 0 , 0 , 0 , null . concode_field_sep String x11FakeCookie concode_elem_sep boolean flag_x11_requested concode_elem_sep boolean flag_closed concode_elem_sep boolean flag_pty_requested concode_elem_sep SecureRandom rnd concode_ele... | void function ( ) { requestPTY ( "srini_string" , 0 , 0 , 0 , 0 , null ) ; } |
98,780 | returns the part number of the newly uploaded part . concode_field_sep String serverSideEncryption concode_elem_sep int partNumber concode_elem_sep String eTag concode_field_sep void setServerSideEncryption concode_elem_sep void setPartNumber concode_elem_sep String getETag concode_elem_sep PartETag getPartETag concode... | int function ( ) { return partNumber ; } |
98,781 | the concept of an authentication realm is not supported by the ntlm authentication scheme . always returns null . concode_field_sep Log LOG concode_elem_sep int INITIATED concode_elem_sep int UNINITIATED concode_elem_sep int FAILED concode_elem_sep String ntlmchallenge concode_elem_sep int TYPE3_MSG_GENERATED concode_e... | String function ( ) { return null ; } |
98,782 | getter for the field table . concode_field_sep String condition concode_elem_sep String table concode_field_sep String getCondition concode_elem_sep void setCondition concode_elem_sep void setTable | String function ( ) { return table ; } |
98,783 | find all the possible moves of the pieces the player concode_field_sep Derp[] derp concode_elem_sep Rook[] rook concode_elem_sep Pawn[] pawn concode_elem_sep King[] king concode_elem_sep Bishop[] bishop concode_elem_sep int numc concode_elem_sep Result result concode_elem_sep Queen[] queen concode_elem_sep boolean turn... | boolean function ( boolean arg0 ) { for ( int loc0 = 0 ; loc0 < board . length ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < board [ 0 ] . length ; loc1 ++ ) { Piece loc2 = board [ loc0 ] [ loc1 ] ; if ( loc2 == null || loc2 . arg0 != arg0 ) continue ; if ( loc2 . testAll ( this ) ) { return true ; } } } return false ; } |
98,784 | returns the function of the namespace of the given name or null of it does not exists . concode_field_sep NoneType NONE concode_elem_sep Map<Class<?>,Map<String,BaseFunction>> functions concode_elem_sep Boolean FALSE concode_elem_sep String REPOSITORY_NAME concode_elem_sep Boolean TRUE concode_elem_sep String PKG_NAME ... | BaseFunction function ( Class < ? > arg0 , String arg1 ) { Map < String , BaseFunction > loc0 = getNamespaceFunctions ( arg0 ) ; return loc0 != null ? loc0 . get ( arg1 ) : null ; } |
98,785 | schedules the next execution . concode_field_sep long lastWriteTime concode_elem_sep boolean ignore concode_elem_sep String collidingId concode_elem_sep Logger LOGGER concode_elem_sep Random random concode_elem_sep File home concode_field_sep void init concode_elem_sep void doIgnore concode_elem_sep String getId concod... | void function ( ) { long loc0 = 1000 * 60 ; Timer . get ( ) . schedule ( new SafeTimerTask ( ) { protected void doRun ( ) { execute ( ) ; } } , ( random . nextInt ( 30 ) + 60 ) * loc0 , TimeUnit . MILLISECONDS ) ; } |
98,786 | action listener for the changes the selected panel stack in the jsp version of component showcase . concode_field_sep String selectedPanel concode_field_sep String getSelectedPanel concode_elem_sep void setSelectedPanel | void function ( ActionEvent arg0 ) { FacesContext loc0 = FacesContext . getCurrentInstance ( ) ; Map loc1 = loc0 . getExternalContext ( ) . getRequestParameterMap ( ) ; selectedPanel = ( String ) loc1 . get ( "srini_string" ) ; } |
98,787 | return the full url of the websocket location of the given websockethttpexchange concode_field_sep byte[] EMPTY concode_elem_sep boolean allowExtensions concode_elem_sep String magicNumber concode_elem_sep Pattern PATTERN concode_elem_sep Set<String> subprotocols concode_elem_sep Set<ExtensionHandshake> availableExtens... | String function ( WebSocketHttpExchange arg0 ) { String loc0 ; if ( "srini_string" . equals ( arg0 . getRequestScheme ( ) ) ) { loc0 = "srini_string" ; } else { loc0 = "srini_string" ; } return loc0 + "srini_string" + arg0 . getRequestHeader ( Headers . HOST_STRING ) + arg0 . getRequestURI ( ) ; } |
98,788 | returns identification of this terminologyaccess concode_field_sep CodePhrase FUNCTION concode_elem_sep CodePhrase CREATION concode_elem_sep CodePhrase PERSISTENT concode_elem_sep CodePhrase EVENT concode_elem_sep CodePhrase CHANGE concode_elem_sep CodePhrase SETTING concode_elem_sep CodePhrase REVISION concode_elem_se... | String function ( ) { return null ; } |
98,789 | linkedin account password concode_field_sep String redirectUri concode_elem_sep LinkedInApiName apiName concode_elem_sep String userPassword concode_elem_sep String clientId concode_elem_sep Map<String,Object> httpParams concode_elem_sep OAuthSecureStorage secureStorage concode_elem_sep String methodName concode_elem_s... | void function ( String arg0 ) { this . userPassword = arg0 ; } |
98,790 | sets the list of xts coordinator recovery modules to be installed at startup and removed at shutdown . concode_field_sep List<String> coordinatorRecoveryModules concode_elem_sep List<String> participantRecoveryModules concode_field_sep List<String> getCoordinatorRecoveryModules concode_elem_sep void setParticipantRecov... | void function ( List < String > arg0 ) { this . coordinatorRecoveryModules = arg0 ; } |
98,791 | returns a class object that represents the formal return type of the method . concode_field_sep com.badlogic.gwtref.client.Method method concode_field_sep boolean isAccessible concode_elem_sep boolean isStatic concode_elem_sep String getName concode_elem_sep void setAccessible concode_elem_sep boolean isAnnotationPrese... | Class function ( ) { return method . getReturnType ( ) ; } |
98,792 | convenience method to get this element as a primitive float value . concode_field_sep PlaceHolder placeHolder concode_field_sep BigInteger getAsBigInteger concode_elem_sep byte getAsByte concode_elem_sep JsonObject getAsJsonObject concode_elem_sep JsonNull getAsJsonNull concode_elem_sep BigDecimal getAsBigDecimal conco... | float function ( ) { throw new UnsupportedOperationException ( getClass ( ) . getSimpleName ( ) ) ; } |
98,793 | sets the value of the dorucenemnozstvi property . concode_field_sep TOsobaExterni odesilatel concode_elem_sep TDatum datumVytvoreni concode_elem_sep TDatum datumDoruceni concode_elem_sep String doruceneMnozstvi concode_elem_sep String odesilatelovoEvidencniCislo concode_elem_sep TOsobyExterni autor concode_field_sep vo... | void function ( String arg0 ) { this . doruceneMnozstvi = arg0 ; } |
98,794 | gets the value of the componentinventorydetail property . concode_field_sep String componentNumbers concode_elem_sep RecordRef item concode_elem_sep Double quantity concode_elem_sep InventoryDetail componentInventoryDetail concode_elem_sep Double quantityOnHand concode_elem_sep String binNumbers concode_field_sep Strin... | InventoryDetail function ( ) { return componentInventoryDetail ; } |
98,795 | get the red value of this color concode_field_sep int argb concode_field_sep int getGreen concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getBlue concode_elem_sep int mix concode_elem_sep int mix concode_elem_sep int mix concode_elem_sep int getAlpha concode_elem_sep int getRGB | int function ( ) { return ( this . argb >> 16 ) & 255 ; } |
98,796 | creates a new style for diagam inlining concode_field_sep String INLINE_STYLE concode_elem_sep String DOMAIN_ID concode_field_sep List<Diagram> getSubDiagramHierachy concode_elem_sep BooleanValueStyle getInlineStyle concode_elem_sep void openEditor concode_elem_sep IEditorPart openEditor concode_elem_sep TransactionalE... | BooleanValueStyle function ( ) { BooleanValueStyle loc0 = NotationFactory . eINSTANCE . createBooleanValueStyle ( ) ; loc0 . setName ( INLINE_STYLE ) ; loc0 . setBooleanValue ( true ) ; return loc0 ; } |
98,797 | get a participant store proxy from the local mbeanserver concode_field_sep JMXConnectorServer jmxCServer concode_elem_sep ObjectName participantStoreON concode_elem_sep String PARTICIPANT_BEAN_NAME concode_elem_sep MBeanServerConnection mbsc concode_elem_sep ObjectName recoveryStoreON concode_elem_sep NotificationListe... | ParticipantStoreProxy function ( NotificationListener arg0 ) { return getProxy ( "srini_string" , arg0 ) . psProxy ; } |
98,798 | config interceptor applied to all actions . concode_field_sep PlaceHolder placeHolder concode_field_sep void configHandler concode_elem_sep void afterStart concode_elem_sep void configConstant concode_elem_sep void beforeStop concode_elem_sep void configResource concode_elem_sep void configPlugin | void function ( InterceptorLoader arg0 ) { } |
98,799 | creates a openid 2 associationsessiontype with the specified session type and hmac-sha1 association type . concode_field_sep AssociationSessionType NO_ENCRYPTION_COMPAT_SHA1MAC concode_elem_sep AssociationSessionType DH_SHA256 concode_elem_sep int _order concode_elem_sep AssociationSessionType DH_COMPAT_SHA1 concode_el... | AssociationSessionType function ( String arg0 ) { return create ( arg0 , Association . TYPE_HMAC_SHA1 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.