idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
7,100 | unlink a node from a linked list and link into the reclaimed list . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep boolean modified concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer conc... | void function ( int arg0 , int arg1 , int arg2 ) { if ( arg1 == - 1 ) { hashTable [ arg0 ] = linkTable [ arg2 ] ; } else { linkTable [ arg1 ] = linkTable [ arg2 ] ; } linkTable [ arg2 ] = reclaimedNodePointer ; reclaimedNodePointer = arg2 ; elementCount -- ; } |
7,101 | add an object in this queue . if the object is already in the waiting sub-queue , it is silently ignored . concode_field_sep HashMap<BasicNode,BasicNode> cancelList concode_elem_sep ThreadGroup threadGroup concode_elem_sep String name concode_elem_sep ArrayList<AbstractNodeTask> waitingQueue concode_elem_sep HashMap<Ba... | void function ( AbstractNodeTask arg0 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; waitingQueue . add ( arg0 ) ; notify ( ) ; } |
7,102 | waits to receive the response for at most a specified time , and returns the response message . concode_field_sep SettableFuture<RPCResponse> mResponse concode_field_sep void onResponseReceived | RPCResponse function ( long arg0 , TimeUnit arg1 ) { return mResponse . get ( arg0 , arg1 ) ; } |
7,103 | translate this textpattern into some other representation . for example , textpatterntranslatorspanquery translates it into lucene spanquerys . uses the searcher 's initial query execution context . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isSingleTokenNot concode_elem_sep int addRepetitionMa... | T function ( TextPatternTranslator < T > arg0 , Searcher arg1 ) { return translate ( arg0 , arg1 . getDefaultExecutionContext ( ) ) ; } |
7,104 | returns the agent . typically a caching agent . concode_field_sep Date date concode_elem_sep String agent concode_elem_sep String text concode_elem_sep Status status concode_field_sep void setAgent concode_elem_sep String getText concode_elem_sep void setDate concode_elem_sep Date getDate concode_elem_sep Status getSta... | String function ( ) { return agent ; } |
7,105 | hex encode the byte data writing it to the given output stream . concode_field_sep HexEncoder encoder concode_field_sep byte[] decode concode_elem_sep byte[] decode concode_elem_sep int decode | int function ( byte [ ] arg0 , OutputStream arg1 ) { return encoder . encode ( arg0 , 0 , arg0 . length , arg1 ) ; } |
7,106 | sets the value of the orderid property . concode_field_sep UnitType unitType concode_elem_sep List<ContendingLineItem> contendingLineItems concode_elem_sep Long availableUnits concode_elem_sep Long reservedUnits concode_elem_sep Long orderId concode_elem_sep Long deliveredUnits concode_elem_sep Long matchedUnits concod... | void function ( Long arg0 ) { this . orderId = arg0 ; } |
7,107 | allowed values of the parameter when its an enum type concode_field_sep String arrayType concode_elem_sep List<String> allowableValues concode_elem_sep String access concode_elem_sep String defaultValue concode_elem_sep String dataType concode_elem_sep VerbDefinition verb concode_elem_sep String name concode_elem_sep S... | RestOperationParamDefinition function ( String ... arg0 ) { setAllowableValues ( Arrays . asList ( arg0 ) ) ; return this ; } |
7,108 | get the contentlength value . concode_field_sep String ocpBatchFileMode concode_elem_sep String clientRequestId concode_elem_sep String requestId concode_elem_sep DateTimeRfc1123 ocpCreationTime concode_elem_sep String eTag concode_elem_sep Long contentLength concode_elem_sep DateTimeRfc1123 lastModified concode_elem_s... | Long function ( ) { return this . contentLength ; } |
7,109 | set a different anchor after the menu is inflated . concode_field_sep MenuPopup mMenuPopup concode_elem_sep MenuPanel mMenuPanel concode_elem_sep OnMenuItemLongClickListener mLongClickListener concode_elem_sep GeckoMenu mMenu concode_elem_sep OnDismissListener mDismissListener concode_elem_sep View mAnchor concode_elem... | void function ( View arg0 ) { mAnchor = arg0 ; if ( mMenuPopup . isShowing ( ) ) { mMenuPopup . dismiss ( ) ; mMenuPopup . showAsDropDown ( mAnchor ) ; } } |
7,110 | checks to see if back navigation is possible . concode_field_sep Destination selectedDestination concode_elem_sep ExampleImpl selectedExample concode_elem_sep Destination DESTINATION_SPLASH concode_elem_sep Destination DESTINATION_MENU concode_elem_sep Stack<String> history concode_elem_sep String selectedPanel concode... | boolean function ( ) { return ! history . isEmpty ( ) ; } |
7,111 | create an instance of urlmapping concode_field_sep PlaceHolder placeHolder concode_field_sep Menu createMenu concode_elem_sep Navigation createNavigation concode_elem_sep MenuItem createMenuItem concode_elem_sep Breadcrumb createBreadcrumb concode_elem_sep ViewPattern createViewPattern | UrlMapping function ( ) { return new UrlMapping ( ) ; } |
7,112 | estimates the number of output records in the projection , which is the same as in the underlying query . concode_field_sep Plan p concode_elem_sep Schema schema concode_elem_sep Iterator<Plan> iter concode_elem_sep boolean done concode_elem_sep ProjectPlan plan concode_field_sep Schema schema concode_elem_sep Plan nex... | long function ( ) { return p . recordsOutput ( ) ; } |
7,113 | creates a blob backed by the given bytes array . concode_field_sep PlaceHolder placeHolder concode_field_sep Blob createBlobWithExtension | Blob function ( byte [ ] arg0 , String arg1 , String arg2 ) { return new ByteArrayBlob ( arg0 , arg1 , arg2 ) ; } |
7,114 | count number of peer rows for current row concode_field_sep VectorContainer container concode_elem_sep List<WindowDataBatch> batches concode_elem_sep int outputCount concode_elem_sep org.slf4j.Logger logger concode_elem_sep VectorContainer internal concode_elem_sep WindowDataBatch current concode_elem_sep Partition par... | long function ( final int arg0 ) { long loc0 = 0 ; for ( WindowDataBatch loc1 : batches ) { final int loc2 = loc1 . getRecordCount ( ) ; for ( int loc3 = ( loc1 == current ) ? arg0 : 0 ; loc3 < loc2 ; loc3 ++ , loc0 ++ ) { if ( ! isPeer ( arg0 , current , loc3 , loc1 ) ) { break ; } } } return loc0 ; } |
7,115 | returns the cache manager used by this manager . concode_field_sep String httpSessionId concode_elem_sep long serialVersionUID concode_elem_sep Map<String,IViewingSession> sessions concode_elem_sep boolean expired concode_elem_sep int sessionCountThreshold concode_elem_sep long serialVersionUID concode_elem_sep Viewing... | ViewingCache function ( ) { return viewingCache ; } |
7,116 | set an object that will be used to resolve uris used in fn : document and related functions . concode_field_sep ErrorListener errorListener concode_elem_sep DateTimeValue currentDateTime concode_elem_sep Item contextItem concode_elem_sep HashMap parameters concode_elem_sep Configuration config concode_elem_sep URIResol... | void function ( URIResolver arg0 ) { uriResolver = arg0 ; } |
7,117 | returns the program currently in use . concode_field_sep Texture2dProgram mProgram concode_elem_sep SCREEN_ROTATION requestedOrientation concode_elem_sep Object mDrawLock concode_elem_sep Drawable2d mRectDrawable concode_elem_sep boolean mCorrectVerticalVideo concode_elem_sep int SIZEOF_FLOAT concode_elem_sep FloatBuff... | Texture2dProgram function ( ) { return mProgram ; } |
7,118 | add a filter to the container . concode_field_sep Server server concode_elem_sep String host concode_elem_sep String contextPath concode_elem_sep Context context concode_elem_sep int port concode_field_sep int getPort concode_elem_sep String getContextURL concode_elem_sep String getServletURL concode_elem_sep void stop... | void function ( String arg0 , Class arg1 ) { context . addFilter ( new FilterHolder ( arg1 ) , arg0 , 0 ) ; } |
7,119 | computes the turn cost in seconds for non-driving traversal modes . todo flamholz : this should probably account for whether there is a traffic light ? concode_field_sep Integer minRightTurnAngle concode_elem_sep Integer minLeftTurnAngle concode_elem_sep Integer maxLeftTurnAngle concode_elem_sep Double nonDrivingTurnCo... | double function ( IntersectionVertex arg0 , StreetEdge arg1 , StreetEdge arg2 , float arg3 , float arg4 ) { int loc0 = arg2 . getOutAngle ( ) ; int loc1 = arg1 . getInAngle ( ) ; int loc2 = Math . abs ( loc0 - loc1 ) ; if ( loc2 > 180 ) { loc2 = 360 - loc2 ; } return ( this . nonDrivingTurnCostFactor * loc2 ) / arg4 ; ... |
7,120 | a valid regular state must produce no issues . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphJavaValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart... | void function ( ) { prepareStateTest ( ) ; Entry loc0 = factory . createEntry ( ) ; region . getVertices ( ) . add ( loc0 ) ; createTransition ( loc0 , state ) ; assertTrue ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertIssueCount ( diagnostics , 0 ) ; } |
7,121 | create a builder with an @linkplain httpstatus #accepted accepted status . concode_field_sep PlaceHolder placeHolder concode_field_sep B allow concode_elem_sep HttpHeaders headers concode_elem_sep B headers concode_elem_sep HeadersBuilder<?> noContent concode_elem_sep B varyBy concode_elem_sep BodyBuilder badRequest co... | BodyBuilder function ( ) { return status ( HttpStatus . ACCEPTED ) ; } |
7,122 | sets the nivel value for this usuario . concode_field_sep java.lang.String senha concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String login concode_elem_sep java.lang.Integer nivel concode_... | void function ( java . lang . Integer arg0 ) { this . nivel = arg0 ; } |
7,123 | sends a file as a response to an http request concode_field_sep UserInfoProvider userProvider concode_elem_sep StorageIo storageIo concode_field_sep void sendJnlpFile concode_elem_sep UserInfoProvider getUserProvider concode_elem_sep StorageIo getStorageIo concode_elem_sep void doPost concode_elem_sep void doGet concod... | void function ( HttpServletResponse arg0 , String arg1 , String arg2 , byte [ ] arg3 ) { arg0 . setStatus ( HttpServletResponse . SC_OK ) ; arg0 . setHeader ( "srini_string" , "srini_string" = "srini_string" ) ; arg0 . setContentType ( arg2 ) ; arg0 . setContentLength ( arg3 . length ) ; OutputStream loc0 = arg0 . getO... |
7,124 | choose only one partition . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | int function ( String arg0 , int arg1 ) { return 0 ; } |
7,125 | called whenever the osgi framework stops our bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void start concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = null ; logger . debug ( "srini_string" ) ; } |
7,126 | sets the matrix values to identity concode_field_sep float[] mMat concode_field_sep void rotate concode_elem_sep boolean inverse concode_elem_sep void loadPerspective concode_elem_sep void set concode_elem_sep void loadOrtho concode_elem_sep void loadScale concode_elem_sep void loadFrustum concode_elem_sep boolean inve... | void function ( ) { mMat [ 0 ] = 1 ; mMat [ 1 ] = 0 ; mMat [ 2 ] = 0 ; mMat [ 3 ] = 0 ; mMat [ 4 ] = 0 ; mMat [ 5 ] = 1 ; mMat [ 6 ] = 0 ; mMat [ 7 ] = 0 ; mMat [ 8 ] = 0 ; mMat [ 9 ] = 0 ; mMat [ 10 ] = 1 ; mMat [ 11 ] = 0 ; mMat [ 12 ] = 0 ; mMat [ 13 ] = 0 ; mMat [ 14 ] = 0 ; mMat [ 15 ] = 1 ; } |
7,127 | sets location of publisher . concode_field_sep int STATUS_VALID concode_elem_sep String dataUrl concode_elem_sep int STATUS_PROCESSING concode_elem_sep long lastAccessTime concode_elem_sep String author concode_elem_sep int inboundLinks concode_elem_sep String htmlUrl concode_elem_sep String description concode_elem_se... | void function ( String arg0 ) { this . location = arg0 ; } |
7,128 | the url of the video or null if not specified . concode_field_sep Node mMediaNode concode_elem_sep String VIDEO_TYPE concode_elem_sep String HEIGHT concode_elem_sep String DELIVERY concode_elem_sep String WIDTH concode_field_sep Integer getHeight concode_elem_sep String getDelivery concode_elem_sep String getType conco... | String function ( ) { return XmlUtils . getNodeValue ( mMediaNode ) ; } |
7,129 | devolve o numero do cartao concode_field_sep Numero num concode_elem_sep Cor cor concode_field_sep int getValor concode_elem_sep boolean equals concode_elem_sep Cor getCor concode_elem_sep String toString concode_elem_sep int compareTo | Numero function ( ) { return num ; } |
7,130 | get a string representation of this database . concode_field_sep List<PseudoSequence> pseudoSequences concode_elem_sep Cluster cluster concode_field_sep void setCluster concode_elem_sep int size concode_elem_sep Set<Integer> getSequenceIDs concode_elem_sep void printDatabase concode_elem_sep List<PseudoSequence> getPse... | String function ( ) { } |
7,131 | field accessor for encumbrancedao concode_field_sep EncumbranceDao encumbranceDao concode_elem_sep org.apache.log4j.Logger LOG concode_field_sep Iterator findOpenEncumbrance concode_elem_sep Integer getOpenEncumbranceRecordCount concode_elem_sep void save concode_elem_sep Iterator getAllEncumbrances concode_elem_sep It... | void function ( EncumbranceDao arg0 ) { encumbranceDao = arg0 ; } |
7,132 | returns true if this key may be used to push changes . concode_field_sep String fingerprint concode_elem_sep String comment concode_elem_sep String toString concode_elem_sep AccessPermission permission concode_elem_sep long serialVersionUID concode_elem_sep String rawData concode_elem_sep PublicKey publicKey concode_fi... | boolean function ( ) { return permission . atLeast ( AccessPermission . PUSH ) ; } |
7,133 | get the standard rating status concode_field_sep String STANDARD_LAUNCH_OVER_KEY concode_elem_sep String PREFERENCE_NAME concode_elem_sep SharedPreferences sharedPreferences concode_elem_sep RatingPreferences instance concode_elem_sep String STANDARD_LAUNCH_MAX_KEY concode_elem_sep String SESSION_OVER_KEY concode_elem_... | boolean function ( ) { return sharedPreferences . getBoolean ( STANDARD_LAUNCH_OVER_KEY , false ) ; } |
7,134 | checks if testing is enabled . concode_field_sep boolean NO_SECURITY concode_elem_sep boolean DEBUG concode_field_sep boolean isDebuggingOn concode_elem_sep boolean isSecurityOn concode_elem_sep void setTesting concode_elem_sep boolean isSecurityOff concode_elem_sep boolean isDebuggingOff concode_elem_sep boolean isTes... | boolean function ( ) { return System . getProperty ( "srini_string" , "srini_string" ) . equals ( "srini_string" ) ; } |
7,135 | makes sure that the fields are in the proper ranges , by e.g. converting 32 january to 1 february , or month 0 to december of the year before . concode_field_sep int month concode_elem_sep int hour concode_elem_sep int year concode_elem_sep int day concode_elem_sep int minute concode_elem_sep int second concode_field_s... | void function ( ) { this . normalizeTime ( ) ; this . normalizeDate ( ) ; } |
7,136 | get the value of and enum from his key concode_field_sep Logger LOGGER concode_field_sep placeholderType placeHolder | T function ( final int arg0 , final Class < T > arg1 ) { for ( IKeyEnum loc0 : arg1 . getEnumConstants ( ) ) { if ( loc0 . getKey ( ) == arg0 ) { return ( T ) loc0 ; } } LOGGER . error ( "srini_string" + arg0 + "srini_string" + arg1 . getName ( ) ) ; return null ; } |
7,137 | an iam policy document that governs which aws accounts can create subscription filters against this destination . concode_field_sep Long creationTime concode_elem_sep String roleArn concode_elem_sep String destinationName concode_elem_sep String accessPolicy concode_elem_sep String arn concode_elem_sep String targetArn... | String function ( ) { return this . accessPolicy ; } |
7,138 | returns the ssl socket factory , or null if this is not an https address . concode_field_sep Proxy proxy concode_elem_sep List<String> transports concode_elem_sep int uriPort concode_elem_sep SSLSocketFactory sslSocketFactory concode_elem_sep HostnameVerifier hostnameVerifier concode_elem_sep OkAuthenticator authentica... | SSLSocketFactory function ( ) { return sslSocketFactory ; } |
7,139 | get primary file system path . concode_field_sep boolean finishing concode_elem_sep IgfsPath path concode_elem_sep byte[] CANCEL_MARKER concode_elem_sep GridFutureAdapter fut concode_elem_sep BlockingDeque<byte[]> queue concode_elem_sep byte[] FINISH_MARKER concode_elem_sep OutputStream out concode_field_sep boolean ca... | IgfsPath function ( ) { return path ; } |
7,140 | computes a java class name from a local name . this method faithfully implements the name mangling rule as specified in the jaxb spec . this method works like #manglenametoclassname string except that it looksfor `` getclass '' and returns something else . concode_field_sep PlaceHolder placeHolder concode_field_sep Cla... | String function ( @ NotNull String arg0 ) { return NameConverter . standard . toPropertyName ( arg0 ) ; } |
7,141 | creates an empty instance of segment and replaces the segment at specified position in the x12 transaction . the returned instance can be used to add elements to the segment . concode_field_sep ICommonsList<Segment> m_aSegments concode_elem_sep Context m_aContext concode_field_sep Iterator<Segment> iterator concode_ele... | Segment function ( final int arg0 ) { final Segment loc0 = new Segment ( m_aContext ) ; m_aSegments . set ( arg0 , loc0 ) ; return loc0 ; } |
7,142 | returns if the token marker supports tokens that span multiple lines . if this is true , the object using this token marker is required to pass all lines in the document to the marktokens method in turn . the default implementation returns true ; it should be overridden to return false on simpler token markers for incr... | boolean function ( ) { return true ; } |
7,143 | resolve the exception by iterating over the list of configured exception resolvers . the first one to return a modelandview instance wins . otherwise null is returned . concode_field_sep int order concode_elem_sep List<HandlerExceptionResolver> resolvers concode_field_sep void setOrder concode_elem_sep List<HandlerExce... | ModelAndView function ( HttpServletRequest arg0 , HttpServletResponse arg1 , Object arg2 , Exception arg3 ) { if ( resolvers != null ) { for ( HandlerExceptionResolver loc0 : resolvers ) { ModelAndView loc1 = loc0 . resolveException ( arg0 , arg1 , arg2 , arg3 ) ; if ( loc1 != null ) { return loc1 ; } } } return null ;... |
7,144 | tranlates unspecified no_system_exit property to false , the default typically required when a server is started from the command line . concode_field_sep PlaceHolder placeHolder concode_field_sep int getDefaultPort concode_elem_sep String[] listLocalInetAddressNames concode_elem_sep void translateDefaultDatabaseProper... | void function ( HsqlProperties arg0 ) { if ( arg0 == null ) { return ; } arg0 . setPropertyIfNotExists ( ServerProperties . sc_key_no_system_exit , "srini_string" ) ; } |
7,145 | makes an http head request to retrieve the last modified date of the given url . if the file : / / protocol is specified , then the lasttimestamp of the file is returned . concode_field_sep int MAX_REDIRECT_ATTEMPTS concode_elem_sep String HEAD concode_elem_sep String GET concode_elem_sep Logger LOGGER concode_field_se... | long function ( URL arg0 ) { return getLastModified ( arg0 , false ) ; } |
7,146 | the css condition that element has pseudo-class : last-child concode_field_sep int CHILD_AXIS concode_elem_sep int HOVER_PSEUDOCLASS concode_elem_sep int selectorID concode_elem_sep Selector siblingSelector concode_elem_sep String _name concode_elem_sep int _axis concode_elem_sep int FOCUS_PSEUDOCLASS concode_elem_sep ... | void function ( ) { _specificityC ++ ; addCondition ( Condition . createLastChildCondition ( ) ) ; } |
7,147 | optimize an objective function . concode_field_sep GoalType goal concode_elem_sep double[] upperBound concode_elem_sep MultivariateFunction function concode_elem_sep Incrementor evaluations concode_elem_sep double[] start concode_elem_sep double[] lowerBound concode_elem_sep ConvergenceChecker<PointValuePair> checker c... | PointValuePair function ( int arg0 , FUNC arg1 , GoalType arg2 , OptimizationData ... arg3 ) { return optimizeInternal ( arg0 , arg1 , arg2 , arg3 ) ; } |
7,148 | the db engine specific parameter type for the option group option . concode_field_sep String applyType concode_elem_sep String allowedValues concode_elem_sep String settingDescription concode_elem_sep String defaultValue concode_elem_sep Boolean isModifiable concode_elem_sep String settingName concode_field_sep void se... | void function ( String arg0 ) { this . applyType = arg0 ; } |
7,149 | uses the given jerseyclientconfiguration . concode_field_sep JerseyClientConfiguration configuration concode_elem_sep Environment environment concode_elem_sep Duration shutdownGracePeriod concode_elem_sep List<Class<?>> providers concode_elem_sep ObjectMapper objectMapper concode_elem_sep ExecutorService executorServic... | JerseyClientBuilder function ( JerseyClientConfiguration arg0 ) { this . configuration = arg0 ; apacheHttpClientBuilder . using ( arg0 ) ; return this ; } |
7,150 | register threadlocal in this context . after registration value of threadlocal from parent thread is copied to the child thread when method #wrap runnable or #wrap java.util.concurrent.callable . concode_field_sep Object[] previousValues concode_elem_sep ThreadLocal[] threadLocals concode_elem_sep Object[] values conco... | void function ( ThreadLocal < ? > arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( ) ; } toPropagate . addIfAbsent ( arg0 ) ; } |
7,151 | if it 's a repeating notification . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void cancel concode_elem_sep boolean ... | boolean function ( ) { return getOptions ( ) . getRepeatInterval ( ) > 0 ; } |
7,152 | generate a random string concode_field_sep String value concode_elem_sep Random random concode_field_sep String getValue concode_elem_sep String getValue concode_elem_sep String getValue concode_elem_sep void validateClientImageNotEmpty concode_elem_sep IMAGE_MIME_TYPE fromFileExtension concode_elem_sep int generateRan... | String function ( ) { final String loc0 = "srini_string" ; final int loc1 = generateRandomNumber ( ) ; final char [ ] loc2 = new char [ loc1 ] ; for ( int loc3 = 0 ; loc3 < loc1 ; loc3 ++ ) { loc2 [ loc3 ] = loc0 . charAt ( random . nextInt ( loc0 . loc1 ( ) ) ) ; } return new String ( loc2 ) ; } |
7,153 | reads the raw bytes following a type.int code . concode_field_sep DataInput in concode_elem_sep ThreadLocal tbIn concode_field_sep TreeMap readMap concode_elem_sep byte[] readRawDouble concode_elem_sep ArrayList readVector concode_elem_sep int readMapHeader concode_elem_sep List readList concode_elem_sep double readDou... | byte [ ] function ( ) { byte [ ] loc0 = new byte [ 5 ] ; loc0 [ 0 ] = ( byte ) Type . INT . code ; in . readFully ( loc0 , 1 , 4 ) ; return loc0 ; } |
7,154 | create an instance of navigationdefault concode_field_sep QName _ResourceReference_QNAME concode_elem_sep QName _Resource_QNAME concode_field_sep Example createExample concode_elem_sep Content createContent concode_elem_sep JAXBElement<ResourceType> createResource concode_elem_sep Navigation createNavigation concode_el... | NavigationDefault function ( ) { return new NavigationDefault ( ) ; } |
7,155 | returns a range of all the browser trackers . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.liferay.portal.kernel.dao.orm.queryutil... | java . util . List < com . liferay . portal . model . BrowserTracker > function ( int arg0 , int arg1 ) { return getService ( ) . getBrowserTrackers ( arg0 , arg1 ) ; } |
7,156 | describe getcolumnsize method here . concode_field_sep String name concode_elem_sep String narrTable concode_elem_sep int elementsNumber concode_elem_sep String thematicIdx concode_elem_sep String valDescTableName concode_elem_sep String colDesc concode_elem_sep char type concode_elem_sep char keyType concode_field_sep... | int function ( ) { return DataUtils . getDataTypeSize ( type ) * elementsNumber ; } |
7,157 | returns the mvcc version of this account . concode_field_sep Account _account 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... | long function ( ) { return _account . getMvccVersion ( ) ; } |
7,158 | by default , the following paste options are supported : pasteoption #normal : always others : never concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_elem_sep boolean canContain concode_elem_sep XMLResourc... | boolean function ( EObject arg0 , EStructuralFeature arg1 , PasteOption arg2 ) { if ( arg2 . equals ( PasteOption . NORMAL ) ) { return true ; } else { return false ; } } |
7,159 | save a memory dump in a binary format to a file . concode_field_sep Method ourDumpHeap concode_elem_sep String HOT_SPOT_BEAN_NAME concode_elem_sep Object ourMXBean concode_field_sep void captureMemoryDumpZipped concode_elem_sep Object run concode_elem_sep boolean memoryDumpAvailable | void function ( @ NotNull String arg0 ) { ourDumpHeap . invoke ( ourMXBean , arg0 , true ) ; } |
7,160 | return the module allocation path for the given container id . concode_field_sep PagingUtility<ModuleMetadata> pagingUtility concode_elem_sep String XD_MODULE_PROPERTIES_PREFIX concode_elem_sep ZooKeeperConnection zkConnection concode_elem_sep StreamRepository streamRepository concode_elem_sep JobRepository jobReposito... | String function ( String arg0 ) { return Paths . build ( Paths . MODULE_DEPLOYMENTS , Paths . ALLOCATED , arg0 ) ; } |
7,161 | returns true if the given state is currently active otherwise false . concode_field_sep SCInterfaceImpl sCInterface concode_elem_sep int nextStateIndex concode_elem_sep long myInt concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_elem_sep void setMyInt ... | boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_S1 : return stateVector [ 0 ] == State . main_region_S1 ; case main_region_S2 : return stateVector [ 0 ] == State . main_region_S2 ; case region2_a : return stateVector [ 1 ] == State . region2_a ; default : return false ; } } |
7,162 | runs a selftest concode_field_sep int[] m_block concode_elem_sep int DIGEST_SIZE concode_elem_sep int[] m_state concode_elem_sep int m_nBlockIndex concode_elem_sep String SELFTEST_MESSAGE concode_elem_sep long m_lCount concode_elem_sep byte[] m_digestBits concode_elem_sep String HEXTAB concode_elem_sep byte[] SELFTEST_... | boolean function ( ) { SHA1 loc0 = new SHA1 ( ) ; loc0 . update ( SELFTEST_MESSAGE ) ; loc0 . finalize ( ) ; byte [ ] loc1 = loc0 . getDigest ( ) ; loc0 . clear ( ) ; for ( int loc2 = 0 ; loc2 < DIGEST_SIZE ; loc2 ++ ) if ( loc1 [ loc2 ] != SELFTEST_DIGEST [ loc2 ] ) return false ; return true ; } |
7,163 | sets the doc value for this customerpaymentdeposit . concode_field_sep java.util.Calendar depositDate concode_elem_sep java.lang.Double total concode_elem_sep java.lang.Double amount concode_elem_sep java.lang.String refNum concode_elem_sep java.lang.Boolean apply concode_elem_sep java.lang.Long line concode_elem_sep j... | void function ( java . lang . Long arg0 ) { this . doc = arg0 ; } |
7,164 | return true if there are additional assets ; false otherwise . concode_field_sep java.util.Vector vector concode_elem_sep int i concode_field_sep osid.dr.Asset next | boolean function ( ) { return ( i < vector . size ( ) ) ; } |
7,165 | sac : implements org.w3c.css.sac.conditionfactory #createcontentcondition string . concode_field_sep String classLocalName concode_elem_sep String idNamespaceURI concode_elem_sep String classNamespaceURI concode_elem_sep String idLocalName concode_field_sep LangCondition createLangCondition concode_elem_sep CombinatorC... | ContentCondition function ( String arg0 ) { throw new CSSException ( "srini_string" ) ; } |
7,166 | get the oldest first element in the buffer . the oldest element is removed from the buffer . concode_field_sep int last concode_elem_sep int numElems concode_elem_sep int maxSize concode_elem_sep E[] ea concode_elem_sep int first concode_field_sep void add concode_elem_sep void init concode_elem_sep int getMaxSize conc... | E function ( ) { E loc0 = null ; if ( numElems > 0 ) { numElems -- ; loc0 = ea [ first ] ; ea [ first ] = null ; if ( ++ first == maxSize ) first = 0 ; } return loc0 ; } |
7,167 | returns the byte length of the utf string that would be created by converting the given characters to utf . concode_field_sep String EMPTY_STRING concode_elem_sep byte[] EMPTY_BYTES concode_field_sep int getCharLength concode_elem_sep int getCharLength concode_elem_sep void charsToBytes concode_elem_sep int bytesToChar... | int function ( char [ ] arg0 , int arg1 , int arg2 ) { int loc0 = 0 ; arg2 += arg1 ; for ( int loc1 = arg1 ; loc1 < arg2 ; loc1 ++ ) { int loc2 = arg0 [ loc1 ] ; if ( ( loc2 >= 0x0001 ) && ( loc2 <= 0x007F ) ) { loc0 ++ ; } else if ( loc2 > 0x07FF ) { loc0 += 3 ; } else { loc0 += 2 ; } } return loc0 ; } |
7,168 | test of preparemessageaction method , of class certificateverifyhandler . concode_field_sep CertificateVerifyHandler<CertificateVerifyMessage> handler concode_elem_sep TlsContext tlsContext concode_field_sep void testParseMessageAction | void function ( ) { } |
7,169 | a comma separated list of flag to be applied by default on each cache invocation , not applicable to remote caches . concode_field_sep boolean clusteredListener concode_elem_sep InfinispanCustomListener customListener concode_elem_sep String cacheName concode_elem_sep String host concode_elem_sep Flag[] flags concode_e... | void function ( String arg0 ) { String [ ] loc0 = arg0 . split ( "srini_string" ) ; this . flags = new Flag [ loc0 . length ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { this . flags [ loc1 ] = Flag . valueOf ( loc0 [ loc1 ] ) ; } } |
7,170 | sets the description value for this contentbundle . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep java.lang.String description concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Long ... | void function ( java . lang . String arg0 ) { this . description = arg0 ; } |
7,171 | json to list concode_field_sep String JSON concode_elem_sep String TEXT concode_elem_sep boolean NOCACHE_DEFAULT concode_elem_sep String XML concode_elem_sep String HTML concode_elem_sep String ENCODING_DEFAULT concode_elem_sep String NOCACHE_PREFIX concode_elem_sep String ENCODING_PREFIX concode_field_sep void renderH... | List < ? > function ( final String arg0 , Class < ? > arg1 ) { JSONArray loc0 = JSONArray . fromObject ( arg0 ) ; List < ? > loc1 = JSONArray . toList ( loc0 , arg1 ) ; return loc1 ; } |
7,172 | set if this fixture is a sensor . concode_field_sep org.jbox2d.dynamics.Fixture fixture concode_elem_sep Object userData concode_elem_sep Shape shape concode_elem_sep Filter filter concode_elem_sep Vec2 tmp concode_elem_sep Body body concode_field_sep float getRestitution concode_elem_sep Body getBody concode_elem_sep ... | void function ( boolean arg0 ) { fixture . setSensor ( arg0 ) ; } |
7,173 | returns rest status corresponding to this failure concode_field_sep String reason concode_elem_sep ShardId shardId concode_elem_sep String nodeId concode_elem_sep RestStatus status concode_field_sep String reason concode_elem_sep void writeTo concode_elem_sep void readFrom concode_elem_sep void toXContent concode_elem_... | RestStatus function ( ) { return status ; } |
7,174 | compare against another vector to see if they 're equal . concode_field_sep float x concode_elem_sep float y concode_elem_sep float z concode_elem_sep Vector3f ZERO concode_field_sep float getX concode_elem_sep void setY concode_elem_sep float getY concode_elem_sep void setX concode_elem_sep float getZ concode_elem_sep... | boolean function ( Object arg0 ) { if ( arg0 instanceof Vector3f ) { Vector3f loc0 = ( Vector3f ) arg0 ; return x == loc0 . x && y == loc0 . y && z == loc0 . z ; } return false ; } |
7,175 | get the user who received the request . concode_field_sep String REFUSE_ANSWER concode_elem_sep Key<User> receiver concode_elem_sep Key<User> sender concode_elem_sep Long id concode_elem_sep String ACCEPT_ANSWER concode_field_sep Long getId concode_elem_sep User getSender | User function ( ) { return ofy ( ) . load ( ) . key ( receiver ) . now ( ) ; } |
7,176 | returns the resource-bundle factory of current processing context . concode_field_sep DataFactory dataFactory concode_elem_sep DefaultDataSchema dataSchema concode_elem_sep DataRow dataRow concode_elem_sep ProcessingContext processingContext concode_elem_sep TableModel model concode_field_sep DataRow getDataRow concode... | ResourceBundleFactory function ( ) { return getProcessingContext ( ) . getResourceBundleFactory ( ) ; } |
7,177 | indicates whether this is the main route table . concode_field_sep String subnetId concode_elem_sep String routeTableId concode_elem_sep String routeTableAssociationId concode_elem_sep Boolean main concode_field_sep RouteTableAssociation withRouteTableAssociationId concode_elem_sep Boolean isMain concode_elem_sep void ... | void function ( Boolean arg0 ) { this . main = arg0 ; } |
7,178 | transform this call to an websocket url . concode_field_sep java.util.Random rand concode_field_sep String method concode_elem_sep Call unique concode_elem_sep String absoluteURL concode_elem_sep String absoluteURL concode_elem_sep String absoluteURL concode_elem_sep String url | String function ( boolean arg0 , String arg1 ) { return "srini_string" + ( arg0 ? "srini_string" : "srini_string" ) + "srini_string" + arg1 + this . url ( ) ; } |
7,179 | returns a copy of the current contents of the cache , ordered from least recently accessed to most recently accessed . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int createCount concode_elem_sep int maxSize concode_elem_sep ... | Map < K , V > function ( ) { return new LinkedHashMap < K , V > ( map ) ; } |
7,180 | util method to write an attribute with the ns prefix concode_field_sep com.amazon.ec2.DescribeTagsResponseType localDescribeTagsResponse concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep ... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , java . lang . String arg3 , javax . xml . stream . XMLStreamWriter arg4 ) { if ( arg4 . getPrefix ( arg1 ) == null ) { arg4 . writeNamespace ( arg0 , arg1 ) ; arg4 . setPrefix ( arg0 , arg1 ) ; } arg4 . writeAttribute ( ... |
7,181 | sets the reflection cam concode_field_sep FrameBuffer reflectionBuffer concode_elem_sep Camera reflectionCam concode_elem_sep ViewPort vp concode_elem_sep RenderManager rm concode_elem_sep Plane reflectionClipPlane concode_field_sep Camera getReflectionCam concode_elem_sep FrameBuffer getReflectionBuffer concode_elem_s... | void function ( Camera arg0 ) { this . reflectionCam = arg0 ; } |
7,182 | close the given jms session and ignore any thrown exception . this is useful for typical finally blocks in manual jms code . concode_field_sep Log logger concode_field_sep void rollbackIfNecessary concode_elem_sep void commitIfNecessary concode_elem_sep void closeQueueBrowser concode_elem_sep JmsException convertJmsAcc... | void function ( Session arg0 ) { if ( arg0 != null ) { try { arg0 . close ( ) ; } catch ( JMSException loc0 ) { logger . trace ( "srini_string" , loc0 ) ; } catch ( Throwable loc0 ) { logger . trace ( "srini_string" , loc0 ) ; } } } |
7,183 | returns total size of files in the snapshot that were processed so far concode_field_sep XContentBuilderString PROCESSED_SIZE_IN_BYTES concode_elem_sep XContentBuilderString NUMBER_OF_FILES concode_elem_sep XContentBuilderString PROCESSED_FILES concode_elem_sep XContentBuilderString TIME concode_elem_sep XContentBuilde... | long function ( ) { return processedSize ; } |
7,184 | returns the mean price observed in the market concode_field_sep Logger log concode_elem_sep BrokerPropertiesService propertiesService concode_elem_sep double[] marketPrice concode_elem_sep double buyLimitPriceMax concode_elem_sep double meanMarketPrice concode_elem_sep double buyLimitPriceMin concode_elem_sep HashMap<I... | double function ( ) { return meanMarketPrice ; } |
7,185 | get instance . concode_field_sep ApplicationContextHolder instance concode_elem_sep ApplicationContext applicationContext concode_field_sep ApplicationContext getApplicationContext concode_elem_sep void setApplicationContext | ApplicationContextHolder function ( ) { return instance ; } |
7,186 | gets the first name for this student . concode_field_sep int studentId concode_elem_sep String firstName concode_elem_sep String lastName concode_elem_sep String address concode_field_sep void setLastName concode_elem_sep int getStudentId concode_elem_sep void setAddress concode_elem_sep void setFirstName concode_elem_... | String function ( ) { return firstName ; } |
7,187 | tests if current class loader is bound to a context . concode_field_sep Hashtable clBindings concode_elem_sep Hashtable threadBindings concode_elem_sep Hashtable threadNameBindings concode_elem_sep StringManager sm concode_elem_sep Hashtable clNameBindings concode_elem_sep Hashtable contextNameBindings concode_field_se... | boolean function ( ) { ClassLoader loc0 = Thread . currentThread ( ) . getContextClassLoader ( ) ; do { if ( clBindings . containsKey ( loc0 ) ) { return true ; } } while ( ( loc0 = loc0 . getParent ( ) ) != null ) ; return false ; } |
7,188 | generate the port to be used as a client for the given receiver concode_field_sep String DNS_FILE_NAME concode_elem_sep String hostName concode_elem_sep List<Server> serverList concode_elem_sep float maxTemp concode_elem_sep int BARRIER_PORT_1 concode_elem_sep int instanceNumber concode_elem_sep List<Partition> partiti... | int function ( HostPortPair arg0 ) { return ( arg0 . getInstanceNumber ( ) - 1 ) * 2 + ( hostPortPair . getInstanceNumber ( ) - 1 ) + PORT_START ; } |
7,189 | only channelconfig #getmaxmessagesperread is used . concode_field_sep int totalBytesRead concode_elem_sep int maxMessagesPerRead concode_elem_sep int totalMessages concode_elem_sep int attemptedBytesRead concode_elem_sep ChannelConfig config concode_elem_sep int maxMessagePerRead concode_elem_sep int lastBytesRead conc... | void function ( ChannelConfig arg0 ) { this . config = arg0 ; maxMessagePerRead = maxMessagesPerRead ( ) ; totalMessages = totalBytesRead = 0 ; } |
7,190 | gets the value of the layout property . concode_field_sep Layout layout concode_elem_sep String mapping concode_elem_sep String styling concode_elem_sep String flavour concode_elem_sep Boolean bindClickToWidget concode_elem_sep Label label concode_elem_sep String align concode_elem_sep String value concode_field_sep St... | Layout function ( ) { return layout ; } |
7,191 | shared by reactscrollview and reacthorizontalscrollview . concode_field_sep long MOMENTUM_DELAY concode_field_sep void emitScrollMomentumBeginEvent concode_elem_sep void emitScrollBeginDragEvent concode_elem_sep void emitScrollEndDragEvent concode_elem_sep void emitScrollMomentumEndEvent | void function ( ViewGroup arg0 ) { emitScrollEvent ( arg0 , ScrollEventType . SCROLL ) ; } |
7,192 | indicates whether the contained signature for the encapsulated object is valid . concode_field_sep byte[] signature concode_elem_sep long serialVersionUID concode_elem_sep byte[] content concode_elem_sep String thealgorithm concode_field_sep Object getObject concode_elem_sep String getAlgorithm concode_elem_sep byte[] ... | boolean function ( PublicKey arg0 , Signature arg1 ) { arg1 . initVerify ( arg0 ) ; arg1 . update ( content ) ; return arg1 . verify ( signature ) ; } |
7,193 | retrieves value of the setting , with the given name . if there 's no setting with the given name , a default value is returned . concode_field_sep Map<String,String> settings concode_elem_sep Map<String,String> metadata concode_field_sep String getMetadata concode_elem_sep String getMetadata concode_elem_sep boolean g... | String function ( String arg0 , String arg1 ) { return StringUtils . defaultIfBlank ( settings . get ( arg0 ) , arg1 ) ; } |
7,194 | sets the index of an attribute value concode_field_sep int m_counter concode_elem_sep int m_totalTransactions concode_elem_sep long serialVersionUID concode_elem_sep int[] m_items concode_field_sep FastVector pruneItemSets concode_elem_sep void upDateCounter concode_elem_sep void pruneRules concode_elem_sep boolean con... | void function ( int arg0 , int arg1 ) { m_items [ arg1 ] = arg0 ; } |
7,195 | cancels all requests in this queue for which the given filter applies . concode_field_sep Map<String,Queue<Request<?>>> mWaitingRequests concode_elem_sep Set<Request<?>> mCurrentRequests concode_elem_sep PriorityBlockingQueue<Request<?>> mCacheQueue concode_elem_sep CacheDispatcher mCacheDispatcher concode_elem_sep Res... | void function ( RequestFilter arg0 ) { synchronized ( mCurrentRequests ) { for ( Request < ? > loc0 : mCurrentRequests ) { if ( arg0 . apply ( loc0 ) ) { loc0 . cancel ( ) ; } } } } |
7,196 | start the worker thread . concode_field_sep Thread thread concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void setValue concode_elem_sep void clear concode_elem_sep void interrupt concode_elem_s... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { loc0 . start ( ) ; } } |
7,197 | returns a string representing the object . concode_field_sep AxisLocation BOTTOM_OR_LEFT concode_elem_sep AxisLocation BOTTOM_OR_RIGHT concode_elem_sep AxisLocation TOP_OR_LEFT concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep AxisLocation TOP_OR_RIGHT concode_field_sep Object readRes... | String function ( ) { return this . name ; } |
7,198 | locate element on the page concode_field_sep Driver driver concode_elem_sep URL testURL concode_field_sep void hoverOverElement concode_elem_sep String randomNumberOfLength concode_elem_sep void checkMessage concode_elem_sep void checkMessage concode_elem_sep Boolean verifyElement concode_elem_sep String generateEmail ... | WebElement function ( By arg0 ) { try { WebElement loc0 = driver . getDriver ( ) . findElement ( arg0 ) ; return loc0 ; } catch ( NoSuchElementException loc0 ) { throw new NoSuchElementException ( "srini_string" ) ; } } |
7,199 | sets a custom xml data format to be used . important : this option is only for setting a custom name of the data format , not to refer to an existing data format instance . concode_field_sep String CORS_ACCESS_CONTROL_ALLOW_ORIGIN concode_elem_sep String scheme concode_elem_sep String apiContextPath concode_elem_sep Ma... | void function ( String arg0 ) { this . xmlDataFormat = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.