idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
8,800 | queries mediastore and returns a cursor with songs limited by the selection parameter . concode_field_sep String ALBUM_ARTIST concode_field_sep Cursor getAllUniquePlaylists concode_elem_sep Cursor getAllUniqueGenres concode_elem_sep Cursor getAllUniqueArtists concode_elem_sep Cursor getAllUniqueAlbums concode_elem_sep ... | Cursor function ( Context arg0 , String arg1 , String [ ] arg2 , String arg3 ) { ContentResolver loc0 = arg0 . getContentResolver ( ) ; Uri loc1 = MediaStore . Audio . Media . EXTERNAL_CONTENT_URI ; return loc0 . query ( loc1 , arg2 , arg1 , null , arg3 ) ; } |
8,801 | returns true if users musy provide a valid password in order to join the room . concode_field_sep boolean nonanonymous concode_elem_sep boolean moderated concode_elem_sep int occupantsCount concode_elem_sep boolean passwordProtected concode_elem_sep String description concode_elem_sep boolean persistent concode_elem_se... | boolean function ( ) { return passwordProtected ; } |
8,802 | gets the current generation stamp for legacy blocks concode_field_sep long generationStampV1Limit concode_elem_sep GenerationStamp generationStampV1 concode_elem_sep GenerationStamp generationStampV2 concode_elem_sep SequentialBlockIdGenerator blockIdGenerator concode_field_sep long getGenerationStampAtblockIdSwitch co... | long function ( ) { return generationStampV1 . getCurrentValue ( ) ; } |
8,803 | get the corresponding html tag . this is either one of the pre-defined html tags or the instance of the unknowntag with the element name . concode_field_sep boolean fictional concode_elem_sep HTML.Tag tag concode_elem_sep Element element concode_field_sep boolean isPreformatted concode_elem_sep boolean breaksFlow conco... | HTML . Tag function ( ) { return tag ; } |
8,804 | adds a header to this message . the header will be appended to the end of the list . concode_field_sep List<HeaderItem> headers concode_elem_sep List<NameValuePair> queryStringParams concode_elem_sep String charset concode_elem_sep HttpEntity bodyEntity concode_elem_sep List<NameValuePair> bodyParams concode_elem_sep H... | void function ( Header arg0 ) { if ( this . headers == null ) { this . headers = new ArrayList < HeaderItem > ( ) ; } this . headers . add ( new HeaderItem ( arg0 ) ) ; } |
8,805 | this method is used to create a new user . the collection of users is first checked for a duplicate name , and an exception will be thrown if a user of the same name already exists . concode_field_sep int INSERT concode_elem_sep int DELETE concode_elem_sep User uPublic concode_elem_sep Vector uUser concode_elem_sep int... | User function ( String arg0 , String arg1 , boolean arg2 ) { for ( int loc0 = 0 , loc1 = uUser . size ( ) ; loc0 < loc1 ; loc0 ++ ) { User loc2 = ( User ) uUser . elementAt ( loc0 ) ; if ( ( loc2 != null ) && loc2 . getName ( ) . equals ( arg0 ) ) { throw Trace . error ( Trace . USER_ALREADY_EXISTS , arg0 ) ; } } User ... |
8,806 | return the name of the default theme . concode_field_sep String defaultThemeName concode_elem_sep String ORIGINAL_DEFAULT_THEME_NAME concode_field_sep void setDefaultThemeName | String function ( ) { return this . defaultThemeName ; } |
8,807 | returns the http status code . concode_field_sep Response cacheResponse concode_elem_sep Request request concode_elem_sep Handshake handshake concode_elem_sep Headers.Builder headers concode_elem_sep Protocol protocol concode_elem_sep int code concode_elem_sep Response priorResponse concode_elem_sep int code concode_el... | int function ( ) { return code ; } |
8,808 | returns the scene graph root . this method is part of the wrapped api see aiwrapperprovider for details on wrappers . the built-in behavior is to return a aivector . concode_field_sep List<AiCamera> m_cameras concode_elem_sep List<AiMesh> m_meshes concode_elem_sep List<AiAnimation> m_animations concode_elem_sep List<Ai... | N function ( AiWrapperProvider < V3 , M4 , C , N , Q > arg0 ) { return ( N ) m_sceneRoot ; } |
8,809 | parse the location where in the world for the item . concode_field_sep JHTML mDocument concode_elem_sep DeprecatedEbayAuction deprecated concode_elem_sep TT T concode_elem_sep Record updateData concode_elem_sep StringBuffer mBuffer concode_elem_sep Map<String,String> microFormat concode_elem_sep Document mDocument2 con... | String function ( ) { String loc0 = StringTools . nullSafe ( mDocument . getNextContentAfterRegex ( T . s ( "srini_string" ) ) ) ; loc0 = loc0 . replace ( "srini_string" , "srini_string" ) ; loc0 = StringTools . decode ( loc0 , mDocument . getCharset ( ) ) ; return loc0 ; } |
8,810 | unsupported operation , throws an unsupportedoperationexception since this list is read-only . concode_field_sep String READ_ONLY_ERROR_MESSAGE concode_elem_sep XLogger LOGGER concode_elem_sep Map<ServiceReference,T> serviceMap concode_field_sep boolean add concode_elem_sep void add concode_elem_sep int compare concode... | void function ( ) { throw new UnsupportedOperationException ( READ_ONLY_ERROR_MESSAGE ) ; } |
8,811 | reads new input data into the buffer . call only with pos == end or end == -1 , depending on the desired outcome if the function throws . concode_field_sep Charset charset concode_elem_sep byte[] buf concode_elem_sep InputStream in concode_elem_sep int pos concode_elem_sep byte LF concode_elem_sep byte CR concode_elem_... | void function ( ) { int loc0 = in . read ( buf , 0 , buf . length ) ; if ( loc0 == - 1 ) { throw new EOFException ( ) ; } pos = 0 ; end = loc0 ; } |
8,812 | set if the errorpagefilter should be registered . set to false iferror page mappings should be handled via the servlet container and not spring boot . concode_field_sep Log logger concode_elem_sep boolean registerErrorPageFilter concode_field_sep SpringApplicationBuilder createSpringApplicationBuilder concode_elem_sep ... | void function ( boolean arg0 ) { this . registerErrorPageFilter = arg0 ; } |
8,813 | sets one sided or two sided printing based on the javax.print.attribute.standard.sides api concode_field_sep String orientation concode_elem_sep MediaSizeName mediaSizeName concode_elem_sep String mimeType concode_elem_sep URI uri concode_elem_sep Sides internalSides concode_elem_sep String mediaTray concode_elem_sep S... | void function ( String arg0 ) { this . sides = arg0 ; } |
8,814 | create an instance of metstype.structlink concode_field_sep PlaceHolder placeHolder concode_field_sep StructLinkType createStructLinkType concode_elem_sep FileType.FContent createFileTypeFContent concode_elem_sep BehaviorType createBehaviorType concode_elem_sep FileType.FLocat createFileTypeFLocat concode_elem_sep Mets... | MetsType . StructLink function ( ) { return new MetsType . StructLink ( ) ; } |
8,815 | piece comparison function for ordering pieces based on their availability . concode_field_sep TorrentByteStorage bucket concode_elem_sep boolean valid concode_elem_sep boolean seeder concode_elem_sep long offset concode_elem_sep ByteBuffer data concode_elem_sep Piece piece concode_elem_sep long length concode_elem_sep ... | int function ( Piece arg0 ) { if ( this . seen != arg0 . seen ) { return this . seen < arg0 . seen ? - 1 : 1 ; } return this . index == arg0 . index ? 0 : ( this . index < arg0 . index ? - 1 : 1 ) ; } |
8,816 | adds a connection event listener to the managedconnection instance . concode_field_sep Logger log concode_elem_sep MultipleManagedConnectionFactory1 mcf concode_elem_sep List<ConnectionEventListener> listeners concode_elem_sep Object connection concode_elem_sep PrintWriter logwriter concode_field_sep void associateConn... | void function ( ConnectionEventListener arg0 ) { log . trace ( "srini_string" ) ; if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } listeners . add ( arg0 ) ; } |
8,817 | locks a record so that it can only be updated or deleted by this client . if the specified record is already locked , the current thread gives up the cpu and consumes no cpu cycles until the record is unlocked . concode_field_sep Database database concode_elem_sep LockManager lockManager concode_field_sep String[] read... | void function ( int arg0 ) { lockManager . lock ( arg0 , this ) ; } |
8,818 | get the iproject containing the given eobject concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep boolean projectOpened concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean p... | IProject function ( EObject arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } |
8,819 | resolve node info for specified node . add node to hash circle if this is the first node invocation . concode_field_sep GridClientPredicate<UUID> backupFilter concode_elem_sep int DFLT_PARTITION_CNT concode_elem_sep GridClientPredicate<NodeInfo> primaryIdFilter concode_elem_sep int parts concode_elem_sep ConcurrentMap<... | NodeInfo function ( GridClientNode arg0 ) { UUID loc0 = arg0 . loc0 ( ) ; NodeInfo loc1 = addedNodes . get ( loc0 ) ; if ( loc1 != null ) return loc1 ; loc1 = new NodeInfo ( loc0 , hashIdRslvr == null ? loc0 : hashIdRslvr . getHashId ( arg0 ) ) ; addedNodes . put ( loc0 , loc1 ) ; nodeHash . addNode ( loc1 , 1 ) ; retu... |
8,820 | retrieve the property object that corresponds to the given key concode_field_sep boolean internal concode_elem_sep Map<String,Property> properties concode_elem_sep PropertyType propertyType concode_elem_sep ValueType valueType concode_elem_sep Property primaryProperty concode_elem_sep Property[] secondaryExtractPropert... | Property function ( String arg0 ) { return properties . get ( arg0 ) ; } |
8,821 | serializes a field of a provided container concode_field_sep Logger logger concode_elem_sep ClassMetadata<?,?> classMetadata concode_elem_sep Map<FieldMetadata<?,?>,TypeHandler> fieldHandlers concode_field_sep TypeHandler<?> getHandlerFor concode_elem_sep PersistedData serializeValue concode_elem_sep void deserializeOn... | PersistedData function ( FieldMetadata < ? , ? > arg0 , Object arg1 , SerializationContext arg2 ) { Object loc0 = arg0 . getValue ( arg1 ) ; if ( loc0 != null ) { TypeHandler loc1 = getHandlerFor ( arg0 ) ; if ( loc1 != null ) { return loc1 . serialize ( loc0 , arg2 ) ; } } return arg2 . createNull ( ) ; } |
8,822 | the increment to be applied when fetching the value . concode_field_sep int increment concode_elem_sep int initialValue concode_elem_sep IdSourceKey key concode_field_sep IdSourceKey getKey concode_elem_sep int getInitialValue concode_elem_sep String toString | int function ( ) { return increment ; } |
8,823 | this method returns an array of locale objects which is the list of locales for which collator objects exist . concode_field_sep int TERTIARY concode_elem_sep int strength concode_elem_sep int decmp concode_elem_sep int SECONDARY concode_elem_sep int IDENTICAL concode_elem_sep int PRIMARY concode_elem_sep int FULL_DECO... | Locale [ ] function ( ) { return LocaleHelper . getCollatorLocales ( ) ; } |
8,824 | if this option is enabled , then during binding from spark to camel message then the header values will be url decoded eg % 20 will be a space character . concode_field_sep boolean mapHeaders concode_elem_sep boolean disableStreamCache concode_elem_sep boolean transferException concode_elem_sep boolean matchOnUriPrefix... | void function ( boolean arg0 ) { this . urlDecodeHeaders = arg0 ; } |
8,825 | return the visibility of tab panel 1 . concode_field_sep String tabPlacement concode_elem_sep HtmlSelectOneRadio selectedTabObject concode_elem_sep PanelTabSet tabSet concode_elem_sep String selectedTabFocus concode_elem_sep boolean tabbedPane1Visible concode_elem_sep boolean tabbedPane2Visible concode_elem_sep boolean... | boolean function ( ) { return tabbedPane1Visible ; } |
8,826 | loads the instructionoffsetvalue from the variable with the given index . concode_field_sep int size concode_elem_sep TopValue TOP_VALUE concode_elem_sep Value[] values concode_field_sep void store concode_elem_sep ReferenceValue aload concode_elem_sep Value getValue concode_elem_sep int size concode_elem_sep Value loa... | InstructionOffsetValue function ( int arg0 ) { return load ( arg0 ) . instructionOffsetValue ( ) ; } |
8,827 | updates session with the internalmessages key . some application servers require session value to be updated in order to replicate the session across nodes or persist it correctly . concode_field_sep HttpSession session concode_elem_sep Hashtable<String,SAMLObject<XMLObject>> internalMessages concode_elem_sep Logger lo... | void function ( Hashtable < String , SAMLObject < XMLObject >> arg0 ) { session . setAttribute ( SAML_STORAGE_KEY , arg0 ) ; } |
8,828 | creates internal composite context which will be used for resolving child module 's context . concode_field_sep MT moduleType concode_elem_sep M module concode_elem_sep LinkedHashMap<M,H> moduleHandlerMap concode_field_sep Map<String,Object> getChildContext concode_elem_sep void dispose | Map < String , Object > function ( Map < String , ? > arg0 ) { Map < String , Object > loc0 = new HashMap < String , Object > ( arg0 ) ; loc0 . putAll ( module . getConfiguration ( ) . getProperties ( ) ) ; return loc0 ; } |
8,829 | shifts an element to the end of the vector . elements between them are shifted one position left . concode_field_sep int[] V concode_elem_sep int sizeOfVector concode_field_sep IntVector subvector concode_elem_sep IntVector subvector concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_... | void function ( int arg0 ) { shift ( arg0 , size ( ) - 1 ) ; } |
8,830 | get the name value . concode_field_sep String name concode_elem_sep List<VirtualMachineStatusCodeCount> statusesSummary concode_field_sep List<VirtualMachineStatusCodeCount> statusesSummary | String function ( ) { return this . name ; } |
8,831 | gets the file size in mbytes concode_field_sep int resourceId concode_elem_sep double cost concode_elem_sep String ownerName concode_elem_sep int size concode_elem_sep long creationTime concode_elem_sep String name concode_elem_sep int checksum concode_elem_sep boolean masterCopy concode_elem_sep boolean readOnly conco... | int function ( ) { return size ; } |
8,832 | this method is not used in this implementation . it does not do anything ! concode_field_sep ObjectDatabase objDb concode_field_sep void binarySet concode_elem_sep DatasetObject getObject concode_elem_sep ObjectDatabase getDatabase concode_elem_sep void set concode_elem_sep int size concode_elem_sep double distance con... | void function ( String arg0 ) { } |
8,833 | random returns a random point within the plane defined by : a , b , c , and b + c - a. concode_field_sep Vector3f a concode_elem_sep Vector3f b concode_elem_sep Vector3f c concode_elem_sep long serialVersionUID concode_field_sep void read concode_elem_sep void setC concode_elem_sep void setB concode_elem_sep Rectangle ... | Vector3f function ( ) { return random ( null ) ; } |
8,834 | get the value of the feature at a specific index . concode_field_sep double[] features concode_elem_sep ClassLabel classLabel concode_field_sep void set concode_elem_sep double[] getAll concode_elem_sep int size concode_elem_sep int getIntClassLabel concode_elem_sep void clear concode_elem_sep ClassLabel getClassLabel ... | double function ( int arg0 ) { if ( arg0 < 0 || arg0 >= features . length ) throw new ArrayIndexOutOfBoundsException ( String . valueOf ( arg0 ) + "srini_string" + this . size ( ) ) ; return features [ arg0 ] ; } |
8,835 | writes a single register to the slave . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesRequest concode_elem_sep WriteMultipleCoilsRequest m_WriteMultipleCoilsRequest concode_elem_sep ReadInputRegistersRequest m_ReadInputRegistersR... | void function ( int arg0 , Register arg1 ) { m_WriteSingleRegisterRequest . setReference ( arg0 ) ; m_WriteSingleRegisterRequest . setRegister ( arg1 ) ; m_Transaction . setRequest ( m_WriteSingleRegisterRequest ) ; m_Transaction . execute ( ) ; } |
8,836 | returns the object for storing and retrieving failed attempts to save data on graphite . concode_field_sep String graphiteServer concode_elem_sep Boolean enableSend concode_elem_sep String systemName concode_elem_sep Timer jobTimer concode_elem_sep Logger LOG concode_elem_sep short graphitePort concode_elem_sep String ... | File function ( ) { String loc0 = System . getProperty ( "srini_string" ) ; if ( loc0 . endsWith ( File . separator ) == false ) { loc0 += File . separator ; } File loc1 = new File ( loc0 ) ; loc1 . mkdirs ( ) ; File loc2 = new File ( loc1 , "srini_string" ) ; return loc2 ; } |
8,837 | sets the value of the id property . concode_field_sep List<Extension> extensions concode_elem_sep String description concode_elem_sep String id concode_elem_sep String href concode_elem_sep String label concode_elem_sep QName type concode_elem_sep List<Description> descriptions concode_elem_sep String version concode_e... | void function ( final String arg0 ) { this . id = arg0 ; } |
8,838 | returns the current factory . concode_field_sep ChartEditorFactory factory concode_field_sep ChartEditor getChartEditor concode_elem_sep void setChartEditorFactory | ChartEditorFactory function ( ) { return factory ; } |
8,839 | sets the value of the layout property . concode_field_sep Layout layout concode_elem_sep String flavour concode_elem_sep String src concode_elem_sep String width concode_elem_sep BigDecimal refresh concode_elem_sep Label label concode_elem_sep String height concode_field_sep void setSrc concode_elem_sep Label getLabel ... | void function ( Layout arg0 ) { this . layout = arg0 ; } |
8,840 | verification of signature concode_field_sep Sha512 SHA512Provider concode_field_sep byte[] calculateAgreement concode_elem_sep void calculateDigest concode_elem_sep byte[] keyGenPublic concode_elem_sep byte[] keyGenPrivate concode_elem_sep byte[] calculateSignature concode_elem_sep Curve25519KeyPair keyGen | boolean function ( byte [ ] arg0 , byte [ ] arg1 , byte [ ] arg2 ) { return curve_sigs . curve25519_verify ( SHA512Provider , arg2 , arg0 , arg1 , arg1 . length ) == 0 ; } |
8,841 | compares the triple based on the left element , followed by the middle element , finally the right element . the types must be comparable . concode_field_sep long serialVersionUID concode_field_sep R getRight concode_elem_sep M getMiddle concode_elem_sep int hashCode concode_elem_sep Triple<L,M,R> of concode_elem_sep b... | int function ( final Triple < L , M , R > arg0 ) { return new CompareToBuilder ( ) . append ( getLeft ( ) , arg0 . getLeft ( ) ) . append ( getMiddle ( ) , arg0 . getMiddle ( ) ) . append ( getRight ( ) , arg0 . getRight ( ) ) . toComparison ( ) ; } |
8,842 | returns the number of entries in the map . concode_field_sep int size concode_elem_sep String name concode_field_sep String name | int function ( ) { return size ; } |
8,843 | used to communicate a return object from a plugin tool to the main whitebox user-interface . 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... | void function ( Object arg0 ) { if ( myHost != null ) { myHost . returnData ( arg0 ) ; } } |
8,844 | assert the primary value of the named response header with the given hamcrest matcher . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher dateValue concode_elem_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher longValue | ResultMatcher function ( final String arg0 , final Matcher < ? super String > arg1 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg2 ) { assertThat ( "srini_string" + arg0 , arg2 . getResponse ( ) . getHeader ( arg0 ) , arg1 ) ; } } ; } |
8,845 | the authorization code for this context . concode_field_sep MultiValueMap<String,String> parameters concode_elem_sep Map<? extends String,? extends List<String>> headers concode_elem_sep String currentUri concode_elem_sep String cookie concode_elem_sep OAuth2AccessToken existingToken concode_elem_sep Object state conco... | String function ( ) { return getFirst ( "srini_string" ) ; } |
8,846 | match a string against the given patterns , supporting the following simple pattern styles : `` xxx '' , `` xxx '' , `` xxx '' and `` xxxyyy '' matches with an arbitrary number of pattern parts , as well as direct equality . concode_field_sep int UNICODE_CHARACTER_CLASS concode_field_sep boolean isMatchAllPattern conco... | boolean function ( String [ ] arg0 , String arg1 ) { if ( arg0 != null ) { for ( String loc0 : arg0 ) { if ( simpleMatch ( loc0 , arg1 ) ) { return true ; } } } return false ; } |
8,847 | generate the holder class for this enumeration . concode_field_sep String className concode_elem_sep String fullClassName concode_elem_sep Hashtable symbolTable concode_elem_sep EnumEntry e concode_elem_sep PrintWriter stream concode_field_sep void writeHeading concode_elem_sep void init concode_elem_sep int read conco... | void function ( ) { ( ( Factories ) Compile . compiler . factories ( ) ) . holder ( ) . generate ( symbolTable , e ) ; } |
8,848 | set the value of the miter limit . concode_field_sep double nonStrokingAlphaConstant concode_elem_sep boolean isClippingPathDirty concode_elem_sep boolean alphaSource concode_elem_sep double smoothness concode_elem_sep PDColor nonStrokingColor concode_elem_sep PDSoftMask softMask concode_elem_sep RenderingIntent render... | void function ( float arg0 ) { miterLimit = arg0 ; } |
8,849 | gets the value of the fldfiltercomparetype property . concode_field_sep Boolean fldFilterChecked concode_elem_sep RecordRef fldFilter concode_elem_sep Boolean fldFilterNotNull concode_elem_sep String fldFilterVal concode_elem_sep CustomizationFilterCompareType fldFilterCompareType concode_elem_sep FldFilterSelList fldF... | CustomizationFilterCompareType function ( ) { return fldFilterCompareType ; } |
8,850 | sets the last publish date of this repository entry . concode_field_sep RepositoryEntry _repositoryEntry concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscaped... | void function ( Date arg0 ) { _repositoryEntry . setLastPublishDate ( arg0 ) ; } |
8,851 | returns the refinement value corresponding to the given file . this method automatically uses relative or absolute form depending on the location of file compared to #editedfile . concode_field_sep Vertex vertex concode_elem_sep IPath refinement concode_field_sep IPath getNewRefinement concode_elem_sep void resourceCha... | IPath function ( final Vertex arg0 , final IFile arg1 ) { final IPath loc0 = arg1 . getFullPath ( ) ; return loc0 ; } |
8,852 | set the version value . concode_field_sep String computeAccountName concode_elem_sep UUID version concode_field_sep String computeAccountName concode_elem_sep CatalogItem withComputeAccountName concode_elem_sep UUID version | CatalogItem function ( UUID arg0 ) { this . version = arg0 ; return this ; } |
8,853 | clears the map . concode_field_sep int NUMBER_LIST_REUSE concode_elem_sep Stack<List<Item>> fReuseLists concode_elem_sep ContentViewer fContentViewer concode_elem_sep HashMap<IResource,Object> fResourceToItem concode_field_sep void resourceChanged concode_elem_sep void releaseList concode_elem_sep boolean isEmpty conco... | void function ( ) { fResourceToItem . clear ( ) ; } |
8,854 | sets the value of the mapping property . concode_field_sep Layout layout concode_elem_sep String onValue concode_elem_sep String mapping concode_elem_sep List<Address> address concode_elem_sep String styling concode_elem_sep String offValue concode_elem_sep String flavour concode_elem_sep Boolean bindClickToWidget conc... | void function ( String arg0 ) { this . mapping = arg0 ; } |
8,855 | swaps two buffers . concode_field_sep String a concode_elem_sep String b concode_elem_sep int[] cost concode_elem_sep int[] back concode_field_sep String findNearest concode_elem_sep String findNearest concode_elem_sep int min concode_elem_sep int editDistance concode_elem_sep int calc | void function ( ) { int [ ] loc0 = cost ; cost = back ; back = loc0 ; } |
8,856 | add an advice concode_field_sep List<Object> advices concode_elem_sep long serialVersionUID concode_field_sep List<Object> getAdvices concode_elem_sep boolean remove | void function ( Object arg0 ) { advices . add ( arg0 ) ; } |
8,857 | returns the hover 's description . concode_field_sep String fModifierString concode_elem_sep String VALUE_SEPARATOR concode_elem_sep String NO_MODIFIER concode_elem_sep IConfigurationElement fElement concode_elem_sep boolean fIsEnabled concode_elem_sep int fStateMask concode_elem_sep String ACTIVATE_PLUG_IN_ATTRIBUTE c... | String function ( ) { return fElement . getAttribute ( DESCRIPTION_ATTRIBUTE ) ; } |
8,858 | return a string representation of this object . concode_field_sep Comparator CASE_INSENSITIVE_ORDER concode_elem_sep String value concode_elem_sep String label concode_field_sep String getValue concode_elem_sep int compare concode_elem_sep String getLabel concode_elem_sep int hashCode concode_elem_sep void setValue con... | String function ( ) { StringBuffer loc0 = new StringBuffer ( "srini_string" ) ; loc0 . append ( this . label ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( this . value ) ; loc0 . append ( "srini_string" ) ; return ( loc0 . toString ( ) ) ; } |
8,859 | a states name must not be empty . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart concode_field_se... | void function ( ) { prepareStateTest ( ) ; state . setName ( "srini_string" ) ; assertFalse ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertError ( diagnostics , ISSUE_STATE_WITHOUT_NAME ) ; } |
8,860 | rotates the icon . concode_field_sep RotationLayout mRotationLayout concode_elem_sep int STYLE_ORANGE concode_elem_sep int STYLE_PURPLE concode_elem_sep int STYLE_GREEN concode_elem_sep int STYLE_RED concode_elem_sep int STYLE_BLUE concode_elem_sep ViewGroup mContainer concode_elem_sep Context mContext concode_elem_sep... | void function ( int arg0 ) { mRotation = ( ( arg0 + 360 ) % 360 ) / 90 ; } |
8,861 | returns the search scope to be used in the query . concode_field_sep IJavaScriptSearchScope fScope concode_elem_sep String fScopeDescription concode_elem_sep int fLimitTo concode_field_sep String getScopeDescription concode_elem_sep int getLimitTo | IJavaScriptSearchScope function ( ) { return fScope ; } |
8,862 | set the jdo dialect to use for this proxy . default is a defaultjdodialect based on the persistencemanagerfactory 's underlying datasource , if any . concode_field_sep PersistenceManager proxy concode_elem_sep PersistenceManagerFactory persistenceManagerFactory concode_elem_sep JdoDialect jdoDialect concode_elem_sep Cl... | void function ( JdoDialect arg0 ) { this . jdoDialect = arg0 ; } |
8,863 | packs all the states into a byte . this byte is to be sent towards the dline controller device thru the serial interface . concode_field_sep byte TRUE concode_elem_sep byte bit2 concode_elem_sep AntennaDirections antennaDirection concode_elem_sep byte bit3 concode_elem_sep byte FALSE concode_elem_sep byte bit4 concode_... | byte function ( ) { byte loc0 ; loc0 = ( byte ) ( bit0 | bit1 << 1 | bit2 << 2 | bit3 << 3 | bit4 << 4 | bit5 << 5 | bit6 << 6 | bit7 << 7 ) ; return loc0 ; } |
8,864 | sets the locale for all i18n instances that were instantiated through the factory . use this method to globally change the locale for all i18n based translations . note : this only works if the objects that display messages do not cache translated messages . concode_field_sep WeakReference reference concode_elem_sep Li... | void function ( Locale arg0 ) { synchronized ( i18ns ) { for ( Iterator loc0 = i18ns . iterator ( ) ; loc0 . hasNext ( ) ; ) { I18n loc1 = ( I18n ) loc0 . next ( ) ; loc1 . setLocale ( arg0 ) ; } } fireLocaleChangedEvent ( arg0 ) ; } |
8,865 | gets the value of the page property . concode_field_sep String screensavePage concode_elem_sep BigDecimal maxMobileScreenWidth concode_elem_sep BigDecimal defaultColumns concode_elem_sep Meta meta concode_elem_sep String design concode_elem_sep Boolean bindClickToWidget concode_elem_sep String backend concode_elem_sep ... | Page function ( ) { return page ; } |
8,866 | returns the balance threshold . this is the number of connections that must be active before the peer server starts load balancing by dispatching requests to peer proxy servers . specify 0 to start load balancing immediately or -1 to never start load balancing . concode_field_sep int balanceThreshold_ concode_elem_sep ... | int function ( ) { return balanceThreshold_ ; } |
8,867 | gets the file format writer instance matching the given class . concode_field_sep ClassList<IFormatWriter> defaultClasses concode_elem_sep String[] suffixes concode_elem_sep int current concode_elem_sep String currentId concode_elem_sep String[] compressionTypes concode_elem_sep IFormatWriter[] writers concode_elem_sep... | IFormatWriter function ( Class < ? extends IFormatWriter > arg0 ) { for ( int loc0 = 0 ; loc0 < writers . length ; loc0 ++ ) { if ( writers [ loc0 ] . getClass ( ) . equals ( arg0 ) ) return writers [ loc0 ] ; } return null ; } |
8,868 | sets the msmodspec_unimod value . concode_field_sep MSModSpec_neutralloss MSModSpec_neutralloss concode_elem_sep MSModSpec_mod MSModSpec_mod concode_elem_sep String MSModSpec_name concode_elem_sep double MSModSpec_monomass concode_elem_sep double MSModSpec_n15mass concode_elem_sep int MSModSpec_unimod concode_elem_sep ... | void function ( String arg0 ) { this . MSModSpec_unimod = Integer . valueOf ( arg0 ) ; } |
8,869 | given a point p and the index of the start point of an edge of this polyline , returns the point on that edge that is closest to p. concode_field_sep int numVertices concode_elem_sep Logger log concode_elem_sep S2Point[] vertices concode_field_sep int getNearestEdgeIndex concode_elem_sep int numVertices concode_elem_se... | S2Point function ( S2Point arg0 , int arg1 ) { Preconditions . checkState ( numVertices ( ) > 0 , "srini_string" ) ; Preconditions . checkState ( numVertices ( ) == 1 || arg1 < numVertices ( ) - 1 , "srini_string" ) ; if ( numVertices ( ) == 1 ) { return vertex ( 0 ) ; } return S2EdgeUtil . getClosestPoint ( arg0 , ver... |
8,870 | get the list of store names from a list of store definitions concode_field_sep Logger logger concode_field_sep void assertValidNode concode_elem_sep Map<K,List<Versioned<V>>> getAll concode_elem_sep ClosableIterator<K> keys concode_elem_sep HashMap<String,StoreDefinition> getStoreDefsAsMap concode_elem_sep StoreDefinit... | List < String > function ( List < StoreDefinition > arg0 , boolean arg1 ) { List < String > loc0 = new ArrayList < String > ( ) ; for ( StoreDefinition loc1 : arg0 ) if ( ! loc1 . isView ( ) || ! arg1 ) loc0 . add ( loc1 . getName ( ) ) ; return loc0 ; } |
8,871 | ensures that the specified bytebuffer is null-terminated last 8 bytes equal to 0 . concode_field_sep boolean CHECKS concode_elem_sep boolean DEBUG concode_elem_sep boolean DEBUG_FUNCTIONS concode_field_sep void checkBufferGT concode_elem_sep void checkBufferGT concode_elem_sep void checkBufferGT concode_elem_sep void c... | ByteBuffer function ( ByteBuffer arg0 ) { checkBuffer ( arg0 , 8 ) ; if ( arg0 . getLong ( arg0 . limit ( ) - 8 ) != 0 ) throw new IllegalArgumentException ( "srini_string" ) ; return arg0 ; } |
8,872 | returns whether the resource is a framework resource . concode_field_sep ResourceFolder mFolder concode_elem_sep IAbstractFile mFile concode_field_sep ResourceFolder getFolder concode_elem_sep ResourceValue getValue concode_elem_sep FolderConfiguration getConfiguration concode_elem_sep void load concode_elem_sep boolea... | boolean function ( ) { return mFolder . getRepository ( ) . isFrameworkRepository ( ) ; } |
8,873 | configure the maximum size for an incoming sub-protocol message . for example a stomp message may be received as multiple websocket messages or multiple http post requests when sockjs fallback options are in use . in theory a websocket message can be almost unlimited in size . in practice websocket servers impose limit... | WebSocketTransportRegistration function ( int arg0 ) { this . messageSizeLimit = arg0 ; return this ; } |
8,874 | suppresses the specified device included in the block device mapping of the ami . returns a reference to this object so that method calls can be chained together . concode_field_sep String noDevice concode_elem_sep String virtualName concode_elem_sep EbsBlockDevice ebs concode_elem_sep String deviceName concode_field_s... | BlockDeviceMapping function ( String arg0 ) { this . noDevice = arg0 ; return this ; } |
8,875 | compares this attribute with the specified object . checks if both objects are the same instance . it is defined final so all subclasses have the same behavior for this method . concode_field_sep Attribute LANGUAGE concode_elem_sep Attribute INPUT_METHOD_SEGMENT concode_elem_sep String name concode_elem_sep Attribute R... | boolean function ( Object arg0 ) { return this == arg0 ; } |
8,876 | allows to answer if there is any data at the current provider . i.e. it 's safe to call #getdata if this method returns true . concode_field_sep DataProvider<? extends Comparable<?>,?>[] myProviders concode_field_sep boolean next concode_elem_sep int compare concode_elem_sep void sort concode_elem_sep Pair<K,V> getData... | boolean function ( ) { for ( DataProvider < ? extends Comparable < ? > , ? > loc0 : myProviders ) { if ( loc0 != null ) { return true ; } } return false ; } |
8,877 | return the string representation , in the form major.minor . concode_field_sep int major concode_elem_sep int minor concode_elem_sep long serialVersionUID concode_field_sep boolean until_inclusive concode_elem_sep boolean same concode_elem_sep Version read_version concode_elem_sep int hashCode concode_elem_sep boolean ... | String function ( ) { return major + "srini_string" + minor ; } |
8,878 | removes the newly bound osgi service and its service reference to the internally maintained and sorted servicemap . this method is invoked when a plugin is unbound removed/uninstalled . this includes preingest , postingest , prequery , postquery , preresource , postresource plugins . concode_field_sep String READ_ONLY_... | void function ( ServiceReference arg0 ) { logger . debug ( "srini_string" + arg0 ) ; serviceMap . remove ( arg0 ) ; logger . debug ( Arrays . asList ( serviceMap . values ( ) ) . toString ( ) ) ; } |
8,879 | returns end index . concode_field_sep int size concode_elem_sep int level concode_elem_sep int start concode_field_sep placeholderType placeHolder | int function ( ) { return start + size - 1 ; } |
8,880 | set a new message message entity . concode_field_sep ContainerRequest requestContext concode_elem_sep OutboundMessageContext messageContext concode_elem_sep boolean closed concode_elem_sep boolean mappedFromException concode_elem_sep Response.StatusType status concode_field_sep URI getLocation concode_elem_sep Date get... | void function ( final Object arg0 , final Type arg1 , final Annotation [ ] arg2 ) { messageContext . setEntity ( arg0 , arg1 , arg2 ) ; } |
8,881 | recursively populates a list of contexts . concode_field_sep EmptyContext EMPTY_CONTEXT concode_elem_sep ImmutableList<Context> contexts concode_elem_sep Object target concode_field_sep Context withConfig concode_elem_sep Context chain concode_elem_sep Context of concode_elem_sep Context empty concode_elem_sep T unwrap... | void function ( List < Context > arg0 , Context arg1 ) { if ( arg1 instanceof ChainContext ) { ChainContext loc0 = ( ChainContext ) arg1 ; for ( Context loc1 : loc0 . contexts ) { build ( arg0 , loc1 ) ; } } else if ( ! arg0 . contains ( arg1 ) ) { arg0 . add ( arg1 ) ; } } |
8,882 | removes the provided provider from the internal provider queue . concode_field_sep CopyOnWriteArrayList<IAudioProvider> providers concode_field_sep int add concode_elem_sep void set concode_elem_sep AudioEncodingType getAudioEncodingType concode_elem_sep int size concode_elem_sep byte[] provide concode_elem_sep IAudioP... | void function ( IAudioProvider arg0 ) { providers . remove ( arg0 ) ; } |
8,883 | return created time concode_field_sep long createdTime concode_elem_sep EventTypes type concode_elem_sep Object value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep E encodeType concode_elem_sep Enum getType concode_elem_sep void setData concode_elem_sep IMessage getMessage concode_elem_se... | long function ( ) { return createdTime ; } |
8,884 | gets the value of a thing status detail . concode_field_sep ThingStatusDetail DUTY_CYCLE concode_elem_sep ThingStatusDetail BRIDGE_OFFLINE concode_elem_sep ThingStatusDetail CONFIGURATION_PENDING concode_elem_sep OfflineStatus OFFLINE concode_elem_sep ThingStatusDetail CONFIGURATION_ERROR concode_elem_sep ThingStatusDe... | int function ( ) { return value ; } |
8,885 | iterate over the entries of the map concode_field_sep long LOWER_INT_MASK concode_elem_sep Long2ObjectHashMap<V> map concode_field_sep long compoundKey concode_elem_sep double loadFactor concode_elem_sep int size concode_elem_sep V get concode_elem_sep boolean isEmpty concode_elem_sep V put concode_elem_sep V remove co... | void function ( final EntryConsumer < V > arg0 ) { for ( Map . Entry < Long , V > loc0 : map . entrySet ( ) ) { Long loc1 = loc0 . getKey ( ) ; final int loc2 = ( int ) ( loc1 >>> Integer . SIZE ) ; final int loc3 = ( int ) ( loc1 & LOWER_INT_MASK ) ; arg0 . accept ( loc2 , loc3 , loc0 . getValue ( ) ) ; } } |
8,886 | returns the name of the group . concode_field_sep Type gsonType concode_elem_sep String name concode_elem_sep String id concode_field_sep void setName concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep boolean isModifiable | String function ( ) { return name ; } |
8,887 | returns the transitive resourcecontainers for the label . concode_field_sep String javaPackage concode_elem_sep Artifact manifest concode_elem_sep NestedSet<ResourceContainer> transitiveAndroidResources concode_elem_sep NestedSet<ResourceContainer> directAndroidResources concode_elem_sep ImmutableList<Artifact> resourc... | NestedSet < ResourceContainer > function ( ) { return transitiveAndroidResources ; } |
8,888 | get the start index of the text . specified by : java.text.characteriterator . concode_field_sep int END_RUN concode_elem_sep ArrayList mapList concode_elem_sep int START_RUN concode_elem_sep int MID_RUN concode_elem_sep Set allAttributes concode_elem_sep CharacterIterator iter concode_elem_sep String simpleString conc... | int function ( ) { return iter . getBeginIndex ( ) ; } |
8,889 | sets the taskname value for this serviceitemtasktemplates . concode_field_sep java.lang.Long taskStartOffset concode_elem_sep com.netsuite.webservices.platform.core_2014_2.Duration taskDuration concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String taskN... | void function ( java . lang . String arg0 ) { this . taskName = arg0 ; } |
8,890 | returns the bundle context of this bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
8,891 | loads an image from a given image identifier . concode_field_sep ResourceManagementService resourcesService concode_elem_sep ImageID PAGE_IMAGE concode_elem_sep ImageID PROTOCOL_ICON concode_field_sep ResourceManagementService getResources concode_elem_sep String getString concode_elem_sep String getSettingsString conc... | byte [ ] function ( ImageID arg0 ) { return getResources ( ) . getImageInBytes ( arg0 . getId ( ) ) ; } |
8,892 | creates a new physical connection to the underlying eis resource manager . concode_field_sep ConnectionManager cm concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep Logger log concode_elem_sep ResourceAdapter ra concode_field_sep void setResourceAdapter concode_elem_sep void ... | ManagedConnection function ( Subject arg0 , ConnectionRequestInfo arg1 ) { return new HelloWorldManagedConnection ( cm , this ) ; } |
8,893 | register a new seed to be dropped when breaking tall grass . concode_field_sep String MC_VERSION concode_elem_sep EventBus ORE_GEN_BUS concode_elem_sep ForgeInternalHandler INTERNAL_HANDLER concode_elem_sep EventBus TERRAIN_GEN_BUS concode_elem_sep EventBus EVENT_BUS concode_field_sep void initialize concode_elem_sep v... | void function ( ItemStack arg0 , int arg1 ) { addGrassSeed ( new SeedEntry ( arg0 , arg1 ) ) ; } |
8,894 | create an instance of money concode_field_sep QName _NewBid_QNAME concode_elem_sep QName _FindItemByDescription_QNAME concode_elem_sep QName _RevokeItemResponse_QNAME concode_elem_sep QName _OfferItem_QNAME concode_elem_sep QName _GetItem_QNAME concode_elem_sep QName _FindItemByDescriptionResponse_QNAME concode_elem_se... | Money function ( ) { return new Money ( ) ; } |
8,895 | this bean manages the connection flow between the account provider and the example application . concode_field_sep DataSource dataSource concode_field_sep UsersConnectionRepository getUsersConnectionRepository concode_elem_sep UserIdSource getUserIdSource concode_elem_sep void addConnectionFactories | ConnectController function ( ConnectionFactoryLocator arg0 , ConnectionRepository arg1 ) { return new ConnectController ( arg0 , arg1 ) ; } |
8,896 | returns the default wsclient object managed by the play application . concode_field_sep PlaceHolder placeHolder concode_field_sep WSClient newClient concode_elem_sep WSRequest url | WSClient function ( ) { Application loc0 = play . Play . application ( ) ; return loc0 . injector ( ) . instanceOf ( WSClient . class ) ; } |
8,897 | skips 'n' bits from the input stream . concode_field_sep int audioHeaderSize concode_elem_sep long buffer concode_elem_sep byte pointer concode_elem_sep InputStream is concode_elem_sep int readedBytes concode_field_sep void next_start_code concode_elem_sep void alignHeader concode_elem_sep long next_bits concode_elem_s... | void function ( int arg0 ) { while ( ( pointer - arg0 ) < 0 ) { read_byte ( ) ; } pointer -= arg0 ; } |
8,898 | set request property . concode_field_sep int DEF_CONNECT_TIMEOUT concode_elem_sep int connectTimeout concode_elem_sep HttpPost postReq concode_elem_sep Logger logger concode_elem_sep HttpClient client concode_field_sep String sendQuery concode_elem_sep void setConnectTimeout concode_elem_sep void openConnection concode... | void function ( String arg0 , String arg1 ) { postReq . setHeader ( arg0 , arg1 ) ; } |
8,899 | explain the custom score . whenever overriding #customscore int , float , float , this method should also be overridden to provide the correct explanation for the part of the custom scoring . concode_field_sep LeafReaderContext context concode_field_sep float customScore concode_elem_sep float customScore | Explanation function ( int arg0 , Explanation arg1 , Explanation arg2 ) { float loc0 = 1 ; if ( arg2 != null ) { loc0 *= arg2 . getValue ( ) ; } return Explanation . match ( loc0 * arg1 . getValue ( ) , "srini_string" , arg1 , arg2 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.