idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
6,100 | starts using a new executorservice to carry out executions . the older executorservice will be shut down but it 's still expected tocomplete whatever they are doing and scheduled . concode_field_sep Runnable item concode_elem_sep boolean queued concode_elem_sep ExecutorService executors concode_elem_sep Map<Runnable,Qu... | void function ( ExecutorService arg0 ) { ExecutorService loc0 = this . executors ; this . executors = arg0 ; loc0 . shutdown ( ) ; } |
6,101 | creates an arraytype by specifying the data type of elements elementtype . the field of containsnull is set to true . concode_field_sep DataType StringType concode_elem_sep DataType BinaryType concode_elem_sep DataType TimestampType concode_elem_sep DataType LongType concode_elem_sep DataType DoubleType concode_elem_se... | ArrayType function ( DataType arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return new ArrayType ( arg0 , true ) ; } |
6,102 | creates an http entity for requests with appropriate header for basic authentication . concode_field_sep Log log concode_elem_sep ConfigurationService configurationService concode_elem_sep String PING_PATH concode_elem_sep DataValueService dataValueService concode_elem_sep CurrentUserService currentUserService concode_... | HttpEntity < T > function ( String arg0 , String arg1 ) { HttpHeaders loc0 = new HttpHeaders ( ) ; loc0 . set ( HEADER_AUTHORIZATION , CodecUtils . getBasicAuthString ( arg0 , arg1 ) ) ; return new HttpEntity < > ( loc0 ) ; } |
6,103 | returns the navigation item 's layout . concode_field_sep ThemeDisplay _themeDisplay concode_elem_sep List<NavItem> _children concode_elem_sep Layout _layout concode_elem_sep List<NavItem> _browsableChildren concode_elem_sep Map<String,Object> _contextObjects concode_elem_sep HttpServletRequest _request concode_field_s... | Layout function ( ) { return _layout ; } |
6,104 | returns the problem used to set the h function . concode_field_sep ContinuousFunction fda2_h concode_elem_sep FunctionOptimisationProblem fda2_h_problem concode_elem_sep long serialVersionUID concode_elem_sep FunctionOptimisationProblem fda2_g_problem concode_elem_sep ContinuousFunction fda2_g concode_field_sep Functio... | FunctionOptimisationProblem function ( ) { return this . fda2_h_problem ; } |
6,105 | sets the actual members injector . concode_field_sep MembersInjector<T> delegate concode_elem_sep Object source concode_elem_sep TypeLiteral<T> type concode_field_sep T acceptVisitor concode_elem_sep void applyTo concode_elem_sep TypeLiteral<T> getType concode_elem_sep Object getSource concode_elem_sep MembersInjector<... | void function ( MembersInjector < T > arg0 ) { checkState ( this . delegate == null , "srini_string" ) ; this . delegate = checkNotNull ( arg0 , "srini_string" ) ; } |
6,106 | add a field with the specified value without any validation . only appropriate for headers from the remote peer . concode_field_sep int responseCode concode_elem_sep String statusLine concode_elem_sep int httpMinorVersion concode_elem_sep String requestLine concode_elem_sep List<String> namesAndValues concode_elem_sep ... | void function ( String arg0 , String arg1 ) { namesAndValues . add ( arg0 ) ; namesAndValues . add ( arg1 . trim ( ) ) ; } |
6,107 | returns the streaming method in use , call this after #configure to get an accurate response . concode_field_sep AbstractPacketizer mPacketizer concode_elem_sep int mSocketId concode_elem_sep byte sPipeApi concode_elem_sep OutputStream mOutputStream concode_elem_sep ParcelFileDescriptor[] mParcelFileDescriptors concode... | byte function ( ) { return mMode ; } |
6,108 | sets the cache eviction time concode_field_sep long evictionTime concode_elem_sep long DEFAULT_MEMORY_LIMIT concode_elem_sep long hardMemoryLimit concode_elem_sep long DEFAULT_EVICTION_TIME concode_elem_sep EvictionPolicy DEFAULT_EVICTION_POLICY concode_elem_sep int concurrencyLevel concode_elem_sep long serialVersionU... | void function ( long arg0 ) { this . evictionTime = arg0 ; } |
6,109 | gets relevant data from a list . concode_field_sep int packetId concode_elem_sep int hopsNumber concode_elem_sep int last concode_elem_sep int netServiceType concode_elem_sep double bandwidth concode_elem_sep DecimalFormat num concode_elem_sep long pingSize concode_elem_sep Vector<Double> entryTimes concode_elem_sep lo... | String function ( Vector < Double > arg0 , int arg1 ) { String loc0 ; try { Double loc1 = arg0 . get ( arg1 ) ; double loc2 = loc1 . doubleValue ( ) ; loc0 = num . format ( loc2 ) ; } catch ( Exception loc1 ) { loc0 = "srini_string" ; } return loc0 ; } |
6,110 | retrieves the last name concode_field_sep String lastName concode_elem_sep String country concode_elem_sep String gender concode_elem_sep String displayName concode_elem_sep String language concode_elem_sep String firstName concode_elem_sep String dob concode_elem_sep String providerId concode_elem_sep String name conc... | String function ( ) { return lastName ; } |
6,111 | testing the desede encryption and decryption technique concode_field_sep KeySpec myKeySpec concode_elem_sep Cipher cipher concode_elem_sep String myEncryptionScheme concode_elem_sep String myEncryptionKey concode_elem_sep byte[] keyAsBytes concode_elem_sep SecretKeyFactory mySecretKeyFactory concode_elem_sep String UNI... | void function ( String arg0 [ ] ) { String loc0 = "srini_string" ; String loc1 = encrypt ( loc0 ) ; String loc2 = decrypt ( loc1 ) ; System . out . println ( "srini_string" + loc0 ) ; System . out . println ( "srini_string" + loc1 ) ; System . out . println ( "srini_string" + loc2 ) ; } |
6,112 | sets the serializer used when issuing org.reflections.reflections #save concode_field_sep Set<Scanner> scanners concode_elem_sep Set<URL> urls concode_elem_sep ExecutorService executorService concode_elem_sep ClassLoader[] classLoaders concode_elem_sep Serializer serializer concode_elem_sep Predicate<String> inputsFilt... | ConfigurationBuilder function ( Serializer arg0 ) { this . serializer = arg0 ; return this ; } |
6,113 | adds all of the specified vertices to the destination graph . the behavior of this operation is undefined if the specified vertex collection is modified while the operation is in progress . this method will invoke the graph #addvertex object method . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean a... | boolean function ( Graph < ? super V , ? super E > arg0 , Collection < ? extends V > arg1 ) { boolean loc0 = false ; for ( V loc1 : arg1 ) { loc0 |= arg0 . addVertex ( loc1 ) ; } return loc0 ; } |
6,114 | the disk start number stored in this extra field . concode_field_sep ZipEightByteInteger compressedSize concode_elem_sep ZipEightByteInteger relativeHeaderOffset concode_elem_sep ZipEightByteInteger size concode_elem_sep ZipLong diskStart concode_elem_sep String LFH_MUST_HAVE_BOTH_SIZES_MSG concode_elem_sep byte[] rawC... | void function ( ZipLong arg0 ) { diskStart = arg0 ; } |
6,115 | loads the given html content directly . concode_field_sep WebEngine webEngine concode_field_sep void load concode_elem_sep Object executeScript concode_elem_sep Worker<Void> getLoadWorker | void function ( String arg0 ) { webEngine . loadContent ( arg0 ) ; } |
6,116 | + gets the alignment for this layout . + concode_field_sep int _hgap concode_elem_sep int BOTTOM concode_elem_sep int _align concode_elem_sep int MIDDLE concode_elem_sep int _vgap concode_elem_sep int TOP concode_field_sep void setAlignment concode_elem_sep Dimension minimumSize concode_elem_sep void doLayout concode_e... | int function ( ) { return _align ; } |
6,117 | gets the value of the type property . concode_field_sep Long roid2 concode_elem_sep Long mcid concode_elem_sep Long roid1 concode_elem_sep SCompareType type concode_elem_sep Boolean sync concode_elem_sep Long serializerOid concode_field_sep void setRoid1 concode_elem_sep Long getSerializerOid concode_elem_sep Long getM... | SCompareType function ( ) { return type ; } |
6,118 | returns the scheme of the connection that requests authorization , for example http basic authentication . concode_field_sep String protocol concode_elem_sep RequestorType rt concode_elem_sep NetPermission requestPasswordAuthenticationPermission concode_elem_sep String scheme concode_elem_sep NetPermission setDefaultAu... | String function ( ) { return this . scheme ; } |
6,119 | gets the name2 value for this contact_detail . concode_field_sep java.lang.String msi_id concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String email_address concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String association concode_elem_sep boolean __... | java . lang . String function ( ) { return name2 ; } |
6,120 | returns the cipher suites to use for a connection . returns null if all of the sslsocket 's enabled cipher suites should be used . concode_field_sep ConnectionSpec COMPATIBLE_TLS concode_elem_sep boolean supportsTlsExtensions concode_elem_sep ConnectionSpec CLEARTEXT concode_elem_sep String[] tlsVersions concode_elem_s... | List < CipherSuite > function ( ) { if ( cipherSuites == null ) return null ; CipherSuite [ ] loc0 = new CipherSuite [ cipherSuites . length ] ; for ( int loc1 = 0 ; loc1 < cipherSuites . length ; loc1 ++ ) { loc0 [ loc1 ] = CipherSuite . forJavaName ( cipherSuites [ loc1 ] ) ; } return immutableList ( loc0 ) ; } |
6,121 | 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 ) ) ; } |
6,122 | called when an activity you launched exits , giving you the requestcode you started it with , the resultcode it returned , and any additional data from it . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceN... | void function ( int arg0 , int arg1 , Intent arg2 ) { } |
6,123 | returns the current feature type is the current layer is made of vector features , null otherwise concode_field_sep SimpleFeatureCollection currentFeatureCollection concode_elem_sep GetMapRequest request concode_elem_sep Layer currentLayer concode_elem_sep boolean superOverlayEnabled concode_elem_sep SimpleFeature curr... | SimpleFeatureType function ( ) { if ( currentLayer instanceof FeatureLayer ) { FeatureLayer loc0 = ( FeatureLayer ) currentLayer ; return ( SimpleFeatureType ) loc0 . getFeatureSource ( ) . getSchema ( ) ; } return null ; } |
6,124 | get the line number this frame points to in the file returned by #getfile . concode_field_sep int mLine concode_elem_sep String mFileName concode_elem_sep String mFile concode_elem_sep int mColumn concode_elem_sep String mMethod concode_field_sep StackFrame[] convertJavaStackTrace concode_elem_sep int getColumn concode... | int function ( ) { return mLine ; } |
6,125 | advanced application writers can use the #run org.apache.hadoop.mapreduce.reducer.context method tocontrol how the reduce task works . concode_field_sep PlaceHolder placeHolder concode_field_sep void reduce concode_elem_sep void cleanup concode_elem_sep void setup | void function ( Context arg0 ) { setup ( arg0 ) ; FileIterator loc0 = arg0 . getFileIterator ( ) ; while ( loc0 . hasNext ( ) ) { Iterable < VALUEIN > loc1 = ( Iterable < VALUEIN > ) loc0 . next ( ) ; reduce ( ( KEYIN ) loc0 . getKey ( ) , loc1 , arg0 ) ; } cleanup ( arg0 ) ; } |
6,126 | finds and returns the skew angle , doing first a sweep through a set of equal angles , and then doing a binary search until convergence . notes : in computing the differential line sum variance score , we sum the result over scanlines , but we always skip : at least one scanline not more than 10 % of the image height n... | float function ( Pix arg0 , float arg1 , float arg2 , int arg3 , int arg4 , float arg5 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; return nativeFindSkew ( arg0 . mNativePix , arg1 , arg2 , arg3 , arg4 , arg5 ) ; } |
6,127 | set the current tool id concode_field_sep long m_created concode_elem_sep String m_id concode_elem_sep SessionStore sessionStore concode_elem_sep Session m_session concode_elem_sep String m_context_id concode_elem_sep long serialVersionUID concode_elem_sep String m_tool_id concode_elem_sep boolean TERRACOTTA_CLUSTER co... | void function ( String arg0 ) { this . m_tool_id = arg0 ; } |
6,128 | increment player stats based on new results ; swap player one and player two stats concode_field_sep PlayerStats player1Stats concode_elem_sep PlayerStats player2Stats concode_field_sep PlayerStats getPlayer1Stats concode_elem_sep void increment concode_elem_sep String toString concode_elem_sep void incrementPlayer1Los... | void function ( GameResults arg0 ) { player1Stats . increment ( arg0 . player2Stats ) ; player2Stats . increment ( arg0 . player1Stats ) ; } |
6,129 | customize the log tag for your application , so that other apps using volley do n't mix their logs with yours . enable the log property for your tag before starting your app : adb shell setprop log.tag . < tag > concode_field_sep String TAG concode_elem_sep boolean ENABLED concode_elem_sep boolean mFinished concode_ele... | void function ( String arg0 ) { d ( "srini_string" , arg0 ) ; TAG = arg0 ; DEBUG = Log . isLoggable ( TAG , Log . VERBOSE ) ; } |
6,130 | configure the message type concode_field_sep String sourceId concode_elem_sep MessageType messageType concode_elem_sep List<String> drainUrls concode_elem_sep String sourceName concode_elem_sep String applicationId concode_elem_sep String message concode_elem_sep Date timestamp concode_field_sep MessageType getMessageT... | LoggregatorMessage function ( MessageType arg0 ) { this . messageType = arg0 ; return this ; } |
6,131 | some text . concode_field_sep InnerClassWithAnnotations anon concode_elem_sep String fFirstName concode_elem_sep String tThirdName concode_elem_sep String sSecondName concode_field_sep String method5 concode_elem_sep String method5 concode_elem_sep String method5 concode_elem_sep String method6 concode_elem_sep String ... | String function ( String arg0 ) { return "srini_string" ; } |
6,132 | get the start time of overlay . concode_field_sep long mStartTimeMs concode_elem_sep Map<String,String> mUserAttributes concode_elem_sep String mUniqueId concode_elem_sep MediaItem mMediaItem concode_elem_sep long mDurationMs concode_field_sep void setDuration concode_elem_sep void setUserAttribute concode_elem_sep lon... | long function ( ) { return mStartTimeMs ; } |
6,133 | returns the bookmarkmanager for a connection , if it does n't exist it is created . concode_field_sep Bookmarks bookmarks concode_elem_sep Object bookmarkLock concode_elem_sep Map<Connection,BookmarkManager> bookmarkManagerMap concode_elem_sep PrivateDataManager privateDataManager concode_field_sep Collection<Bookmarke... | BookmarkManager function ( Connection arg0 ) { BookmarkManager loc0 = ( BookmarkManager ) bookmarkManagerMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new BookmarkManager ( arg0 ) ; bookmarkManagerMap . put ( arg0 , loc0 ) ; } return loc0 ; } |
6,134 | assign a new list of permissions to existing list and/or un-assign permission from existing permission . patch concode_field_sep String authorizationStoreId concode_elem_sep String roleId concode_elem_sep String roleName concode_elem_sep AuthorizationStore authorizationStore concode_field_sep void updateGroups concode_... | void function ( List < Permission > arg0 , List < Permission > arg1 ) { authorizationStore . updatePermissionsInRole ( roleId , authorizationStoreId , arg0 , arg1 ) ; } |
6,135 | sets the spring bean id for this bean . concode_field_sep TrashEntryService _trashEntryService concode_field_sep java.lang.String getBeanIdentifier concode_elem_sep void setWrappedService concode_elem_sep TrashEntryService getWrappedTrashEntryService concode_elem_sep com.liferay.portlet.trash.model.TrashEntryList getEn... | void function ( java . lang . String arg0 ) { _trashEntryService . setBeanIdentifier ( arg0 ) ; } |
6,136 | draws the chart with a null info object to make sure that no exceptions are thrown a problem that was occurring at one point . concode_field_sep boolean flag concode_elem_sep JFreeChart chart concode_field_sep IntervalCategoryDataset createDataset concode_elem_sep Date date concode_elem_sep void chartChanged concode_el... | void function ( ) { try { BufferedImage loc0 = new BufferedImage ( 200 , 100 , BufferedImage . TYPE_INT_RGB ) ; Graphics2D loc1 = loc0 . createGraphics ( ) ; this . chart . draw ( loc1 , new Rectangle2D . Double ( 0 , 0 , 200 , 100 ) , null , null ) ; loc1 . dispose ( ) ; } catch ( Exception loc0 ) { fail ( "srini_stri... |
6,137 | registers a field decoration using the specified id . the lifecyle of the supplied image should be managed by the client . that is , it will never be disposed by this registry and the decoration should be removed from the registry if the image is ever disposed elsewhere . concode_field_sep Image image concode_elem_sep ... | void function ( String arg0 , String arg1 , Image arg2 ) { decorations . put ( arg0 , new Entry ( arg1 , arg2 ) ) ; recomputeMaximums ( ) ; } |
6,138 | add error message to a specific client . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String ... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } |
6,139 | this method is used to retrieve an array of field identifiers indicating the fields present in a resource record . note that the values in this array will be terminated by -1 . concode_field_sep int[] m_fields concode_elem_sep int m_count concode_elem_sep ProjectFile m_parentFile concode_elem_sep String[] m_resourceNam... | int [ ] function ( ) { m_fields [ m_count ] = - 1 ; return ( m_fields ) ; } |
6,140 | gets the value of the additionaldescription property . concode_field_sep String thumbnail concode_elem_sep String displayName concode_elem_sep String pageTitle concode_elem_sep String additionalDescription concode_elem_sep String description concode_elem_sep String fullImageDescription concode_elem_sep long serialVersi... | String function ( ) { return additionalDescription ; } |
6,141 | respond to server 's sasl token . concode_field_sep String secretKeyId concode_elem_sep SecretKeyHolder secretKeyHolder concode_elem_sep Logger logger concode_elem_sep SaslClient saslClient concode_elem_sep String expectedQop concode_field_sep byte[] firstToken concode_elem_sep void dispose concode_elem_sep void handle... | byte [ ] function ( byte [ ] arg0 ) { try { return saslClient != null ? saslClient . evaluateChallenge ( arg0 ) : new byte [ 0 ] ; } catch ( SaslException loc1 ) { throw Throwables . propagate ( loc1 ) ; } } |
6,142 | empty method concode_field_sep Patch patch concode_elem_sep Pspec[] pspec concode_field_sep void getstepsize concode_elem_sep boolean needsSubdivision concode_elem_sep boolean needsNonSamplingSubdivision concode_elem_sep boolean needsSamplingSubdivision concode_elem_sep int cullCheck | void function ( ) { } |
6,143 | the origin protocol policy to apply to your origin . returns a reference to this object so that method calls can be chained together . constraints : allowed values : http-only , match-viewer concode_field_sep Integer hTTPPort concode_elem_sep String originProtocolPolicy concode_elem_sep Integer hTTPSPort concode_elem_s... | CustomOrigin function ( OriginProtocolPolicy arg0 ) { this . originProtocolPolicy = arg0 . toString ( ) ; return this ; } |
6,144 | return true if the jni-based native crc extensions are available . concode_field_sep int CHECKSUM_CRC32 concode_elem_sep int CHECKSUM_CRC32C concode_field_sep void nativeComputeChunkedSums concode_elem_sep void verifyChunkedSumsByteArray concode_elem_sep void nativeComputeChunkedSumsByteArray concode_elem_sep void calc... | boolean function ( ) { return NativeCodeLoader . isNativeCodeLoaded ( ) ; } |
6,145 | gets the amended short text concode_field_sep String shortText concode_elem_sep String topicName concode_elem_sep String fullText concode_elem_sep String permission concode_field_sep String getFullText concode_elem_sep String getPermission concode_elem_sep String getTopicName | String function ( ) { return shortText ; } |
6,146 | returns true if this html tag has template variables . concode_field_sep int startIndex concode_elem_sep Map<String,VariableInfo> variables concode_elem_sep String nameValue concode_elem_sep String attributeValue concode_elem_sep int endIndex concode_elem_sep String idValue concode_field_sep boolean hasAttributeValue c... | boolean function ( ) { return variables . isEmpty ( ) ; } |
6,147 | sets the outputbuffer attribute of the decoder object concode_field_sep SampleBuffer output concode_elem_sep int outputFrequency concode_elem_sep SynthesisFilter filter1 concode_elem_sep SynthesisFilter filter2 concode_elem_sep int outputChannels concode_elem_sep LayerIIIDecoder decoder concode_field_sep int getOutputC... | void function ( SampleBuffer arg0 ) { output = arg0 ; } |
6,148 | creates a new scanex layer . concode_field_sep PlaceHolder placeHolder concode_field_sep TMSLayer createBingLayer concode_elem_sep void testTMSLayer concode_elem_sep TMSLayer createTmsLayer concode_elem_sep void test concode_elem_sep void setUpBeforeClass | TMSLayer function ( ) { return new TMSLayer ( new ImageryInfo ( "srini_string" , "srini_string" , "srini_string" , null , null ) ) ; } |
6,149 | apply the xpath and assert the number found with the given matcher . concode_field_sep XpathExpectationsHelper xpathHelper concode_field_sep RequestMatcher node concode_elem_sep RequestMatcher string concode_elem_sep RequestMatcher string concode_elem_sep RequestMatcher doesNotExist concode_elem_sep void match concode_... | RequestMatcher function ( final Matcher < ? super Double > arg0 ) { return new AbstractXpathRequestMatcher ( ) { @ Override protected void matchInternal ( MockClientHttpRequest arg1 ) throws Exception { xpathHelper . assertNumber ( arg1 . getBodyAsString ( ) , arg0 ) ; } } ; } |
6,150 | the id of the parameter value . concode_field_sep String stringValue concode_elem_sep String id concode_field_sep void setStringValue concode_elem_sep String getStringValue concode_elem_sep ParameterValue withStringValue concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ParameterValue clone... | ParameterValue function ( String arg0 ) { setId ( arg0 ) ; return this ; } |
6,151 | set the vertical gap . concode_field_sep long serialVersionUID concode_elem_sep int vgap concode_elem_sep int rows concode_elem_sep int cols concode_elem_sep int hgap concode_field_sep Dimension preferredLayoutSize concode_elem_sep void setColumns concode_elem_sep void removeLayoutComponent concode_elem_sep int getHgap... | void function ( int arg0 ) { if ( arg0 < 0 ) throw new IllegalArgumentException ( "srini_string" ) ; this . vgap = arg0 ; } |
6,152 | the provider of the rules package . concode_field_sep String provider concode_elem_sep String name concode_elem_sep String description concode_elem_sep String arn concode_elem_sep String version concode_field_sep void setName concode_elem_sep String getVersion concode_elem_sep String getName concode_elem_sep void setVe... | RulesPackage function ( String arg0 ) { setProvider ( arg0 ) ; return this ; } |
6,153 | calculates the u-statistic associated with the one-sided hypothesis that `` dominator '' stochastically dominates the other u-set . note that if s1 dominates s2 , we want to count the occurrences of points in s2 coming before points in s1 . concode_field_sep ExactMode exactMode concode_elem_sep SortedSet<Pair<Number,US... | long function ( final SortedSet < Pair < Number , USet >> arg0 , final USet arg1 ) { long loc0 = 0l ; int loc1 = 0 ; for ( final Pair < Number , USet > loc2 : arg0 ) { if ( loc2 . getRight ( ) != arg1 ) { ++ loc1 ; } else { loc0 += loc1 ; } } return loc0 ; } |
6,154 | for applications that use a persistent jdbc connection , this class can be used to encapsulate that connection . just strip out the sqlfile stuff if you do n't need that . concode_field_sep Connection conn concode_field_sep void main concode_elem_sep void executeFiles | Connection function ( ) { return conn ; } |
6,155 | called whenever image request fails , that is whenever failure drawable is set . concode_field_sep long mFailedRequests concode_elem_sep long mSuccessfulRequests concode_elem_sep long mSumOfWaitTime concode_elem_sep long mStartedRequests concode_elem_sep long mCancelledRequests concode_field_sep long getAverageWaitTime... | void function ( long arg0 ) { mSumOfWaitTime += arg0 ; mFailedRequests ++ ; } |
6,156 | allow document locator events concode_field_sep boolean allowPrefixMappings concode_elem_sep boolean allowIgnorableWhitespace concode_elem_sep boolean allowProcessingInstructions concode_elem_sep boolean allowDTDs concode_elem_sep boolean allowCDATA concode_elem_sep boolean allowDocuments concode_elem_sep ContentHandle... | SAXFilter function ( ) { this . allowDocumentLocators = true ; return this ; } |
6,157 | writes the end of the class . concode_field_sep SerializerFactory _serializerFactory concode_field_sep SerializerFactory findSerializerFactory concode_elem_sep void writeHeader concode_elem_sep boolean removeRef concode_elem_sep void writeByteBufferStart concode_elem_sep void writeRef concode_elem_sep boolean addRef co... | void function ( int arg0 ) { } |
6,158 | translates null or zero length value for address key to the special value serverconstants.sc _ default_address which causes serversockets to be constructed without specifying an inetaddress . concode_field_sep PlaceHolder placeHolder concode_field_sep void translateDefaultNoSystemExitProperty concode_elem_sep int getDe... | void function ( HsqlProperties arg0 ) { if ( arg0 == null ) { return ; } String loc0 = arg0 . getProperty ( SC_KEY_ADDRESS ) ; if ( StringUtil . isEmpty ( loc0 ) ) { arg0 . setProperty ( SC_KEY_ADDRESS , SC_DEFAULT_ADDRESS ) ; } } |
6,159 | override this method to do any setup needed before generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject conc... | void function ( GeneratorEntry arg0 ) { } |
6,160 | gets the value of the xml property . concode_field_sep String xml concode_field_sep void setXml | String function ( ) { return xml ; } |
6,161 | determines whether the #end_stream flag is set . only applies to data and headersframes . concode_field_sep short ACK concode_elem_sep short PRIORITY concode_elem_sep short PADDED concode_elem_sep short END_STREAM concode_elem_sep short END_HEADERS concode_elem_sep short value concode_field_sep boolean paddingPresent c... | boolean function ( ) { return isFlagSet ( END_STREAM ) ; } |
6,162 | set the name for the internship . concode_field_sep String name concode_elem_sep int applications concode_elem_sep String city concode_elem_sep int seats concode_elem_sep boolean applied concode_elem_sep boolean seen concode_elem_sep String department concode_elem_sep boolean favorite concode_elem_sep String company co... | void function ( String arg0 ) { this . name = arg0 ; } |
6,163 | register a client to a start receiving the specified command . concode_field_sep HashMap<String,Boolean> registeredCommands concode_elem_sep HashMap<String,SingleClient> clientMap concode_elem_sep List<ICommand> queuedCommands concode_field_sep void broadcastCommand concode_elem_sep List<ICommand> getQueuedCommands con... | void function ( String arg0 , Class < ? extends ICommand > arg1 ) { this . ensureClientInMap ( arg0 ) ; this . getClient ( arg0 ) . registerToCommand ( arg1 ) ; } |
6,164 | sets the lognode data will be sent to . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void pri... | void function ( LogNode arg0 ) { mLogNode = arg0 ; } |
6,165 | check the page index to see if there is a search result . concode_field_sep HashMap<Integer,WeakReference<PageText>> searchResultCache concode_elem_sep ArrayList<SearchTerm> searchTerms concode_field_sep void addPageSearchHit concode_elem_sep Set<Integer> getPageSearchHits concode_elem_sep void removeSearchTerm concode... | boolean function ( int arg0 ) { return searchResultCache . get ( arg0 ) != null ; } |
6,166 | returns whether this container is a view on a secondary database rather than directly on a primary database . this method does not exist in the standard java.util.map or java.util.collection interfaces . concode_field_sep DataView view concode_field_sep Iterator storedOrExternalIterator concode_elem_sep CursorConfig ge... | boolean function ( ) { return view . isSecondary ( ) ; } |
6,167 | add a message to the end of the table . if fetching success return true else false concode_field_sep Log logger concode_elem_sep JDBCMessageStore store concode_elem_sep String producerId concode_field_sep boolean cleanup concode_elem_sep void setId concode_elem_sep String getId | boolean function ( MessageContext arg0 ) { boolean loc0 = false ; try { loc0 = store . store ( arg0 ) ; store . enqueued ( ) ; } catch ( SynapseException loc1 ) { logger . error ( "srini_string" + arg0 . getMessageID ( ) , loc1 ) ; } return loc0 ; } |
6,168 | the external workflow execution to which the cancellation request was delivered . returns a reference to this object so that method calls can be chained together . concode_field_sep WorkflowExecution workflowExecution concode_elem_sep Long initiatedEventId concode_field_sep void setWorkflowExecution concode_elem_sep Wo... | ExternalWorkflowExecutionCancelRequestedEventAttributes function ( WorkflowExecution arg0 ) { this . workflowExecution = arg0 ; return this ; } |
6,169 | returns this algorithmparameters in their default encodingformat . the default encoding format is asn .1 . concode_field_sep Provider provider concode_elem_sep Engine ENGINE concode_elem_sep AlgorithmParametersSpi spiImpl concode_elem_sep boolean initialized concode_elem_sep String SEVICE concode_elem_sep String algori... | byte [ ] function ( ) { if ( ! initialized ) { throw new IOException ( "srini_string" ) ; } return spiImpl . engineGetEncoded ( ) ; } |
6,170 | returns the where member of delete operation . concode_field_sep String op concode_elem_sep List<Condition> where concode_elem_sep TableSchema tableSchema concode_field_sep TableSchema getTableSchema concode_elem_sep String getTable concode_elem_sep String getOp | List < Condition > function ( ) { return where ; } |
6,171 | get custom deserializer concode_field_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String lineItemActionType concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep org.apache.axis.description.TypeDesc getTypeDesc concode_elem_sep java.lan... | org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } |
6,172 | creates an empty org.w3c.dom.document using javax.xml.parsers.documentbuilderfactory concode_field_sep PlaceHolder placeHolder concode_field_sep String readAsString concode_elem_sep boolean isEmpty concode_elem_sep boolean isValidTag concode_elem_sep boolean isNotEmpty concode_elem_sep void writeDocumentToFile | Document function ( ) { DocumentBuilderFactory loc0 = DocumentBuilderFactory . newInstance ( ) ; DocumentBuilder loc1 = loc0 . newDocumentBuilder ( ) ; Document loc2 = loc1 . newDocument ( ) ; return loc2 ; } |
6,173 | call this after constructing to initialize the plugin . final because we want to be able to change args without breaking plugins . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep bool... | void function ( String arg0 , CordovaInterface arg1 , CordovaWebView arg2 , CordovaPreferences arg3 ) { assert this . cordova == null ; this . serviceName = arg0 ; this . cordova = arg1 ; this . webView = arg2 ; this . preferences = arg3 ; initialize ( arg1 , arg2 ) ; pluginInitialize ( ) ; } |
6,174 | returns the number of bytes per row concode_field_sep String NCOLS concode_elem_sep Map<String,Object> propertyMap concode_elem_sep String ULXMAP concode_elem_sep String LAYOUT concode_elem_sep String TOTALROWBYTES concode_elem_sep String NODATA concode_elem_sep String XDIM concode_elem_sep String NBANDS concode_elem_s... | int function ( ) { return ( Integer ) this . propertyMap . get ( TOTALROWBYTES ) ; } |
6,175 | returns the current stack of enclosing classes . the first element is the top of the stack , that is to say the currently visited class . concode_field_sep Set<MethodNode> methodsToBeVisited concode_elem_sep Set<Long> reportedErrors concode_elem_sep LinkedList<BinaryExpression> enclosingBinaryExpressions concode_elem_s... | List < Expression > function ( ) { return Collections . unmodifiableList ( enclosingMethodCalls ) ; } |
6,176 | get the value of typeleg concode_field_sep String typeleg concode_elem_sep boolean bio concode_elem_sep PropertyChangeSupport propertySupport concode_field_sep boolean isBio concode_elem_sep double prixFruits concode_elem_sep void setBio concode_elem_sep double prixLegumes concode_elem_sep void setTypeleg concode_elem_... | String function ( ) { return typeleg ; } |
6,177 | registers the given nhttprequesthandler as a handler for urismatching the given pattern . concode_field_sep UriPatternMatcher matcher concode_field_sep NHttpRequestHandler lookup concode_elem_sep void unregister concode_elem_sep void setHandlers | void function ( final String arg0 , final NHttpRequestHandler arg1 ) { matcher . register ( arg0 , arg1 ) ; } |
6,178 | atomically sets the element at position i to the given value and returns the old value . concode_field_sep Unsafe unsafe concode_elem_sep int base concode_elem_sep long[] array concode_elem_sep int scale concode_elem_sep long serialVersionUID concode_field_sep long rawIndex concode_elem_sep long getAndIncrement concode... | long function ( int arg0 , long arg1 ) { while ( true ) { long loc0 = get ( arg0 ) ; if ( compareAndSet ( arg0 , loc0 , arg1 ) ) return loc0 ; } } |
6,179 | a generic way of returning data from event handlers ... can we do better than this ? handle return values from invoked methods ? possibly ? concode_field_sep XulDomContainer xulDomContainer concode_elem_sep String name concode_elem_sep ReportDesignerContext reportDesignerContext concode_elem_sep DrillDownModelWrapper w... | Object function ( ) { return getModel ( ) ; } |
6,180 | get the execution status of this task . concode_field_sep long serialVersionUID concode_elem_sep int m_ExecutionStatus concode_elem_sep int FAILED concode_elem_sep int TO_BE_RUN concode_elem_sep String m_StatusMessage concode_elem_sep int FINISHED concode_elem_sep Object m_TaskResult concode_elem_sep int PROCESSING con... | int function ( ) { return m_ExecutionStatus ; } |
6,181 | sets the length of the buffer . the new length value is expected to be less than the current capacity and greater than or equal to 0 . concode_field_sep int len concode_elem_sep byte[] buffer concode_elem_sep long serialVersionUID concode_field_sep int byteAt concode_elem_sep void expand concode_elem_sep byte[] toByteA... | void function ( int arg0 ) { if ( arg0 < 0 || arg0 > this . buffer . length ) { throw new IndexOutOfBoundsException ( "srini_string" + arg0 + "srini_string" + this . buffer . length ) ; } this . len = arg0 ; } |
6,182 | checks that the given argument is positive or zero . if it is , throws illegalargumentexception . otherwise , returns the argument . concode_field_sep PlaceHolder placeHolder concode_field_sep T checkNotNull concode_elem_sep int intValue concode_elem_sep int checkPositive concode_elem_sep long checkPositive concode_ele... | int function ( int arg0 , String arg1 ) { if ( arg0 < 0 ) { throw new IllegalArgumentException ( arg1 + "srini_string" + arg0 + "srini_string" ) ; } return arg0 ; } |
6,183 | sets the id of this d a t a i t e m. concode_field_sep DATAITEM _dataitem concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep boolean isEscapedModel concode_elem_sep... | void function ( long arg0 ) { _dataitem . setId ( arg0 ) ; } |
6,184 | util method to write an attribute without the ns prefix concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.AssignPrivateIpAddressesResponseType localAssignPrivateIpAddressesResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void ... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { registerPrefix ( arg3 , arg0 ) ; arg3 . writeAttribute ( arg0 , arg1 , arg2 ) ; }... |
6,185 | invoked to indicate that a timed element has been added to the document . concode_field_sep PlaceHolder placeHolder concode_field_sep void elementDeactivated concode_elem_sep void intervalRemoved concode_elem_sep void elementRepeated concode_elem_sep void intervalCreated concode_elem_sep void intervalBegan concode_elem... | void function ( TimedElement arg0 ) { } |
6,186 | increase channel value . concode_field_sep boolean switchedOn concode_elem_sep List<BaseAction> suspendedActions concode_elem_sep List<BaseAction> actions concode_elem_sep int DMX_MIN_VALUE concode_elem_sep int DMX_MAX_VALUE concode_elem_sep Logger logger concode_elem_sep int value concode_elem_sep int channelId concod... | void function ( int arg0 ) { if ( arg0 < 0 ) { return ; } switchedOn = true ; if ( ! hasRunningActions ( ) ) { value = DmxUtil . capDmxValue ( value + DmxUtil . getByteFromPercentType ( new PercentType ( arg0 ) ) ) ; } else { for ( BaseAction loc0 : actions ) { loc0 . increase ( arg0 ) ; } } } |
6,187 | gets the value of the params property . concode_field_sep String methodName concode_elem_sep Params params concode_field_sep String getMethodName concode_elem_sep void setMethodName concode_elem_sep String toString concode_elem_sep void setParams | Params function ( ) { return this . params ; } |
6,188 | get petid concode_field_sep Long id concode_elem_sep Date shipDate concode_elem_sep String value concode_elem_sep StatusEnum status concode_elem_sep Boolean complete concode_elem_sep Long petId concode_elem_sep Integer quantity concode_field_sep Date getShipDate concode_elem_sep String toIndentedString concode_elem_sep... | Long function ( ) { return petId ; } |
6,189 | creates a new buildoptions instance for host . concode_field_sep ImmutableMap<Class<? extends FragmentOptions>,FragmentOptions> fragmentOptionsMap concode_elem_sep Map<Class<? extends FragmentOptions>,FragmentOptions> builderMap concode_elem_sep BuildOptions originalOptions concode_field_sep Builder add concode_elem_se... | BuildOptions function ( boolean arg0 ) { Builder loc0 = loc0 ( ) ; for ( FragmentOptions loc1 : fragmentOptionsMap . values ( ) ) { loc0 . add ( loc1 . getHost ( arg0 ) ) ; } return loc0 . build ( ) ; } |
6,190 | sets the primary key of this app . concode_field_sep App _app concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isDownloaded concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCache... | void function ( long arg0 ) { _app . setPrimaryKey ( arg0 ) ; } |
6,191 | returns a smallest key on the priority queue . concode_field_sep Key[] pq concode_elem_sep Comparator<Key> comparator concode_elem_sep MinPQ<Key> copy concode_elem_sep int N concode_field_sep Key next concode_elem_sep Key delMin concode_elem_sep boolean isMinHeap concode_elem_sep boolean isMinHeap concode_elem_sep void... | Key function ( ) { if ( isEmpty ( ) ) throw new NoSuchElementException ( "srini_string" ) ; return pq [ 1 ] ; } |
6,192 | sets an input stream to the content of this cache entry . concode_field_sep long expires concode_elem_sep String contentdisposition concode_elem_sep InputStream inStream concode_elem_sep String mimeType concode_elem_sep String encoding concode_elem_sep OutputStream outStream concode_elem_sep File outFile concode_elem_s... | void function ( InputStream arg0 ) { this . inStream = arg0 ; } |
6,193 | the elastic ip eip address for the cluster . returns a reference to this object so that method calls can be chained together . concode_field_sep String elasticIp concode_elem_sep String status concode_field_sep ElasticIpStatus withStatus concode_elem_sep int hashCode concode_elem_sep void setElasticIp concode_elem_sep ... | ElasticIpStatus function ( String arg0 ) { this . elasticIp = arg0 ; return this ; } |
6,194 | checks if specified locale object is valid concode_field_sep Locale defaultLocaleCache concode_elem_sep Log log concode_elem_sep List<Locale> localesAllowedListCache concode_field_sep void setLocalesAllowedListCache concode_elem_sep void globalPropertyDeleted concode_elem_sep void setDefaultLocaleCache concode_elem_sep... | boolean function ( Locale arg0 ) { try { return arg0 . getISO3Language ( ) != null && arg0 . getISO3Country ( ) != null ; } catch ( MissingResourceException loc0 ) { return false ; } } |
6,195 | create an instance of user concode_field_sep PlaceHolder placeHolder concode_field_sep UserResponse createUserResponse | User function ( ) { return new User ( ) ; } |
6,196 | updates the predicted state from the measurement . concode_field_sep long nativeObj concode_field_sep long KalmanFilter_2 concode_elem_sep long KalmanFilter_1 concode_elem_sep long KalmanFilter_0 concode_elem_sep Mat predict concode_elem_sep Mat predict concode_elem_sep void finalize concode_elem_sep long predict_0 con... | Mat function ( Mat arg0 ) { Mat loc0 = new Mat ( correct_0 ( nativeObj , arg0 . nativeObj ) ) ; return loc0 ; } |
6,197 | returns true if this valueitem is a valuelist variable . concode_field_sep Integer subType concode_elem_sep Number minValue concode_elem_sep Number maxValue concode_elem_sep Integer valueType concode_elem_sep String name concode_elem_sep boolean writeable concode_elem_sep Object value concode_elem_sep String[] valueLis... | boolean function ( ) { return valueList != null ; } |
6,198 | gets the value of the quantity property . concode_field_sep String componentNumbers concode_elem_sep RecordRef item concode_elem_sep Double quantity concode_elem_sep InventoryDetail componentInventoryDetail concode_elem_sep Double quantityOnHand concode_elem_sep String binNumbers concode_field_sep String getBinNumbers ... | Double function ( ) { return quantity ; } |
6,199 | get the width in pixels of a given label . concode_field_sep Canvas mCanvas concode_elem_sep int STATE_ADDING concode_elem_sep int mU concode_elem_sep int mV concode_elem_sep float baseline concode_elem_sep int mState concode_elem_sep ArrayList<Label> mLabels concode_elem_sep boolean mFullColor concode_elem_sep int STA... | float function ( int arg0 ) { return mLabels . get ( arg0 ) . width ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.