idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
17,400 | convert the byte array to a hex string . concode_field_sep int TOKEN_SIZE concode_elem_sep Subject subject concode_elem_sep LocalStringManagerImpl localStrings concode_elem_sep long lifetime concode_elem_sep Logger logger concode_elem_sep int usesRemaining concode_elem_sep String SUPPRESSED_TOKEN_OUTPUT concode_elem_se... | String function ( byte [ ] arg0 ) { char [ ] loc0 = new char [ arg0 . length * 2 ] ; for ( int loc1 = 0 , loc2 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { byte loc3 = arg0 [ loc1 ] ; loc0 [ loc2 ++ ] = hex [ ( loc3 >> 4 ) & 0xF ] ; loc0 [ loc2 ++ ] = hex [ loc3 & 0xF ] ; } return new String ( loc0 ) ; } |
17,401 | return the jta usertransaction object for the current transaction . concode_field_sep UserTransaction userTransaction concode_field_sep void flush concode_elem_sep boolean isRollbackOnly | UserTransaction function ( ) { return this . userTransaction ; } |
17,402 | sets the value of the sid property . concode_field_sep String semantic concode_elem_sep Double _float concode_elem_sep List<Double> float2 concode_elem_sep List<Double> float3 concode_elem_sep FxSurfaceCommon surface concode_elem_sep List<Double> float4 concode_elem_sep FxSampler2DCommon sampler2D concode_elem_sep Stri... | void function ( String arg0 ) { this . sid = arg0 ; } |
17,403 | specifies the maximum allowed number of detections and returns builder object . concode_field_sep int compileFlags concode_elem_sep boolean ignoreCase concode_elem_sep MatchSuppressor suppressor concode_elem_sep String format concode_elem_sep Pattern pattern concode_elem_sep int maximum concode_elem_sep AbstractViolati... | Builder function ( int arg0 ) { maximum = arg0 ; return this ; } |
17,404 | returns the given property concode_field_sep int DEFAULT_WRITE_BATCH_SIZE concode_elem_sep boolean enabled concode_elem_sep Object implementation concode_elem_sep String className concode_elem_sep MapStoreConfigReadOnly readOnly concode_elem_sep String factoryClassName concode_elem_sep int writeBatchSize concode_elem_s... | String function ( String arg0 ) { return properties . getProperty ( arg0 ) ; } |
17,405 | returns the kaleo transition with the primary key . concode_field_sep ServiceTracker<KaleoTransitionLocalService,KaleoTransitionLocalService> _serviceTracker concode_field_sep void deleteCompanyKaleoTransitions concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm... | com . liferay . portal . workflow . kaleo . model . KaleoTransition function ( long arg0 ) { return getService ( ) . getKaleoTransition ( arg0 ) ; } |
17,406 | returns the font service provider . defaults to using filesystemfontprovider . concode_field_sep FontProvider fontProvider concode_elem_sep FontProvider INSTANCE concode_elem_sep CFFCIDFont cidFallbackFont concode_elem_sep Map<String,List<String>> substitutes concode_elem_sep TrueTypeFont ttfFallbackFont concode_field_... | FontProvider function ( ) { if ( fontProvider == null ) { fontProvider = DefaultFontProvider . INSTANCE ; } return fontProvider ; } |
17,407 | atomically adds a delta to an element , and gets the new value . concode_field_sep AtomicShortArray backingArray concode_elem_sep int length concode_elem_sep long serialVersionUID concode_elem_sep int backingArraySize concode_field_sep byte getAndIncrement concode_elem_sep byte unpackEven concode_elem_sep void set conc... | byte function ( int arg0 , byte arg1 ) { return addAndGet ( arg0 , arg1 , false ) ; } |
17,408 | gives the alert timings for all the windows . note : to get the alert timings of a particular window , use the corresponding getwindowalerttimings method . concode_field_sep Map<String,List<DateTime>> alertTimings concode_field_sep List<DateTime> getDueWindowAlertTimings concode_elem_sep List<DateTime> getLateWindowAle... | Map < String , List < DateTime >> function ( ) { return alertTimings ; } |
17,409 | sets the value of the value 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... | void function ( String arg0 ) { this . value = arg0 ; } |
17,410 | generate random integer value . concode_field_sep PlaceHolder placeHolder concode_field_sep T enumProperty concode_elem_sep T enumProperty concode_elem_sep int intProperty concode_elem_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep String property ... | int function ( ) { return ThreadLocalRandom . current ( ) . nextInt ( ) ; } |
17,411 | non-android accessor . concode_field_sep int memoryClass concode_elem_sep ActivityManager.MemoryInfo memoryInfo concode_elem_sep List<ActivityManager.RunningServiceInfo> services concode_elem_sep String backgroundPackage concode_elem_sep List<ActivityManager.RunningTaskInfo> tasks concode_elem_sep List<ActivityManager.... | void function ( List < ActivityManager . RunningAppProcessInfo > arg0 ) { this . processes . clear ( ) ; this . processes . addAll ( arg0 ) ; } |
17,412 | updates the checksum with the int bval . concode_field_sep int[] crc_table concode_elem_sep int crc concode_field_sep int[] make_crc_table concode_elem_sep long getValue concode_elem_sep void reset | void function ( int arg0 ) { int loc0 = ~ crc ; loc0 = crc_table [ ( loc0 ^ arg0 ) & 0xff ] ^ ( loc0 >>> 8 ) ; crc = ~ loc0 ; } |
17,413 | adds an indexrequest to the list of actions to execute . follows the same behavior of indexrequest for example , if no id is provided , one will be generated , or usage of the create flag . concode_field_sep BulkRequestHandler bulkRequestHandler concode_elem_sep int concurrentRequests concode_elem_sep AtomicLong execut... | BulkProcessor function ( IndexRequest arg0 ) { return add ( ( ActionRequest < ? > ) arg0 ) ; } |
17,414 | no-op concode_field_sep T hazelcastRegion concode_elem_sep RegionCache cache concode_elem_sep ILogger LOG concode_elem_sep Comparator<Object> versionComparator concode_field_sep void unlockRegion concode_elem_sep void removeAll concode_elem_sep void evictAll concode_elem_sep Object get concode_elem_sep boolean putFromL... | SoftLock function ( ) { return null ; } |
17,415 | it loads a serialized taxonomy in . dat format and serializes it into a much more readable xml format . concode_field_sep Map<String,List<List<String>>> lemma_ExtendedAssocWords concode_elem_sep TaxonomySerializer taxo concode_elem_sep ParserChunker2MatcherProcessor sm concode_elem_sep Logger LOG concode_field_sep void... | void function ( ) { sm . close ( ) ; } |
17,416 | stores received data . the source data is not cloned , just the array reference is remembered into the buffer field . concode_field_sep byte[] buffer concode_field_sep int placeTo | void function ( byte [ ] arg0 ) { if ( buffer != null ) { throw new AlertException ( AlertProtocol . INTERNAL_ERROR , new SSLException ( "srini_string" ) ) ; } buffer = arg0 ; } |
17,417 | creates fullident for given type node . concode_field_sep int BASE_8 concode_elem_sep int BASE_16 concode_elem_sep int BASE_10 concode_field_sep double parseDouble concode_elem_sep int parseInt concode_elem_sep boolean isElse concode_elem_sep double parseFloat concode_elem_sep List<String> getTypeParameterNames concode... | FullIdent function ( DetailAST arg0 ) { final DetailAST loc0 = arg0 . findFirstToken ( TokenTypes . ARRAY_DECLARATOR ) ; return createFullTypeNoArrays ( loc0 == null ? arg0 : loc0 ) ; } |
17,418 | get the percentage of random agents . concode_field_sep int agentsNumber concode_elem_sep int memorySize concode_elem_sep int overcrowdingThreshold concode_elem_sep int strategiesNumber concode_elem_sep int percentSmart concode_elem_sep int percentRand concode_elem_sep String agentType concode_elem_sep int percentAvg c... | int function ( ) { assert ( percentRand >= 0 && percentRand <= 100 ) ; return percentRand ; } |
17,419 | implements java.io.closeable . concode_field_sep byte[] readBuffer concode_elem_sep long bytesRead concode_elem_sep int readBufferBlocks concode_elem_sep InputStream readStream concode_elem_sep int compressionType concode_field_sep int getReadBufferBlocks concode_elem_sep void readBlock concode_elem_sep void readBlocks... | void function ( ) { if ( readStream == null ) { return ; } try { readStream . close ( ) ; } finally { readStream = null ; } } |
17,420 | return filltozero behaviour truth value concode_field_sep Integer xAxis concode_elem_sep List<Object> data concode_elem_sep String color concode_elem_sep Boolean shadow concode_elem_sep String fillAxis concode_elem_sep Boolean show concode_elem_sep String fillToValue concode_elem_sep Integer fillAlpha concode_elem_sep ... | Boolean function ( ) { return fillToZero ; } |
17,421 | sim . concode_field_sep String w2source concode_elem_sep Double sim concode_elem_sep String w1source concode_elem_sep String w1 concode_elem_sep String w2 concode_field_sep String w2source concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String w1source concode_elem_sep String w1 concode_e... | Double function ( ) { return sim ; } |
17,422 | this will redirect us to the job posting page when user lick `` post job '' menu item in main menu concode_field_sep EmployerService employerService concode_field_sep String saveJob concode_elem_sep ApplyRequest createApplyRequest concode_elem_sep String saveRegistration concode_elem_sep Employer createEmployee concode... | String function ( ) { return "srini_string" ; } |
17,423 | returns the value of the metric . concode_field_sep String name concode_elem_sep T value concode_elem_sep Date timestamp concode_field_sep String getName concode_elem_sep Metric<S> set concode_elem_sep Date getTimestamp concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Metric<Long> incremen... | T function ( ) { return this . value ; } |
17,424 | get tags concode_field_sep String name concode_elem_sep List<String> photoUrls concode_elem_sep List<Tag> tags concode_elem_sep Category category concode_elem_sep Long id concode_elem_sep String value concode_elem_sep StatusEnum status concode_field_sep void setName concode_elem_sep Pet addTagsItem concode_elem_sep Str... | List < Tag > function ( ) { return tags ; } |
17,425 | the state the channel entered . concode_field_sep Date date concode_elem_sep long serialVersionUID concode_elem_sep ChannelState state concode_field_sep Date getDate concode_elem_sep String toString | ChannelState function ( ) { return state ; } |
17,426 | returns the n-th word in this sequence concode_field_sep WordSequence EMPTY concode_elem_sep int hashCode concode_elem_sep Word[] words concode_elem_sep Comparator<WordSequence> OLDEST_COMPARATOR concode_field_sep WordSequence addWord concode_elem_sep int compare concode_elem_sep void check concode_elem_sep WordSequenc... | Word function ( int arg0 ) { assert arg0 < words . length ; return words [ arg0 ] ; } |
17,427 | returns the abbreviated name . the length of the abbreviated name is usually less than or equal to the full name . concode_field_sep String DESCRIPTION_TEXT concode_elem_sep String fullName_ concode_elem_sep String ICON_COLOR_16x16 concode_elem_sep String iconColor16Name_ concode_elem_sep Hashtable values_ concode_elem... | String function ( ) { return name_ ; } |
17,428 | helper method - loads a testmodel from the given filename . concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep ExecutionFlow loadExecutionFlowFromResource concode_elem_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory | Statechart function ( String arg0 ) { return AbstractTestModelsUtil . loadStatechart ( URI . createPlatformPluginURI ( arg0 , true ) ) ; } |
17,429 | define el valor de la propiedad unidadtiempo . concode_field_sep BigDecimal total concode_elem_sep BigDecimal plazo concode_elem_sep String formaPago concode_elem_sep String unidadTiempo concode_elem_sep List<Pagos.Pago> pago concode_field_sep void setTotal concode_elem_sep void setPlazo concode_elem_sep String getForm... | void function ( String arg0 ) { this . unidadTiempo = arg0 ; } |
17,430 | sets extra infos for this datapoint . concode_field_sep boolean readable concode_elem_sep boolean virtual concode_elem_sep Object defaultValue concode_elem_sep Number maxValue concode_elem_sep HmChannel channel concode_elem_sep String description concode_elem_sep boolean readOnly concode_elem_sep HmValueType type conco... | void function ( String arg0 ) { this . info = arg0 ; } |
17,431 | get properties of this iterator , as a bit-significant integer . concode_field_sep EmptyIterator theInstance concode_field_sep Item next concode_elem_sep CharSequence getStringValue concode_elem_sep SequenceIterator getReverseIterator concode_elem_sep GroundedValue materialize concode_elem_sep boolean moveNext concode_... | int function ( ) { return GROUNDED | LAST_POSITION_FINDER | LOOKAHEAD ; } |
17,432 | enforce lifting of embargo by turning read access to bitstreams in this item back on . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( Context arg0 , Item arg1 ) { ContentServiceFactory . getInstance ( ) . getItemService ( ) . inheritCollectionDefaultPolicies ( arg0 , arg1 , arg1 . getOwningCollection ( ) ) ; } |
17,433 | setter method concode_field_sep String departmentName concode_elem_sep String holidayID concode_elem_sep int departmentID concode_elem_sep ArrayList displayDetails concode_elem_sep long serialVersionUID concode_elem_sep String status concode_elem_sep String holidayDate concode_elem_sep ArrayList departmentDetails conco... | void function ( String arg0 ) { this . departmentName = arg0 ; } |
17,434 | gets a vector of attribute values of a particular attribute name . concode_field_sep MediaField m concode_elem_sep Vector av concode_elem_sep ConnectionField c concode_field_sep ConnectionField getConnection concode_elem_sep MediaField getMedia concode_elem_sep AttributeField getAttribute concode_elem_sep MediaDescript... | Vector function ( String arg0 ) { Vector loc0 = new Vector ( av . size ( ) ) ; for ( int loc1 = 0 ; loc1 < av . size ( ) ; loc1 ++ ) { AttributeField loc2 = ( AttributeField ) av . elementAt ( loc1 ) ; if ( loc2 . getAttributeName ( ) . equals ( arg0 ) ) loc0 . addElement ( loc2 ) ; } return loc0 ; } |
17,435 | test that compressedinputstream does not block if there 's an exception while reading stream concode_field_sep PlaceHolder placeHolder concode_field_sep void testCompressedRead concode_elem_sep void testTruncatedRead concode_elem_sep void testCompressedReadWith | void function ( ) { testCompressedReadWith ( new long [ ] { 1L , 122L , 123L , 124L , 456L } , false , true ) ; } |
17,436 | starts a new thread that listens on the configured port . this method is non-blocking . concode_field_sep int backlog concode_elem_sep int port concode_elem_sep ServerThread serverThread concode_elem_sep ServerSapListener connectionListener concode_elem_sep InetAddress bindAddr concode_elem_sep ConnectionSettings setti... | void function ( ) { serverThread = new ServerThread ( serverSocketFactory . createServerSocket ( port , backlog , bindAddr ) , settings , maxConnections , connectionListener ) ; serverThread . start ( ) ; } |
17,437 | returns an index for which #valueat would return thespecified key , or a negative number if no keys map to the specified value . beware that this is a linear search , unlike lookups by key , and that multiple keys can map to the same value and this will find only one of them . note also that unlike most collections ' i... | int function ( E arg0 ) { if ( mGarbage ) { gc ( ) ; } for ( int loc0 = 0 ; loc0 < mSize ; loc0 ++ ) if ( mValues [ loc0 ] == arg0 ) return loc0 ; return - 1 ; } |
17,438 | specifies the intersection position , which should be a position computed from the intersection point . concode_field_sep Position intersectionPosition concode_elem_sep boolean isTangent concode_elem_sep Vec4 intersectionPoint concode_elem_sep Object object concode_field_sep Object getObject concode_elem_sep Vec4 getIn... | void function ( Position arg0 ) { this . intersectionPosition = arg0 ; } |
17,439 | sets the value of the formatting property . concode_field_sep CTBoolean data concode_elem_sep CTBoolean selection concode_elem_sep CTBoolean userInterface concode_elem_sep CTBoolean chartObject concode_elem_sep CTBoolean formatting concode_field_sep CTBoolean getSelection concode_elem_sep void setSelection concode_elem... | void function ( CTBoolean arg0 ) { this . formatting = arg0 ; } |
17,440 | method to add images with key . this is handy for example in cases in which it is not possible to retrieve the images from within the bundle . ex . eclipse plugin environment . concode_field_sep String DOWN concode_elem_sep String IMAGE_PAN concode_elem_sep String UNCHECKED concode_elem_sep String REMOVE_LAYER concode_... | void function ( String arg0 , Image arg1 ) { imageMap . put ( arg0 , arg1 ) ; } |
17,441 | sets the chart editor factory . concode_field_sep ChartEditorFactory factory concode_field_sep ChartEditor getChartEditor concode_elem_sep ChartEditorFactory getChartEditorFactory | void function ( ChartEditorFactory arg0 ) { ParamChecks . nullNotPermitted ( arg0 , "srini_string" ) ; factory = arg0 ; } |
17,442 | converts this builder to an immutable media type object . concode_field_sep String subtype concode_elem_sep String type concode_elem_sep Map<String,String> parameters concode_field_sep void setTopLevelType concode_elem_sep void setSubType concode_elem_sep MediaTypeBuilder RemoveParameter concode_elem_sep String getTopL... | MediaType function ( ) { return new MediaType ( this . type , this . subtype , this . parameters ) ; } |
17,443 | returns whether monoisotopic mass values shall be used in contrast to average mass values . concode_field_sep Boolean lowMemoryMode concode_elem_sep int MAX_MS_AMANDA_FASTA_FILE_NAME_LENGTH concode_elem_sep Integer maxRank concode_elem_sep long serialVersionUID concode_elem_sep boolean generateDecoy concode_elem_sep St... | boolean function ( ) { return monoisotopic ; } |
17,444 | the average number primary shards across the indices concode_field_sep int minIndexShards concode_elem_sep String AVG concode_elem_sep String MAX concode_elem_sep SegmentsStats segments concode_elem_sep int primaries concode_elem_sep int maxIndexShards concode_elem_sep int total concode_elem_sep String REPLICATION conc... | double function ( ) { if ( this . indices == 0 ) { return - 1 ; } return ( ( double ) this . primaries ) / this . indices ; } |
17,445 | gets the userentity of this bookmarkentity . concode_field_sep UserEntity userEntity concode_elem_sep BookmarkEntityPK bookmarkEntityPK concode_elem_sep String sdesc concode_elem_sep String uri concode_elem_sep Date updated concode_elem_sep String ldesc concode_field_sep BookmarkEntityPK getBookmarkEntityPK concode_ele... | UserEntity function ( ) { return this . userEntity ; } |
17,446 | returns the name of the algorithm used concode_field_sep Provider provider concode_elem_sep KeyFactorySpi keyFacSpi concode_elem_sep String algorithm concode_field_sep Key translateKey concode_elem_sep KeySpec getKeySpec concode_elem_sep PrivateKey generatePrivate concode_elem_sep Provider getProvider concode_elem_sep ... | String function ( ) { return algorithm ; } |
17,447 | return whether or not this has been removed from the tree . concode_field_sep boolean removed concode_field_sep Object getAdapter concode_elem_sep Object[] getChildren concode_elem_sep Object getParent concode_elem_sep String getLabel concode_elem_sep String toString concode_elem_sep ImageDescriptor getImageDescriptor ... | boolean function ( ) { return removed ; } |
17,448 | setter method for subcategoryname concode_field_sep String description concode_elem_sep String categoryName concode_elem_sep String subCategoryName concode_elem_sep String userName concode_elem_sep List displayDetails concode_elem_sep long serialVersionUID concode_elem_sep int subCategoryId concode_elem_sep List search... | void function ( String arg0 ) { this . subCategoryName = arg0 ; } |
17,449 | sets the value of the host property . concode_field_sep AnswerFileCreateSpec configSpec concode_elem_sep ManagedObjectReference host concode_elem_sep ManagedObjectReference _this concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep AnswerFileCreateSpec getConfigSpec concode_el... | void function ( ManagedObjectReference arg0 ) { this . host = arg0 ; } |
17,450 | if the selected mapillaryimage is part of a mapillarysequence then the previous visible mapillaryimage is selected . in case there is none , does nothing . concode_field_sep Set<MapillaryAbstractImage> multiSelectedImages concode_elem_sep Set<MapillaryAbstractImage> images concode_elem_sep MapillaryAbstractImage highli... | void function ( ) { selectPrevious ( Main . pref . getBoolean ( "srini_string" , true ) ) ; } |
17,451 | determines whether or not this request should be asynchronous . this is false by default . concode_field_sep long waitBeforeTimeout concode_elem_sep Predicate<? extends Event> waitAfter concode_elem_sep Action activeAction concode_elem_sep boolean isAsync concode_elem_sep Consumer<Exception> generalExceptionHandler con... | RequestBuilder function ( boolean arg0 ) { this . isAsync = arg0 ; return this ; } |
17,452 | creates an empty scala map . concode_field_sep PlaceHolder placeHolder concode_field_sep T[] asArray concode_elem_sep scala.collection.Seq<T> emptySeq concode_elem_sep RuntimeException noMatch concode_elem_sep scala.reflect.ClassTag<C> classTag concode_elem_sep java.util.Map<K,V> asJava concode_elem_sep java.util.List<... | scala . collection . immutable . Map < A , B > function ( ) { return new scala . collection . immutable . HashMap < A , B > ( ) ; } |
17,453 | get the vaadin form that contains the renderer concode_field_sep com.vaadin.ui.Form theForm concode_elem_sep Class<? extends FormType> formType concode_field_sep String getPropertyLabel concode_elem_sep Class<? extends FormType> getFormType concode_elem_sep String getFieldValue concode_elem_sep Field getPropertyField c... | com . vaadin . ui . Form function ( ) { return theForm ; } |
17,454 | return trace object without validating concode_field_sep IdGenerator idGenerator concode_elem_sep Binder<Trace> threadLocalBinder concode_elem_sep StorageFactory storageFactory concode_elem_sep TraceContext traceContext concode_elem_sep Logger logger concode_elem_sep Sampler sampler concode_field_sep void bind concode_... | Trace function ( ) { final Trace loc0 = threadLocalBinder . get ( ) ; if ( loc0 == null ) { return null ; } return loc0 ; } |
17,455 | event handler for the center 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 isRe... | void function ( ValueChangeEvent arg0 ) { setRenderCenter ( ( ( Boolean ) arg0 . getNewValue ( ) ) . booleanValue ( ) ) ; } |
17,456 | build a mockmvc using the given , fully initialized , i.e.refreshed , webapplicationcontext . the dispatcherservlet will use the context to discover spring mvc infrastructure and application controllers in it . the context must have been configured with a servletcontext . concode_field_sep PlaceHolder placeHolder conco... | DefaultMockMvcBuilder function ( WebApplicationContext arg0 ) { return new DefaultMockMvcBuilder ( arg0 ) ; } |
17,457 | gets the value of the validfrom property . concode_field_sep DataQualityTypeList dataQualityType concode_elem_sep List<Preferences.Preference> preference concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep XMLGregorianCalendar validFrom concode_elem_sep String type concode_elem_sep String value concode_... | XMLGregorianCalendar function ( ) { return validFrom ; } |
17,458 | requests a `` dangerous '' permission for the application at runtime . this is a helper method alternative to cordovainterface.requestpermission that does not require the project to be built with cordova-android 5.0.0 + concode_field_sep String LOG_TAG concode_field_sep boolean hasPermission concode_elem_sep void deliv... | void function ( CordovaPlugin arg0 , int arg1 , String arg2 ) { PermissionHelper . requestPermissions ( arg0 , arg1 , new String [ ] { arg2 } ) ; } |
17,459 | creates a socket and connects it to the specified remote host at the specified remote port . this socket is configured using the socket options established for this factory . concode_field_sep HsqlSocketFactory sslImpl concode_elem_sep HsqlSocketFactory plainImpl concode_field_sep HsqlSocketFactory getPlainImpl concode... | Socket function ( String arg0 , int arg1 ) { return new Socket ( arg0 , arg1 ) ; } |
17,460 | gets the value of the routingnumber property . concode_field_sep String routingNumber concode_elem_sep Boolean isAccValidEasypay concode_elem_sep Boolean isAccValidPayment concode_elem_sep long serialVersionUID concode_elem_sep String accountNumber concode_field_sep void setIsAccValidEasypay concode_elem_sep Boolean is... | String function ( ) { return routingNumber ; } |
17,461 | the content : / / style url for a given row , identified by its id . concode_field_sep String ITEM_TYPE concode_elem_sep Uri CONTENT_URI_NO_NOTIFICATION concode_elem_sep int ITEM_TYPE_LIVE_FOLDER concode_elem_sep String ICON concode_elem_sep String SPANY concode_elem_sep int ITEM_TYPE_SHORTCUT concode_elem_sep Uri CONT... | Uri function ( long arg0 , boolean arg1 ) { return Uri . parse ( "srini_string" + LauncherProvider . AUTHORITY + "srini_string" + LauncherProvider . TABLE_FAVORITES + "srini_string" + arg0 + "srini_string" + LauncherProvider . PARAMETER_NOTIFY + "srini_string" + arg1 ) ; } |
17,462 | get the longvalue . concode_field_sep int headerParam concode_elem_sep String name concode_elem_sep Boolean booleanValue concode_elem_sep Integer integerValue concode_elem_sep Short shortValue concode_elem_sep long serialVersionUID concode_elem_sep Double doubleValue concode_elem_sep int id concode_elem_sep int queryPa... | Long function ( ) { return longValue ; } |
17,463 | returns the so bao cao of this bao cao d l i. concode_field_sep BaoCaoDLI _baoCaoDLI concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_... | java . lang . String function ( ) { return _baoCaoDLI . getSoBaoCao ( ) ; } |
17,464 | inserts the specified element into the underlying list . the element is inserted before the next element that would be returned by #next , if any , and after the next element that would be returned by #previous , if any . this feature is only supported if the underlying list 's list #listiterator method returns an impl... | void function ( final E arg0 ) { iterator . add ( arg0 ) ; } |
17,465 | returns whether the given property display name is allowed for the given class . it only checks for this certain class and no derivative classes . if you also want to check for derivative classes , use isallowed object , string . concode_field_sep Hashtable m_Ignored concode_elem_sep Hashtable m_Allowed concode_field_s... | boolean function ( Class arg0 , String arg1 ) { boolean loc0 ; HashSet loc1 ; loc0 = true ; loc1 = ( HashSet ) m_Allowed . get ( arg0 ) ; if ( loc1 != null ) loc0 = loc1 . contains ( arg1 ) ; return loc0 ; } |
17,466 | see widgetinfo #shouldsetreasonablesize . concode_field_sep boolean m_shouldSetSize concode_elem_sep Image m_image concode_field_sep void dispose concode_elem_sep Image getImage concode_elem_sep void setImage | boolean function ( ) { return m_shouldSetSize ; } |
17,467 | isreadermtomaware concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DeleteRouteResponseType localDeleteRouteResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writeQName concode_elem_sep void... | boolean function ( javax . xml . stream . XMLStreamReader arg0 ) { boolean loc0 = false ; try { loc0 = java . lang . Boolean . TRUE . equals ( arg0 . getProperty ( org . apache . axiom . om . OMConstants . IS_DATA_HANDLERS_AWARE ) ) ; } catch ( java . lang . IllegalArgumentException loc1 ) { loc0 = false ; } return loc... |
17,468 | returns the number of virtual hosts . concode_field_sep VirtualHostLocalService _virtualHostLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.portal.kernel.model.VirtualHost> getVirtualHosts concode_elem_sep void setWrappedService concode_elem_sep com.l... | int function ( ) { return _virtualHostLocalService . getVirtualHostsCount ( ) ; } |
17,469 | generates a number in 0 , 2 ^ numbits with an exponential distribution . the floor of the log2 of the absolute value of the result is chosen uniformly at random in 0 , numbits , and then the result is chosen from those possibilities uniformly at random . zero is treated as having log2 == 0 . concode_field_sep int ARRAY... | double function ( int arg0 ) { double loc0 = RANDOM_SOURCE . nextDouble ( ) ; loc0 = Math . scalb ( loc0 , RANDOM_SOURCE . nextInt ( arg0 + 1 ) ) ; return RANDOM_SOURCE . nextBoolean ( ) ? loc0 : - loc0 ; } |
17,470 | gets the reg ex . concode_field_sep boolean visibility concode_elem_sep boolean editable concode_elem_sep boolean custom concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep String label concode_elem_sep Collection<VisibilityCondition> visibilityConditions concode_elem_sep Collect... | String function ( ) { return regEx ; } |
17,471 | setter method concode_field_sep Integer kind concode_elem_sep Integer customerId concode_elem_sep Integer pin1 concode_elem_sep Integer puk2 concode_elem_sep Integer pin2 concode_elem_sep Integer sdpId concode_elem_sep Integer simStatus concode_elem_sep long serialVersionUID concode_elem_sep String imsi concode_elem_se... | void function ( Integer arg0 ) { this . pin1 = arg0 ; } |
17,472 | returns the latitude . concode_field_sep Integer altitude concode_elem_sep Double latitude concode_elem_sep String thingUid concode_elem_sep Integer interval concode_elem_sep String geolocation concode_elem_sep Double longitude concode_field_sep Integer getInterval concode_elem_sep void parseGeoLocation concode_elem_se... | Double function ( ) { return latitude ; } |
17,473 | forms a temporary chain from the list of delegate filters supplied #setfilters and executes them in order . each filter delegates to the next one in the list , achieving the normal behavior of a filterchain , despite the fact that this is a filter . concode_field_sep List<? extends Filter> filters concode_elem_sep Filt... | void function ( ServletRequest arg0 , ServletResponse arg1 , FilterChain arg2 ) { new VirtualFilterChain ( arg2 , this . filters ) . doFilter ( arg0 , arg1 ) ; } |
17,474 | sets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep String getUserName | void function ( String arg0 ) { this . userName = arg0 ; } |
17,475 | returns true if this route uses modern tls . concode_field_sep Proxy proxy concode_elem_sep Address address concode_elem_sep boolean modernTls concode_elem_sep InetSocketAddress inetSocketAddress concode_field_sep Route flipTlsMode concode_elem_sep Proxy getProxy concode_elem_sep InetSocketAddress getSocketAddress conc... | boolean function ( ) { return modernTls ; } |
17,476 | calculate dividend yeld for the stock wth symbol at price indicated . concode_field_sep PlaceHolder placeHolder concode_field_sep void tradeBuy concode_elem_sep BigDecimal peRatioFor concode_elem_sep void tradeSell concode_elem_sep BigDecimal stockPrice concode_elem_sep BigDecimal stockPrice concode_elem_sep BigDecimal... | BigDecimal function ( String arg0 , double arg1 ) { return dividendYeldFor ( arg0 , new BigDecimal ( arg1 , Constants . MC ) ) ; } |
17,477 | returns the number of rows that match the dynamic query . concode_field_sep keHoachVeSinhXaNewLocalService _service concode_field_sep vn.dtt.sol.ns.vesinhmoitruong.dao.model.keHoachVeSinhXaNew fetchkeHoachVeSinhXaNew concode_elem_sep java.util.List<vn.dtt.sol.ns.vesinhmoitruong.dao.model.keHoachVeSinhXaNew> getkeHoachV... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return getService ( ) . dynamicQueryCount ( arg0 , arg1 ) ; } |
17,478 | returns the user object identified by the name argument . concode_field_sep HashMappedList userList concode_elem_sep GranteeManager granteeManager concode_elem_sep User sysUser concode_field_sep HsqlArrayList listVisibleUsers concode_elem_sep void removeSchemaReference concode_elem_sep void dropUser concode_elem_sep Us... | User function ( String arg0 ) { User loc0 = ( User ) userList . get ( arg0 ) ; if ( loc0 == null ) { throw Trace . error ( Trace . USER_NOT_FOUND , arg0 ) ; } return loc0 ; } |
17,479 | get the default collation . return null if no default collation has been defined concode_field_sep NamePool namePool concode_elem_sep StructuredQName[] errorVariables concode_elem_sep NamespaceResolver namespaceResolver concode_elem_sep StyleElement element concode_field_sep StructuredQName getStructuredQName concode_e... | String function ( ) { return element . getDefaultCollationName ( ) ; } |
17,480 | create a sax contenthandler that writes events to the given stax xmleventwriter . concode_field_sep boolean jaxp14Available concode_field_sep XMLReader createXMLReader concode_elem_sep XMLReader createXMLReader concode_elem_sep boolean isStaxSource concode_elem_sep boolean isStaxSource concode_elem_sep boolean isStaxRe... | ContentHandler function ( XMLEventWriter arg0 ) { return new StaxEventContentHandler ( arg0 ) ; } |
17,481 | modified date for all content . may be null concode_field_sep Path path concode_elem_sep String basePath concode_elem_sep Long maxAgeSeconds concode_elem_sep Date modifiedDate concode_elem_sep String host concode_elem_sep io.milton.http.SecurityManager securityManager concode_elem_sep Logger log concode_elem_sep InputS... | Date function ( ) { return modifiedDate ; } |
17,482 | returns number of days from today until next alarm concode_field_sep String[] ALARM_QUERY_COLUMNS concode_elem_sep String ALERT concode_elem_sep int mDays concode_elem_sep Uri CONTENT_URI concode_elem_sep boolean vibrate concode_elem_sep String MESSAGE concode_elem_sep int ALARM_MINUTES_INDEX concode_elem_sep int ALARM... | int function ( Calendar arg0 ) { if ( mDays == 0 ) { return - 1 ; } int loc0 = ( arg0 . get ( Calendar . DAY_OF_WEEK ) + 5 ) % 7 ; int loc1 = 0 ; int loc2 = 0 ; for ( ; loc2 < 7 ; loc2 ++ ) { loc1 = ( loc0 + loc2 ) % 7 ; if ( isSet ( loc1 ) ) { break ; } } return loc2 ; } |
17,483 | helper method - loads a testmodel from the testmodel directory concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory concode_elem_sep Statechart loadStatechart concode_elem_sep Statec... | ExecutionFlow function ( String arg0 ) { Statechart loc0 = loadStatechartFromResource ( arg0 ) ; final ExecutionFlow loc1 = sequencer . transform ( loc0 ) ; return loc1 ; } |
17,484 | equivalent to property name , null concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble concode_elem_sep double doubleProperty concode_elem_sep void setProperty concode_elem_sep void ... | String function ( String arg0 ) { return property ( arg0 , null ) ; } |
17,485 | set bytes value to bytes concode_field_sep byte[] bytes concode_field_sep byte[] getBytes | void function ( byte [ ] arg0 ) { this . bytes = arg0 ; } |
17,486 | generates a pseudo random string using the allowed characters . concode_field_sep String ALLOWED_CHARS concode_elem_sep int CODESIZE concode_elem_sep int NUMBER_OF_CODEPOINTS concode_elem_sep Pattern CODE_PATTERN concode_elem_sep String letters concode_field_sep boolean isValidCode | String function ( int arg0 ) { SecureRandom loc0 = new SecureRandom ( ) ; char [ ] loc1 = new char [ arg0 ] ; loc1 [ 0 ] = letters . charAt ( loc0 . nextInt ( letters . length ( ) ) ) ; for ( int loc2 = 1 ; loc2 < arg0 ; ++ loc2 ) { loc1 [ loc2 ] = ALLOWED_CHARS . charAt ( loc0 . nextInt ( NUMBER_OF_CODEPOINTS ) ) ; } ... |
17,487 | put float preferences concode_field_sep String SP_NAME concode_elem_sep String SP_DEF_STRING_VALUE concode_field_sep Map<String,?> getAll concode_elem_sep boolean putInt concode_elem_sep void putString concode_elem_sep SharedPreferences getSp concode_elem_sep void clear concode_elem_sep String getString concode_elem_se... | boolean function ( Context arg0 , String arg1 , float arg2 ) { SharedPreferences loc0 = getSp ( arg0 ) ; SharedPreferences . Editor loc1 = loc0 . edit ( ) ; loc1 . putFloat ( arg1 , arg2 ) ; return loc1 . commit ( ) ; } |
17,488 | returns true if there 's another route to attempt . every address has at least one route . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> proxySelectorProxies concode_elem_se... | boolean function ( ) { return hasNextTlsMode ( ) || hasNextInetSocketAddress ( ) || hasNextProxy ( ) || hasNextPostponed ( ) ; } |
17,489 | update response concode_field_sep CentralConfigService centralConfigService concode_field_sep void addNewReverseProxy concode_elem_sep void updateRepoReverseProxies concode_elem_sep ReverseProxyDescriptor modelToDescriptor concode_elem_sep void execute concode_elem_sep Set<RepoBaseDescriptor> getAllRepos | void function ( RestResponse arg0 , ReverseProxyDescriptor arg1 ) { arg0 . info ( "srini_string" + arg1 . getKey ( ) + "srini_string" ) ; arg0 . responseCode ( HttpServletResponse . SC_CREATED ) ; } |
17,490 | true if the database was n't updated or a commit or rollback was performed . concode_field_sep boolean dirty concode_elem_sep Connection connection concode_elem_sep boolean resolved concode_field_sep void rollback concode_elem_sep void commit concode_elem_sep DBPreparedStatement run concode_elem_sep PreparedStatement p... | boolean function ( ) { if ( dirty ) { return resolved ; } else { return true ; } } |
17,491 | prepares the settings by gathering all elasticsearch system properties , optionally loading the configuration settings , and then replacing all property placeholders . if a terminal is provided and configuration settings are loaded , settings with a value of $ prompt.text or $ prompt.secret will result in a prompt for ... | Environment function ( Settings arg0 , Terminal arg1 ) { return prepareEnvironment ( arg0 , arg1 , Collections . emptyMap ( ) ) ; } |
17,492 | one of the following processes : launch terminate addtoloadbalancer alarmnotification azrebalance healthcheck replaceunhealthy scheduledactions concode_field_sep String processName concode_field_sep void setProcessName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ProcessType clone conc... | String function ( ) { return this . processName ; } |
17,493 | sets the value of the tutorials property . concode_field_sep Tlds tlds concode_elem_sep ResourceType templateRef concode_elem_sep Documents documents concode_elem_sep Tutorials tutorials concode_field_sep void setTemplateRef concode_elem_sep Tutorials getTutorials concode_elem_sep ResourceType getTemplateRef concode_el... | void function ( Tutorials arg0 ) { this . tutorials = arg0 ; } |
17,494 | the main method . concode_field_sep PlaceHolder placeHolder concode_field_sep String MD5 | void function ( String [ ] arg0 ) { System . out . println ( AbMd5 . MD5 ( "srini_string" ) . toLowerCase ( ) ) ; } |
17,495 | deletes the specified cookie . concode_field_sep PlaceHolder placeHolder concode_field_sep void setCookie concode_elem_sep void setCookie concode_elem_sep Cookie getCookie | void function ( HttpServletRequest arg0 , HttpServletResponse arg1 , Cookie arg2 ) { if ( arg2 != null ) { String loc0 = arg0 . getContextPath ( ) == null ? "srini_string" : arg0 . getContextPath ( ) ; if ( "srini_string" . equals ( loc0 ) ) { loc0 = "srini_string" ; } arg2 . setPath ( loc0 ) ; arg2 . setValue ( "srini... |
17,496 | return true if the given extension has a registered mime type . concode_field_sep MimeTypeMap sMimeTypeMap concode_field_sep String mimeTypeFromExtension concode_elem_sep boolean hasMimeType concode_elem_sep String getExtensionFromMimeType concode_elem_sep String getMimeTypeFromExtension concode_elem_sep String getFile... | boolean function ( String arg0 ) { return MimeUtils . hasExtension ( arg0 ) ; } |
17,497 | return true if a error message will be logged . concode_field_sep int LEVEL_WARN concode_elem_sep int level concode_elem_sep int LEVEL_FATAL concode_elem_sep String LEVEL_INFO_STR concode_elem_sep String LEVEL_TRACE_STR concode_elem_sep int LEVEL_TRACE concode_elem_sep int LEVEL_NONE concode_elem_sep int LEVEL_ERROR co... | boolean function ( ) { return this . level <= LEVEL_ERROR ; } |
17,498 | method that incorporates the shardid for the shard into a string that includes a ` p ' or ` r ' depending on whether the shard is a primary . concode_field_sep ImmutableOpenMap<String,DiskUsage> leastAvailableSpaceUsage concode_elem_sep ImmutableOpenMap<ShardRouting,String> routingToDataPath concode_elem_sep ClusterInf... | String function ( ShardRouting arg0 ) { return arg0 . shardId ( ) . toString ( ) + "srini_string" + ( arg0 . primary ( ) ? "srini_string" : "srini_string" ) + "srini_string" ; } |
17,499 | get the project for a specific file concode_field_sep String path concode_elem_sep int tabSize concode_elem_sep String description concode_elem_sep Set<Group> groups concode_field_sep boolean hasTabSizeSetting concode_elem_sep void setPath concode_elem_sep String getId concode_elem_sep void setDescription concode_elem_... | Project function ( File arg0 ) { Project loc0 = null ; try { loc0 = getProject ( RuntimeEnvironment . getInstance ( ) . getPathRelativeToSourceRoot ( arg0 , 0 ) ) ; } catch ( FileNotFoundException loc1 ) { } catch ( IOException loc1 ) { } return loc0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.