idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
3,000 | a proper intersection is an intersection which is interior to at least two line segments . note that a proper intersection is not necessarily in the interior of the entire geometry , since another edge may have an endpoint equal to the intersection , which according to sfs semantics can result in the point being on the... | boolean function ( ) { return hasProper ; } |
3,001 | set the value of the content column . concode_field_sep java.lang.String sender concode_elem_sep java.lang.Integer id concode_elem_sep java.lang.String title concode_elem_sep java.lang.String sendtime concode_elem_sep int hashValue concode_elem_sep java.lang.String content concode_field_sep java.lang.String getTitle co... | void function ( java . lang . String arg0 ) { this . content = arg0 ; } |
3,002 | sets the general filter for model elements . concode_field_sep HashMap<String,HashMap<String,String>> attributeSettings concode_elem_sep HashSet<String> visibleFilter concode_elem_sep FsmHorizonSettings[] fwdHorizonSettings concode_elem_sep Boolean useAttributeSettings concode_elem_sep boolean gui concode_elem_sep FsmM... | Collection < String > function ( HashSet < String > arg0 ) { HashSet < String > loc0 = visibleFilter ; visibleFilter = arg0 ; return loc0 ; } |
3,003 | forcibly free the direct buffer . concode_field_sep int MIN_BUFFER_SIZE concode_field_sep void checkCodec concode_elem_sep int checkBufferSize concode_elem_sep int getBufferSize concode_elem_sep long getInputStreamOffset | void function ( ByteBuffer arg0 ) { if ( arg0 instanceof sun . nio . ch . DirectBuffer ) { final sun . misc . Cleaner loc0 = ( ( sun . nio . ch . DirectBuffer ) arg0 ) . cleaner ( ) ; loc0 . clean ( ) ; } } |
3,004 | looks at the last diagnostic context at the top of this ndc without removing it . the returned value is the value that was pushed last . if no context is available , then the empty string '' '' is returned . concode_field_sep PlaceHolder placeHolder concode_field_sep String pop concode_elem_sep int getDepth concode_ele... | String function ( ) { return org . apache . logging . log4j . ThreadContext . peek ( ) ; } |
3,005 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( String arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
3,006 | sets the parent taxonomy node . concode_field_sep int taxId concode_elem_sep long serialVersionUID concode_elem_sep TaxonomyNode parentNode concode_elem_sep TaxonomyRank taxRank concode_elem_sep String taxName concode_field_sep void setName concode_elem_sep void setRank concode_elem_sep String getName concode_elem_sep ... | void function ( TaxonomyNode arg0 ) { this . parentNode = arg0 ; } |
3,007 | sets the value of the bandcol property . concode_field_sep Boolean bandRow concode_elem_sep CTPatternFillProperties pattFill concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTTableStyle tableStyle concode_elem_sep Boolean firstCol concode_elem_sep CTEffectList effectLst concode_elem_sep Boolean rtl co... | void function ( Boolean arg0 ) { this . bandCol = arg0 ; } |
3,008 | gets the value of the rval property . concode_field_sep PromotionPage rval concode_field_sep void setRval | PromotionPage function ( ) { return rval ; } |
3,009 | sets the encodedclusternames value for this wsversioningrestoreuniverse . concode_field_sep java.lang.String versioningSystemName concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String tag co... | void function ( java . lang . String [ ] arg0 ) { this . encodedClusterNames = arg0 ; } |
3,010 | parse the given string upper or lower case accepted and return the appropriate value if it 's the name of a constant field in the class that we 're analysing . concode_field_sep Map<String,Object> fieldCache concode_elem_sep String className concode_field_sep String toCodeForProperty concode_elem_sep Set<Object> getVal... | Object function ( String arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; String loc0 = arg0 . toUpperCase ( Locale . ENGLISH ) ; Object loc1 = this . fieldCache . get ( loc0 ) ; if ( loc1 == null ) { throw new ConstantException ( this . className , loc0 , "srini_string" ) ; } return loc1 ; } |
3,011 | create an instance of vendorpaymentapply concode_field_sep QName _VendorBill_QNAME concode_elem_sep QName _PurchaseOrder_QNAME concode_elem_sep QName _VendorReturnAuthorization_QNAME concode_elem_sep QName _VendorPayment_QNAME concode_elem_sep QName _ItemReceipt_QNAME concode_elem_sep QName _VendorCredit_QNAME concode_... | VendorPaymentApply function ( ) { return new VendorPaymentApply ( ) ; } |
3,012 | validate a value against the set of regular expressions . concode_field_sep Pattern[] patterns concode_field_sep String[] match concode_elem_sep String toString concode_elem_sep String validate | boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } for ( int loc0 = 0 ; loc0 < patterns . length ; loc0 ++ ) { if ( patterns [ loc0 ] . matcher ( arg0 ) . matches ( ) ) { return true ; } } return false ; } |
3,013 | this method is used to get issuer certificate concode_field_sep Log log concode_elem_sep String SECURITY_KEY_STORE_KEY_ALIAS concode_elem_sep String signatureAlgorithm concode_elem_sep X509Certificate[] issuerCerts concode_elem_sep PublicKey publicKey concode_elem_sep String DSA_ENCRYPTION_ALGORITHM concode_elem_sep Pr... | X509Certificate function ( ) { return issuerCerts [ 0 ] ; } |
3,014 | get the name of the folder for which a content should be stored concode_field_sep KadServer server concode_elem_sep KademliaDHT dht concode_elem_sep MessageFactory messageFactory concode_elem_sep KadStatistician statistician concode_elem_sep Timer refreshOperationTimer concode_elem_sep KademliaRoutingTable routingTable... | String function ( String arg0 , KadConfiguration arg1 ) { String loc0 = arg1 . getNodeDataFolder ( arg0 ) + File . separator + "srini_string" ; File loc1 = new File ( loc0 ) ; if ( ! loc1 . isDirectory ( ) ) { loc1 . mkdir ( ) ; } return loc1 . toString ( ) ; } |
3,015 | returns the conclusion of this horn clause . in horn form , the premise is called the body , and the conclusion is called the head . concode_field_sep Symbol head concode_elem_sep List<Symbol> premiseSymbols concode_elem_sep Hashtable<HornClause,Integer> count concode_elem_sep Hashtable<Symbol,Boolean> inferred concode... | Symbol function ( ) { return head ; } |
3,016 | what sub operation to use for the selected operation concode_field_sep GoogleDriveApiName apiName concode_elem_sep List<String> DEFAULT_SCOPES concode_elem_sep String clientId concode_elem_sep List<String> scopes concode_elem_sep String methodName concode_elem_sep String clientSecret concode_elem_sep String accessToken... | void function ( String arg0 ) { this . methodName = arg0 ; } |
3,017 | creates a new donvia with the primary key . does not add the donvia to the database . concode_field_sep donviaLocalService _donviaLocalService concode_field_sep java.util.List<com.newway.model.donvia> getdonvias concode_elem_sep void setWrappedService concode_elem_sep java.util.List<com.newway.model.donvia> getDsDonviA... | com . newway . model . donvia function ( int arg0 ) { return _donviaLocalService . createdonvia ( arg0 ) ; } |
3,018 | this method is used for select or x. queries concode_field_sep List<Field> allFields concode_elem_sep List<Field> visibleFields concode_elem_sep Map<Field,Integer> fieldIndexes concode_field_sep Collection<Field> getAllFields concode_elem_sep RelationType joinWith concode_elem_sep RelationType withOnlyVisibleFields con... | List < Field > function ( Optional < QualifiedName > arg0 ) { return visibleFields . stream ( ) . filter ( input -> input . matchesPrefix ( arg0 ) ) . collect ( toImmutableList ( ) ) ; } |
3,019 | get parameter value from request scope . concode_field_sep PlaceHolder placeHolder concode_field_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getJsfEl concode_elem_sep void resetManagedB... | String function ( String arg0 ) { return ( String ) FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getRequestParameterMap ( ) . get ( arg0 ) ; } |
3,020 | sets the portal preferences id of this portal preferences . concode_field_sep PortalPreferences _portalPreferences concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_ele... | void function ( long arg0 ) { _portalPreferences . setPortalPreferencesId ( arg0 ) ; } |
3,021 | directly assign a repo to this repo relationship . concode_field_sep String DELETE_BY_RELATED_REPO_ID concode_elem_sep long serialVersionUID concode_elem_sep int id concode_elem_sep Repo relatedRepo concode_elem_sep RepoRelationshipType repoRelationshipType concode_elem_sep Set<RepoRepoRelationship> repoRepoRelationshi... | RepoRepoRelationship function ( Repo arg0 ) { if ( this . repoRepoRelationships == null ) { this . repoRepoRelationships = new HashSet < RepoRepoRelationship > ( ) ; } RepoRepoRelationship loc0 = new RepoRepoRelationship ( arg0 , this ) ; this . repoRepoRelationships . add ( loc0 ) ; return loc0 ; } |
3,022 | old things we dont want ; not a test no more concode_field_sep BuildFileRule buildRule concode_field_sep void testPropertyExpansion concode_elem_sep void setUp concode_elem_sep void assertExpandsTo concode_elem_sep void testDollarPassthru | void function ( ) { assertExpandsTo ( "srini_string" , "srini_string" ) ; assertExpandsTo ( "srini_string" , "srini_string" ) ; assertExpandsTo ( "srini_string" , "srini_string" ) ; assertExpandsTo ( "srini_string" , "srini_string" ) ; } |
3,023 | get the char spacing concode_field_sep float tw concode_elem_sep PointF prevEnd concode_elem_sep Matrix cur concode_elem_sep float fsize concode_elem_sep Matrix line concode_elem_sep float tr concode_elem_sep boolean inuse concode_elem_sep int tm concode_elem_sep float tc concode_elem_sep StringBuffer word concode_elem... | float function ( ) { return tc ; } |
3,024 | gets the value of the exttype property . concode_field_sep String extent concode_elem_sep List<Object> admid concode_elem_sep String shape concode_elem_sep String end concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep List<String> contentids concode_elem_sep String begin concode_elem_sep... | String function ( ) { return exttype ; } |
3,025 | converts data produced by #encodemod3tight int back to an int array . concode_field_sep int[] BIT1_TABLE concode_elem_sep int[] BIT3_TABLE concode_elem_sep int[] COEFF2_TABLE concode_elem_sep int[] COEFF1_TABLE concode_elem_sep int[] BIT2_TABLE concode_field_sep byte[] encodeModQ concode_elem_sep int[] decodeMod3Sves c... | int [ ] function ( InputStream arg0 , int arg1 ) { int loc0 = ( int ) Math . ceil ( arg1 * Math . log ( 3 ) / Math . log ( 2 ) / 8 ) ; byte [ ] loc1 = Util . readFullLength ( arg0 , loc0 ) ; return decodeMod3Tight ( loc1 , arg1 ) ; } |
3,026 | sets the to user uuid of this entry . concode_field_sep Entry _entry concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setContent concode_elem_sep boolean... | void function ( java . lang . String arg0 ) { _entry . setToUserUuid ( arg0 ) ; } |
3,027 | records a failure connecting to failedroute . concode_field_sep Set<Route> failedRoutes concode_field_sep void connected concode_elem_sep boolean shouldPostpone | void function ( Route arg0 ) { failedRoutes . add ( arg0 ) ; } |
3,028 | interface testlistener for junit > 3.4 . a test failed . concode_field_sep String UNKNOWN concode_elem_sep Hashtable<String,Element> testElements concode_elem_sep String tag concode_elem_sep Element rootElement concode_elem_sep Hashtable failedTests concode_elem_sep Hashtable<String,Test> skippedTests concode_elem_sep ... | void function ( final Test arg0 , final AssertionFailedError arg1 ) { addFailure ( arg0 , ( Throwable ) arg1 ) ; } |
3,029 | sets the optionhandler 's options using the given list . all options will be set or reset during this call i.e. , incremental setting of options is not possible . available options : - d turns on output of debugging information concode_field_sep Random m_Random concode_elem_sep boolean m_Debug concode_field_sep Enumera... | void function ( String [ ] arg0 ) { setDebug ( Utils . getFlag ( 'D' , arg0 ) ) ; } |
3,030 | creates a new web d a v props with the primary key . does not add the web d a v props to the database . concode_field_sep WebDAVPropsLocalService _webDAVPropsLocalService concode_field_sep com.liferay.portal.kernel.model.WebDAVProps getWebDAVProps concode_elem_sep com.liferay.portal.kernel.model.WebDAVProps getWebDAVPr... | com . liferay . portal . kernel . model . WebDAVProps function ( long arg0 ) { return _webDAVPropsLocalService . createWebDAVProps ( arg0 ) ; } |
3,031 | delete a directory and all of its contents . concode_field_sep File[] EMPTY_FILE_ARRAY concode_elem_sep int BUFFER_SIZE concode_elem_sep String[] IGNORED_EXTENSIONS concode_field_sep void deleteFile concode_elem_sep void copyFile concode_elem_sep void copyFile concode_elem_sep PrintWriter openGzip concode_elem_sep Prin... | void function ( File arg0 ) { if ( ! arg0 . exists ( ) ) { return ; } File [ ] loc0 = listFiles ( arg0 ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { File loc2 = loc0 [ loc1 ] ; if ( loc2 . isDirectory ( ) ) { deleteDir ( loc2 ) ; } else { deleteFile ( loc2 ) ; } } arg0 . delete ( ) ; } |
3,032 | returns the provider name . concode_field_sep Atmosphere atmosphere concode_elem_sep Temperature temperature concode_elem_sep Precipitation precipitation concode_elem_sep String VIRTUAL_TEMP_MINMAX concode_elem_sep Wind wind concode_elem_sep String[] VIRTUAL_PROPERTIES concode_elem_sep String error concode_elem_sep Sta... | ProviderName function ( ) { return provider ; } |
3,033 | returns true if this user agent should use this setting in future spdy/3 connections to the same host . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int HEADER_TABLE_SIZE concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE ... | boolean function ( int arg0 ) { int loc0 = 1 << arg0 ; return ( persistValue & loc0 ) != 0 ; } |
3,034 | the next option created will have a value that will be an instance of type . concode_field_sep int numberOfArgs concode_elem_sep OptionBuilder instance concode_elem_sep String argName concode_elem_sep String description concode_elem_sep Object type concode_elem_sep boolean optionalArg concode_elem_sep String longopt co... | OptionBuilder function ( Object arg0 ) { instance . arg0 = arg0 ; return instance ; } |
3,035 | some checks for the clear method . concode_field_sep double EPSILON concode_elem_sep SeriesChangeEvent lastEvent concode_field_sep void testIndexOf2 concode_elem_sep void testSetMaximumItemCount2 concode_elem_sep void testCloning concode_elem_sep void testRemove concode_elem_sep void seriesChanged concode_elem_sep void... | void function ( ) { YIntervalSeries loc0 = new YIntervalSeries ( "srini_string" ) ; loc0 . addChangeListener ( this ) ; loc0 . clear ( ) ; assertNull ( this . lastEvent ) ; assertTrue ( loc0 . isEmpty ( ) ) ; loc0 . add ( 1.0 , 2.0 , 3.0 , 4.0 ) ; assertFalse ( loc0 . isEmpty ( ) ) ; loc0 . clear ( ) ; assertNotNull ( ... |
3,036 | throws an assertionerror with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void setRemoveAssertJRelatedElementsFromStackTrace concode_elem_sep void failBecauseExceptionWasNotThrown concode_elem_sep void shouldHaveThrown | void function ( String arg0 ) { throw Failures . instance ( ) . failure ( arg0 ) ; } |
3,037 | this method returns the profile associated with the given name in the database . if there is no profile in the database with the given name , the method returns null . concode_field_sep ArrayList<FacePamphletProfile> database concode_elem_sep ArrayList<String> names concode_field_sep void addProfile concode_elem_sep vo... | FacePamphletProfile function ( String arg0 ) { if ( names . contains ( arg0 ) ) { return database . get ( names . indexOf ( arg0 ) ) ; } return null ; } |
3,038 | information about the export task . returns a reference to this object so that method calls can be chained together . concode_field_sep String exportTaskId concode_elem_sep ExportToS3Task exportToS3Task concode_elem_sep String description concode_elem_sep InstanceExportDetails instanceExportDetails concode_elem_sep Str... | ExportTask function ( ExportToS3Task arg0 ) { this . exportToS3Task = arg0 ; return this ; } |
3,039 | set the isolation level by the name of the corresponding constant in transactiondefinition , e.g. `` isolation_default '' . concode_field_sep Constants constants concode_elem_sep int timeout concode_elem_sep int isolationLevel concode_elem_sep String READ_ONLY_MARKER concode_elem_sep boolean readOnly concode_elem_sep S... | void function ( String arg0 ) { if ( arg0 == null || ! arg0 . startsWith ( PREFIX_ISOLATION ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } setIsolationLevel ( constants . asNumber ( arg0 ) . intValue ( ) ) ; } |
3,040 | the available languages . these can be configured in application.conf , like so : play.i18n.langs = `` fr '' , `` en '' , `` de '' concode_field_sep List<Lang> availables concode_elem_sep play.api.i18n.Langs langs concode_field_sep Lang preferred | List < Lang > function ( ) { return availables ; } |
3,041 | set the count property concode_field_sep String address concode_elem_sep ProvisionMonitor service concode_elem_sep int LOADING_INITIAL_DEPLOYMENTS concode_elem_sep int INITIAL_DEPLOYMENTS_PENDING concode_elem_sep int LOADED_INITIAL_DEPLOYMENTS concode_elem_sep Long id concode_elem_sep int initialDeploymentState concode... | void function ( int arg0 ) { if ( arg0 < 0 ) throw new IllegalArgumentException ( "srini_string" ) ; synchronized ( this ) { this . backupCount = arg0 ; } } |
3,042 | two objects that are equal are required to return the same hashcode . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testFindRangeBounds concode_elem_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testEquals | void function ( ) { StackedAreaRenderer loc0 = new StackedAreaRenderer ( ) ; StackedAreaRenderer loc1 = new StackedAreaRenderer ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; int loc2 = loc0 . hashCode ( ) ; int loc3 = loc1 . hashCode ( ) ; assertEquals ( loc2 , loc3 ) ; } |
3,043 | gets optional data which can be used for tracking concode_field_sep ActionType actionType concode_elem_sep String data concode_elem_sep ArrayList<String> suggestions concode_elem_sep String to concode_elem_sep Filters filters concode_elem_sep String message concode_elem_sep String title concode_elem_sep String objectId... | String function ( ) { return data ; } |
3,044 | set the value of this property . concode_field_sep String orgNodeCategoryId concode_elem_sep int categoryLevel concode_elem_sep String BEAN_LABEL concode_elem_sep String categoryName concode_elem_sep String BEAN_ARRAY_LABEL concode_field_sep int getCategoryLevel concode_elem_sep String getCategoryName concode_elem_sep ... | void function ( int arg0 ) { this . categoryLevel = arg0 ; } |
3,045 | used by the appmaster to write its address on hdfs . concode_field_sep int AM_CORES concode_elem_sep Path TKVS_JAR_PATH concode_elem_sep Path TKVS_CONFIG_PATH concode_elem_sep int TM_MEMORY concode_elem_sep String TKVS_JAR_NAME concode_elem_sep int TM_CORES concode_elem_sep int AM_MEMORY concode_elem_sep Path AM_ADDRES... | void function ( String arg0 ) { FileSystem loc0 = AM_ADDRESS_PATH . getFileSystem ( new YarnConfiguration ( ) ) ; PrintWriter loc1 = new PrintWriter ( new OutputStreamWriter ( loc0 . create ( AM_ADDRESS_PATH , true ) ) ) ; loc1 . print ( arg0 ) ; loc1 . close ( ) ; loc0 . close ( ) ; } |
3,046 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
3,047 | add a node on the end of a key value . concode_field_sep IndexNode[] EMPTY_NODES concode_elem_sep char[] remainderKey concode_elem_sep boolean unique concode_elem_sep IndexNode[] nodes concode_elem_sep Object value concode_elem_sep char digit concode_field_sep void addRemainderKey concode_elem_sep void addRemainderKey ... | void function ( char arg0 , long arg1 ) { IndexNode loc0 = addNode ( arg0 ) ; if ( loc0 . remainderKey != null ) loc0 . moveRemainderValue ( ) ; loc0 . saveValue ( arg1 ) ; } |
3,048 | if set to true , there are more streams available to list . concode_field_sep com.amazonaws.internal.SdkInternalList<String> streamNames concode_elem_sep Boolean hasMoreStreams concode_field_sep ListStreamsResult withHasMoreStreams concode_elem_sep ListStreamsResult withStreamNames concode_elem_sep ListStreamsResult wi... | Boolean function ( ) { return this . hasMoreStreams ; } |
3,049 | used in conjunction with #verifyidentity byte to provethat we actually own the private key of the given key pair . concode_field_sep InputStream in concode_elem_sep DataOutputStream dout concode_elem_sep DataInputStream din concode_elem_sep OutputStream out concode_field_sep void writeByteArray concode_elem_sep PublicK... | void function ( byte [ ] arg0 , KeyPair arg1 ) { String loc0 = detectKeyAlgorithm ( arg1 ) ; writeUTF ( loc0 ) ; writeKey ( arg1 . getPublic ( ) ) ; Signature loc1 = Signature . getInstance ( "srini_string" + loc0 ) ; loc1 . initSign ( arg1 . getPrivate ( ) ) ; loc1 . update ( arg1 . getPublic ( ) . getEncoded ( ) ) ; ... |
3,050 | called whenever the osgi framework starts our bundle concode_field_sep BundleContext context concode_field_sep void stop concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = arg0 ; } |
3,051 | method to retrieve a single itemtype with a matching itemid concode_field_sep String INITIAL_PRICE concode_elem_sep String IMAGE concode_elem_sep String BID_COUNT concode_elem_sep String CURRENCY concode_elem_sep ItemType[] itemList concode_elem_sep Log log concode_elem_sep String SELLER concode_elem_sep String DATE_FO... | ItemType function ( String arg0 ) { ItemType [ ] loc0 = getSearchResults ( ) ; ItemType loc1 ; for ( int loc2 = 0 ; loc2 < loc0 . length ; loc2 ++ ) { loc1 = loc0 [ loc2 ] ; if ( arg0 . equals ( loc1 . getItemID ( ) ) ) { return loc1 ; } } return null ; } |
3,052 | set a capture probability before switching balls or the minimum probability for a specific ball concode_field_sep boolean strictBallType concode_elem_sep boolean useBestPokeball concode_elem_sep Pokeball pokeBall concode_elem_sep Inventories inventories concode_elem_sep double normalizedHitPosition concode_elem_sep dou... | CatchOptions function ( double arg0 ) { this . probability = arg0 ; return this ; } |
3,053 | retrieves the registered compiled statement identifier associated with the specified sql string , or a value less than zero , if no such statement has been registered . concode_field_sep Database database concode_elem_sep IntKeyHashMap sessionUseMap concode_elem_sep IntKeyHashMap schemaMap concode_elem_sep IntKeyHashMa... | int function ( HsqlName arg0 , String arg1 ) { IntValueHashMap loc0 = ( IntValueHashMap ) schemaMap . get ( arg0 . hashCode ( ) ) ; if ( loc0 == null ) { return - 1 ; } return loc0 . get ( arg1 , - 1 ) ; } |
3,054 | draw a given label at a given x , y position , expressed in pixels , with the lower-left-hand-corner of the view being 0,0 . concode_field_sep Canvas mCanvas concode_elem_sep float mTexelWidth concode_elem_sep int STATE_ADDING concode_elem_sep int mU concode_elem_sep int mV concode_elem_sep float baseline concode_elem_... | void function ( GL10 arg0 , float arg1 , float arg2 , int arg3 ) { checkState ( STATE_DRAWING , STATE_DRAWING ) ; Label loc0 = mLabels . get ( arg3 ) ; arg0 . glEnable ( GL10 . GL_TEXTURE_2D ) ; ( ( GL11 ) arg0 ) . glTexParameteriv ( GL10 . GL_TEXTURE_2D , GL11Ext . GL_TEXTURE_CROP_RECT_OES , loc0 . mCrop , 0 ) ; ( ( G... |
3,055 | given an index in the range 0 ... size -1 , returns the value from the indexth key-value mapping that this sparseintarray stores . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep int[] mValues concode_field_sep int keyAt concode_elem_sep int[] keys concode_elem_sep int[] values concode_elem_se... | int function ( int arg0 ) { return mValues [ arg0 ] ; } |
3,056 | sets the font render context . this is intented to be used in search keys only . concode_field_sep String string concode_elem_sep FontRenderContext fontRenderContext concode_elem_sep Font font concode_field_sep void setString concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setFont | void function ( FontRenderContext arg0 ) { fontRenderContext = arg0 ; } |
3,057 | immediately send every server packet with the given list of ids . concode_field_sep SortedPacketListenerList clientTimeoutListeners concode_elem_sep Executor asynchronousSender concode_elem_sep ConcurrentMap<Player,QueueContainer> playerSendingQueues concode_elem_sep PacketSendingQueue clientQueue concode_elem_sep Sort... | void function ( List < PacketType > arg0 , boolean arg1 ) { if ( ! cleaningUp ) { for ( QueueContainer loc0 : playerSendingQueues . values ( ) ) { loc0 . getServerQueue ( ) . signalPacketUpdate ( arg0 , arg1 ) ; } } } |
3,058 | returns true if the session is mediated over a socks proxy , false if this session is established through a direct connection between the initiator and target . concode_field_sep Socket socket concode_elem_sep boolean isDirect concode_field_sep void setReadTimeout concode_elem_sep int getReadTimeout concode_elem_sep Ou... | boolean function ( ) { return ! this . isDirect ; } |
3,059 | return true if the passed list is not null and not empty concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isValidString concode_elem_sep boolean isValidDirectory | boolean function ( List < ? > arg0 ) { return ( arg0 != null ) && ( arg0 . size ( ) > 0 ) ; } |
3,060 | browse to the specified local path starting with ' / ' . concode_field_sep String IGNORE_LIST_OPTION concode_elem_sep ArrayList<Media> mDiscovererMediaArray concode_elem_sep MediaList.EventListener mBrowserMediaListEventListener concode_elem_sep String[] DISCOVERER_LIST concode_elem_sep EventListener mEventListener con... | void function ( String arg0 ) { final Media loc0 = new Media ( mLibVlc , arg0 ) ; browse ( loc0 ) ; loc0 . release ( ) ; } |
3,061 | add a signature to the message . concode_field_sep String consumerSecret concode_elem_sep Base64 BASE64 concode_elem_sep Map<String,Class> NAME_TO_CLASS concode_elem_sep String _ACCESSOR concode_elem_sep Map.Entry value concode_elem_sep String tokenSecret concode_elem_sep String key concode_field_sep String base64Encod... | void function ( OAuthMessage arg0 ) { arg0 . addParameter ( new OAuth . Parameter ( "srini_string" , getSignature ( arg0 ) ) ) ; } |
3,062 | returns the current value of the mark . concode_field_sep T reference concode_elem_sep sun.misc.Unsafe UNSAFE concode_elem_sep long pairOffset concode_elem_sep boolean mark concode_elem_sep Pair<V> pair concode_field_sep void set concode_elem_sep boolean weakCompareAndSet concode_elem_sep boolean compareAndSet concode_... | boolean function ( ) { return pair . mark ; } |
3,063 | sets the value of the x509serialnumber property . concode_field_sep BigInteger x509SerialNumber concode_elem_sep String x509IssuerName concode_field_sep void setX509IssuerName concode_elem_sep BigInteger getX509SerialNumber concode_elem_sep String getX509IssuerName | void function ( BigInteger arg0 ) { this . x509SerialNumber = arg0 ; } |
3,064 | returns the oauth consumer 's connect uri . if provided then it will be used to validate callback urls which consumer will provide during request token acquisition requests concode_field_sep String displayName concode_elem_sep String connectURI concode_elem_sep String[] permissions concode_elem_sep String secret concod... | String function ( ) { return connectURI ; } |
3,065 | get year in yyyy format based on provided date concode_field_sep Long localizedEpoch concode_field_sep int epochToClarionDate concode_elem_sep int date concode_elem_sep int month concode_elem_sep int today concode_elem_sep int clock concode_elem_sep int day concode_elem_sep String age concode_elem_sep long clarionDateT... | int function ( int arg0 ) { Calendar loc0 = Calendar . getInstance ( ) ; loc0 . setTimeInMillis ( clarionDateToEpoch ( arg0 ) ) ; return loc0 . get ( Calendar . YEAR ) ; } |
3,066 | returns the total length of the entire tag entity concode_field_sep int INFRASTRUCTURE_SIZE concode_elem_sep int length concode_elem_sep byte[] bytes concode_elem_sep int offset concode_elem_sep int TYPE_LENGTH_SIZE concode_elem_sep byte type concode_elem_sep int TAG_LENGTH_SIZE concode_elem_sep int MAX_TAG_LENGTH conc... | int function ( ) { return this . length ; } |
3,067 | fill in the #value by data from the cdr stream . concode_field_sep ServiceContext[] value concode_field_sep org.omg.CORBA.TypeCode _type concode_elem_sep void _write | void function ( InputStream arg0 ) { value = ServiceContextListHelper . read ( arg0 ) ; } |
3,068 | returns the number of previously failed allocations of this shard . concode_field_sep Reason reason concode_elem_sep long unassignedTimeNanos concode_elem_sep long unassignedTimeMillis concode_elem_sep Throwable failure concode_elem_sep FormatDateTimeFormatter DATE_TIME_FORMATTER concode_elem_sep boolean delayed concod... | int function ( ) { return failedAllocations ; } |
3,069 | returns a point with the spreadsheet coordinates of the given inputlabel . note that this can also be used for names that include $ signs like `` $ a1 '' . concode_field_sep int MATCH_COLUMN_$ concode_elem_sep int MATCH_ROW_$ concode_elem_sep int MATCH_COLUMN concode_elem_sep RegExp spreadsheetPattern concode_elem_sep ... | GPoint function ( String arg0 ) { GPoint loc0 = spreadsheetIndices ( arg0 ) ; if ( loc0 . x >= 0 && loc0 . y >= 0 ) { return loc0 ; } return null ; } |
3,070 | get current typemarshallingcontext object concode_field_sep ThreadLocal<TypeMarshallingContext> contexts concode_elem_sep ClassLoader classLoader concode_elem_sep ThreadLocal<TypeMarshaller> marshallers concode_elem_sep IdentityHashMap knownObjects concode_field_sep void setTypeMarshaller concode_elem_sep String getTyp... | TypeMarshallingContext function ( ) { TypeMarshallingContext loc0 = contexts . get ( ) ; if ( loc0 == null ) { loc0 = new TypeMarshallingContext ( ) ; TypeMarshallingContext . setTypeMarshallingContext ( loc0 ) ; } return loc0 ; } |
3,071 | gets the default path . concode_field_sep String defaultClientEep concode_elem_sep String clientDestineXp concode_elem_sep boolean autoUpdate concode_elem_sep String defaultPath concode_elem_sep String defaultPathLocalConfig concode_elem_sep String version concode_elem_sep String applicationName concode_elem_sep String... | String function ( ) { return defaultPath ; } |
3,072 | returns historyactivity new object with rotated image data . only callable if isrotatesupported is true . concode_field_sep int width concode_elem_sep int height concode_field_sep boolean isCropSupported concode_elem_sep int getHeight concode_elem_sep byte[] getMatrix concode_elem_sep int getWidth concode_elem_sep bool... | LuminanceSource function ( ) { throw new RuntimeException ( "srini_string" ) ; } |
3,073 | method to loop through all children userbeans and move each to the bottom of the chat log concode_field_sep String DEFAULT_COLOR concode_elem_sep Vector colorList concode_elem_sep boolean stamp concode_elem_sep String[] ALL_COLORS concode_elem_sep Log log concode_elem_sep ChatState singleton concode_elem_sep Random gen... | void function ( ) { Iterator loc0 = userList . iterator ( ) ; UserBean loc1 ; while ( loc0 . hasNext ( ) ) { loc1 = ( UserBean ) loc0 . next ( ) ; if ( loc1 != null ) { loc1 . moveToBottom ( ) ; } else { loc0 . remove ( ) ; } } } |
3,074 | returns a new byte array containing the bytes corresponding to the given characters , encoded in utf-16be . all characters are representable in utf-16be . concode_field_sep Charset US_ASCII concode_elem_sep Charset UTF_8 concode_elem_sep Charset ISO_8859_1 concode_field_sep byte[] toAsciiBytes concode_elem_sep void asc... | byte [ ] function ( char [ ] arg0 , int arg1 , int arg2 ) { byte [ ] loc0 = new byte [ arg2 * 2 ] ; int loc1 = arg1 + arg2 ; int loc2 = 0 ; for ( int loc3 = arg1 ; loc3 < loc1 ; ++ loc3 ) { char loc4 = arg0 [ loc3 ] ; loc0 [ loc2 ++ ] = ( byte ) ( loc4 >> 8 ) ; loc0 [ loc2 ++ ] = ( byte ) loc4 ; } return loc0 ; } |
3,075 | get the baseline of a given label . that 's how many pixels from the top of the label to the text baseline . this is equivalent to the negative of the label 's paint 's ascent . concode_field_sep Canvas mCanvas concode_elem_sep float mTexelWidth concode_elem_sep int STATE_ADDING concode_elem_sep int mU concode_elem_sep... | float function ( int arg0 ) { return mLabels . get ( arg0 ) . baseline ; } |
3,076 | start building a stage chain . concode_field_sep Stage<DATA> rootStage concode_elem_sep Inflector<DATA,RESULT> inflector concode_elem_sep ChainableStage IDENTITY concode_elem_sep Deque<Function<DATA,DATA>> transformations concode_elem_sep Function<DATA,DATA> transformation concode_elem_sep ChainableStage<DATA> lastStag... | Stage . Builder < DATA > function ( ChainableStage < DATA > arg0 ) { return new StageChainBuilder < DATA > ( arg0 ) ; } |
3,077 | gets the etag concode_field_sep PlaceHolder placeHolder concode_field_sep HashMap<String,String> getMetadata concode_elem_sep String getDate concode_elem_sep String getContentMD5 concode_elem_sep String getRequestId concode_elem_sep HashMap<String,String> getValuesByHeaderPrefix | String function ( final HttpURLConnection arg0 ) { return arg0 . getHeaderField ( Constants . HeaderConstants . ETAG ) ; } |
3,078 | returns the response as a string decoded with the charset of the content-type header . if that header is either absent or lacks a charset , this will attempt to decode the response body as utf-8 . concode_field_sep Request request concode_elem_sep RawHeaders headers concode_elem_sep int code concode_elem_sep Reader rea... | String function ( ) { return new String ( bytes ( ) , charset ( ) . name ( ) ) ; } |
3,079 | gets the value of the uuid property . concode_field_sep List<Extension> extensions concode_elem_sep SubscriptionDurabilityEnum subscriptionDurability concode_elem_sep DestinationEnum destinationType concode_elem_sep String id concode_elem_sep String href concode_elem_sep String label concode_elem_sep QName type concode... | String function ( ) { return uuid ; } |
3,080 | sets the mute state of the audio device . concode_field_sep boolean opened concode_elem_sep int BUFFER_SIZE concode_elem_sep boolean mute concode_elem_sep int volume concode_elem_sep SourceDataLine sourceDataLine concode_elem_sep boolean playing concode_field_sep void play concode_elem_sep boolean isOpened concode_elem... | void function ( boolean arg0 ) { this . mute = arg0 ; if ( sourceDataLine != null ) { BooleanControl loc0 = ( BooleanControl ) sourceDataLine . getControl ( BooleanControl . Type . MUTE ) ; loc0 . setValue ( arg0 ) ; if ( ! arg0 ) { setVolume ( volume ) ; } } } |
3,081 | sets the value of the registeredfirstname property . concode_field_sep XMLGregorianCalendar loginStatusChangeDate concode_elem_sep String registrationStatus concode_elem_sep String registeredFirstName concode_elem_sep String subscriberId concode_elem_sep long serialVersionUID concode_elem_sep BigInteger authenticationF... | void function ( String arg0 ) { this . registeredFirstName = arg0 ; } |
3,082 | set host address e.g. ipv4 . concode_field_sep String traceId concode_elem_sep String componentType concode_elem_sep String hostName concode_elem_sep Set<Property> properties concode_elem_sep boolean initial concode_elem_sep long timestamp concode_elem_sep long actual concode_elem_sep NodeType type concode_elem_sep Str... | void function ( String arg0 ) { this . hostAddress = arg0 ; } |
3,083 | does this message have a sender ? concode_field_sep Settings settings concode_elem_sep int TYPE_MISC concode_elem_sep int type concode_elem_sep int TYPE_ACTION concode_elem_sep int NO_TYPE concode_elem_sep int TYPE_MESSAGE concode_elem_sep MessageRenderParams currentParams concode_elem_sep int NO_ICON concode_elem_sep ... | boolean function ( ) { return sender != null ; } |
3,084 | gets the value of the estimatetype property . concode_field_sep String estimateType concode_field_sep void setEstimateType | String function ( ) { return estimateType ; } |
3,085 | generate id for this repository concode_field_sep Repository parent concode_elem_sep String sshUrl concode_elem_sep int watchers concode_elem_sep String description concode_elem_sep String language concode_elem_sep boolean isPrivate concode_elem_sep Repository source concode_elem_sep int openIssues concode_elem_sep lon... | String function ( ) { final User loc0 = this . owner ; final String loc1 = this . name ; if ( loc0 == null || loc1 == null || loc1 . length ( ) == 0 ) return null ; final String loc2 = loc0 . getLogin ( ) ; if ( loc2 == null || loc2 . length ( ) == 0 ) return null ; return loc2 + "srini_string" + loc1 ; } |
3,086 | convert meters/second to local units concode_field_sep boolean metric concode_elem_sep double FT concode_elem_sep String GLIDE_VERTICAL concode_elem_sep String GLIDE_STATIONARY concode_elem_sep double MPH concode_elem_sep String GLIDE_LEVEL concode_elem_sep float KPHf concode_elem_sep float MPHf concode_elem_sep double... | String function ( double arg0 ) { return speed ( arg0 , 1 , true ) ; } |
3,087 | setup this object , which means that it is used and associated with an object . the object can be any java object that is useful for an implementation of abstractwmfpainter that uses this gdiobject.for example , if the painter paints in a java graphics2d : for a pen or brush gdiobject : the object will be a color for a... | void function ( int arg0 , Object arg1 ) { obj = arg1 ; type = arg0 ; used = true ; } |
3,088 | is this a standlaone environment ? concode_field_sep AgentImpl agent concode_elem_sep Log log concode_field_sep String getEid concode_elem_sep String getRole concode_elem_sep String getDisplayId concode_elem_sep AgentImpl getAgent concode_elem_sep String getEidById concode_elem_sep boolean isFileUploadAvailable concode... | boolean function ( ) { return false ; } |
3,089 | gets the value of the value property . concode_field_sep String name concode_elem_sep CardActionType action concode_elem_sep String value concode_elem_sep ApplicationIdentifierType applicationIdentifier concode_field_sep void setName concode_elem_sep void setAction concode_elem_sep String getName concode_elem_sep void ... | String function ( ) { return value ; } |
3,090 | gets the modulus value for the rsa key . concode_field_sep JsonObject keyParameters concode_field_sep String encode concode_elem_sep String getKeyAlgorithm concode_elem_sep RSAPublicKey toRSAPublicKey concode_elem_sep JsonObject getJsonObject concode_elem_sep String getPrivateExponent concode_elem_sep String getPrimeQ ... | String function ( ) { return getKeyParameter ( MODULUS ) ; } |
3,091 | gets the value of the border property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the border property . for example , to add a new item , do as f... | List < CTBorder > function ( ) { if ( border == null ) { border = new ArrayList < CTBorder > ( ) ; } return this . border ; } |
3,092 | set the return type and whether it 's inferred . concode_field_sep String name concode_elem_sep Node sourceNode concode_elem_sep JSTypeRegistry registry concode_elem_sep boolean isNativeType concode_elem_sep boolean inferredReturnType concode_elem_sep JSType returnType concode_elem_sep boolean isConstructor concode_ele... | FunctionBuilder function ( JSType arg0 , boolean arg1 ) { this . returnType = arg0 ; this . inferredReturnType = arg1 ; return this ; } |
3,093 | mark the resource as synchronized with a transaction . concode_field_sep int referenceCount concode_elem_sep boolean rollbackOnly concode_elem_sep boolean synchronizedWithTransaction concode_elem_sep boolean isVoid concode_elem_sep Date deadline concode_field_sep boolean isSynchronizedWithTransaction concode_elem_sep v... | void function ( boolean arg0 ) { this . synchronizedWithTransaction = arg0 ; } |
3,094 | set the resource adapter concode_field_sep String property concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep ManagedConnection createManagedConnection concode_elem_sep String getProperty concode_elem_sep void setLogWriter concode_elem_sep... | void function ( ResourceAdapter arg0 ) { this . ra = arg0 ; } |
3,095 | deserializes a value onto an object 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 serialize concode_elem_sep PersistedData serializeValue | void function ( Object arg0 , FieldMetadata < ? , ? > arg1 , PersistedData arg2 , DeserializationContext arg3 ) { TypeHandler < ? > loc0 = getHandlerFor ( arg1 ) ; Object loc1 = loc0 . deserialize ( arg2 , arg3 ) ; if ( loc1 != null ) { arg1 . setValue ( arg0 , loc1 ) ; } } |
3,096 | returns the currently in-flight delete operations concode_field_sep String INDEX_TOTAL concode_elem_sep long indexCurrent concode_elem_sep String NOOP_UPDATE_TOTAL concode_elem_sep String DELETE_CURRENT concode_elem_sep Map<String,Stats> typeStats concode_elem_sep String DELETE_TOTAL concode_elem_sep String DELETE_TIME... | long function ( ) { return deleteCurrent ; } |
3,097 | handle activity result . call this method from your activity 's onactivityresult callback . concode_field_sep IabHelper.OnConsumeFinishedListener mConsumeFinishedListener concode_elem_sep String TAG concode_elem_sep InterfaceIAP mAdapter concode_elem_sep IabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener... | boolean function ( int arg0 , int arg1 , Intent arg2 ) { LogD ( "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" ) ; return mHelper . handleActivityResult ( arg0 , arg1 , arg2 ) ; } |
3,098 | get the retrycount value . concode_field_sep String taskRootDirectory concode_elem_sep int retryCount concode_elem_sep DateTime lastRetryTime concode_elem_sep Integer exitCode concode_elem_sep DateTime startTime concode_elem_sep String taskRootDirectoryUrl concode_elem_sep DateTime endTime concode_elem_sep JobPreparati... | int function ( ) { return this . retryCount ; } |
3,099 | turn off the default instrument . typically , you will not call this directly . it will be called at the appropriate time by the audioouput you schedule a note with . concode_field_sep AudioOutput output concode_elem_sep Damp toneEnv concode_elem_sep Noise noiseGen concode_elem_sep Damp noiseEnv concode_elem_sep Oscil ... | void function ( ) { summer . unpatch ( output ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.