idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
10,200 | get the emr cluster id concode_field_sep String bucketName concode_elem_sep String secretKey concode_elem_sep READER_MODE readerMode concode_elem_sep String tableName concode_elem_sep String emrClusterId concode_elem_sep String redshiftDelimiter concode_elem_sep JdbcTransactionalStore store concode_elem_sep String acce... | String function ( ) { return emrClusterId ; } |
10,201 | the id of the lambdafunctionstarted event recorded in the history . concode_field_sep String result concode_elem_sep Long startedEventId concode_elem_sep Long scheduledEventId concode_field_sep Long getStartedEventId concode_elem_sep Long getScheduledEventId concode_elem_sep void setScheduledEventId concode_elem_sep vo... | void function ( Long arg0 ) { this . startedEventId = arg0 ; } |
10,202 | is the given file suported by image analyzer : ie , does it have a supported mime type . if no mime type is found , does it have a supported extension or a jpeg header . concode_field_sep Set<String> supportedMimes concode_elem_sep String MODULE_NAME concode_elem_sep Set<String> imageMimes concode_elem_sep Set<String> ... | Boolean function ( AbstractFile arg0 ) { return Optional . ofNullable ( hasSupportedMimeType ( arg0 ) ) . orElseGet ( ( ) -> { return supportedExtensions . contains ( getFileExtension ( arg0 ) ) || ImageUtils . isJpegFileHeader ( arg0 ) ; } ) ; } |
10,203 | returns the allowed methods of this rule . concode_field_sep String AllowedMethod concode_elem_sep List<String> allowedOrigins concode_elem_sep List<String> exposedHeaders concode_elem_sep List<String> allowedHeaders concode_elem_sep String id concode_elem_sep List<AllowedMethods> allowedMethods concode_elem_sep int ma... | List < AllowedMethods > function ( ) { return allowedMethods ; } |
10,204 | replies the list of data source bounds . dataset maintains a list of data sources which have been merged into the data set . each of these sources can optionally declare a bounding box of the data it supplied to the dataset . this method replies the list of defined non null bounding boxes . concode_field_sep String ori... | List < Bounds > function ( Collection < DataSource > arg0 ) { if ( arg0 == null ) { return null ; } List < Bounds > loc0 = new ArrayList < > ( arg0 . size ( ) ) ; for ( DataSource loc1 : arg0 ) { if ( loc1 . bounds != null ) { loc0 . add ( loc1 . bounds ) ; } } return loc0 ; } |
10,205 | asserts that two shorts are equal . if they are not an assertionfailederror is thrown with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertNotEmpty concode_elem_sep void assertNotEmpty concode_elem_sep void failNotSame concode_elem_sep void assertFalse concode_elem_sep void as... | void function ( String arg0 , short arg1 , short arg2 ) { assertEquals ( arg0 , new Short ( arg1 ) , new Short ( arg2 ) ) ; } |
10,206 | returns the state machine reference of the event . concode_field_sep boolean periodic concode_elem_sep int index concode_elem_sep ITimedStatemachine statemachine concode_field_sep boolean isPeriodic concode_elem_sep int getIndex concode_elem_sep void setStatemachine | ITimedStatemachine function ( ) { return statemachine ; } |
10,207 | runs emptiness query for given size . returns if sat . appends output to out out may be null . concode_field_sep PlaceHolder placeHolder concode_field_sep Pair<Boolean,Double> run concode_elem_sep Pair<Boolean,Double> runIntersection | Pair < Boolean , Double > function ( int arg0 , StringBuilder arg1 , File arg2 ) { return run ( arg0 , arg1 , "srini_string" , arg2 ) ; } |
10,208 | return the position concode_field_sep Image img concode_elem_sep Map foreignAttributes concode_elem_sep Rectangle2D pos concode_elem_sep Point origin concode_elem_sep RendererContext rendererContext concode_elem_sep String uri concode_elem_sep ImageInfo info concode_field_sep ImageInfo getImageInfo concode_elem_sep Poi... | Rectangle2D function ( ) { return this . pos ; } |
10,209 | get the iproject containing the given eobject concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean projectExists concode_elem_sep FeatureCo... | IProject function ( EObject arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } |
10,210 | configure a chain of resource resolvers and transformers to use . this can be useful , for example , to apply a version strategy to resource urls . if this method is not invoked , by default only a simple pathresourceresolver is used in order to match url paths toresources under the configured locations . concode_field... | ResourceChainRegistration function ( boolean arg0 ) { this . resourceChainRegistration = new ResourceChainRegistration ( arg0 ) ; return this . resourceChainRegistration ; } |
10,211 | decodes the sql type object value to the java type of the property . concode_field_sep Type sqlType concode_elem_sep boolean hidden concode_elem_sep T defaultValue concode_elem_sep String name concode_elem_sep String description concode_elem_sep Function<Object,T> decoder concode_elem_sep Function<T,Object> encoder con... | T function ( Object arg0 ) { return decoder . apply ( arg0 ) ; } |
10,212 | fill this all with 0l . concode_field_sep long baseOffset concode_elem_sep MemoryBlock memory concode_elem_sep long WIDTH concode_elem_sep long length concode_elem_sep Object baseObj concode_field_sep void set concode_elem_sep long size concode_elem_sep long get concode_elem_sep Object getBaseObject concode_elem_sep Me... | void function ( ) { for ( long loc0 = baseOffset ; loc0 < baseOffset + length * WIDTH ; loc0 += WIDTH ) { Platform . putLong ( baseObj , loc0 , 0 ) ; } } |
10,213 | returns the configuration . concode_field_sep long readaheadLength concode_elem_sep long xceiverStopTimeout concode_elem_sep String minimumNameNodeVersion concode_elem_sep TrustedChannelResolver trustedChannelResolver concode_elem_sep boolean allowNonLocalLazyPersist concode_elem_sep boolean syncBehindWritesInBackgroun... | Configuration function ( ) { return conf ; } |
10,214 | implementation of qualifier interface . concode_field_sep long serialVersionUID concode_elem_sep String name concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getValue concode_elem_sep void setValue concode_elem_sep Qualifier clone concode_elem_sep String toString concode_elem_sep voi... | String function ( ) { return name ; } |
10,215 | returns lookup interface for maximum number of connections allowed per route . concode_field_sep int DEFAULT_MAX_TOTAL_CONNECTIONS concode_elem_sep ConnPerRoute DEFAULT_CONN_PER_ROUTE concode_field_sep void setMaxTotalConnections concode_elem_sep void setTimeout concode_elem_sep int getMaxTotalConnections concode_elem_... | ConnPerRoute function ( final HttpParams arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } ConnPerRoute loc0 = ( ConnPerRoute ) arg0 . getParameter ( MAX_CONNECTIONS_PER_ROUTE ) ; if ( loc0 == null ) { loc0 = DEFAULT_CONN_PER_ROUTE ; } return loc0 ; } |
10,216 | make the text italic . concode_field_sep Rgb MAGENTA concode_elem_sep Rgb fgColor concode_elem_sep int BOLD concode_elem_sep int UNDERLINE concode_elem_sep Rgb WHITE concode_elem_sep Rgb CYAN concode_elem_sep Rgb BLUE concode_elem_sep Rgb LIGHT_GRAY concode_elem_sep Rgb PINK concode_elem_sep Rgb RED concode_elem_sep in... | void function ( ) { this . style . set ( ITALIC ) ; } |
10,217 | untie key + index pair concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPrototype concode_elem_sep Object resolveAddress concode_elem_sep int tie concode_elem_sep int tied concode_elem_sep int instance concode_elem_sep int address concode_elem_sep int address concode_elem_sep int getAddressPrototyp... | void function ( String arg0 , int arg1 ) { CMemoryImpl . getInstance ( ) . untie ( arg0 , arg1 ) ; } |
10,218 | utility function to cast a type to a class . this throws an unchecked exception if the type is not a class . the idea here is that these type references should have been checked for reasonableness before the point of calls to this function . concode_field_sep Logger LOG concode_field_sep AegisType getReadType concode_e... | Class < ? > function ( Type arg0 , boolean arg1 ) { if ( arg0 instanceof Class ) { return ( Class < ? > ) arg0 ; } else if ( arg1 ) { throw new RuntimeException ( "srini_string" + arg0 ) ; } else { return null ; } } |
10,219 | the amazon s3 destination . the compression formats snappy or zip can not be specified in redshiftdestinationupdate.s3update because the amazon redshift copy operation that reads from the s3 bucket does n't support these compression formats . concode_field_sep CopyCommand copyCommand concode_elem_sep String password co... | void function ( S3DestinationUpdate arg0 ) { this . s3Update = arg0 ; } |
10,220 | fired when a binary message has been received . concode_field_sep PlaceHolder placeHolder concode_field_sep void onClose concode_elem_sep void onTextMessage concode_elem_sep void onOpen concode_elem_sep void onRawTextMessage | void function ( byte [ ] arg0 ) { } |
10,221 | a list of grants . note : this method appends the values to the existing list if any . use #setgrants java.util.collection or #withgrants java.util.collection if you want to override theexisting values . concode_field_sep com.amazonaws.internal.SdkInternalList<GrantListEntry> grants concode_elem_sep String nextMarker c... | ListRetirableGrantsResult function ( GrantListEntry ... arg0 ) { if ( this . grants == null ) { setGrants ( new com . amazonaws . internal . SdkInternalList < GrantListEntry > ( arg0 . length ) ) ; } for ( GrantListEntry loc0 : arg0 ) { this . grants . add ( loc0 ) ; } return this ; } |
10,222 | returns the volume value for the encoding process . concode_field_sep Integer volume concode_elem_sep String codec concode_elem_sep Integer bitRate concode_elem_sep long serialVersionUID concode_elem_sep Integer samplingRate concode_elem_sep Integer channels concode_elem_sep String DIRECT_STREAM_COPY concode_field_sep ... | Integer function ( ) { return volume ; } |
10,223 | default implementation merely returns objectargument.tostring . subclasses can override this method for different mechanisms of converting an object to a string . concode_field_sep String PREFERRED_ENCODING concode_field_sep byte[] toBytes concode_elem_sep byte[] toBytes concode_elem_sep byte[] toBytes concode_elem_sep... | String function ( Object arg0 ) { return arg0 . toString ( ) ; } |
10,224 | get the fill rate of the space in percent . the value 0 means the space is completely free , and 100 means it is completely full . concode_field_sep int firstFreeBlock concode_elem_sep boolean DETAILED_INFO concode_elem_sep int blockSize concode_elem_sep BitSet set concode_field_sep int getBlock concode_elem_sep long g... | int function ( ) { int loc0 = set . length ( ) , loc1 = 0 ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { if ( set . get ( loc2 ) ) { loc1 ++ ; } } if ( loc1 == 0 ) { return 0 ; } return Math . max ( 1 , ( int ) ( 100L * loc1 / loc0 ) ) ; } |
10,225 | returns the uuid of this wiki page resource . concode_field_sep WikiPageResource _wikiPageResource concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep long getRe... | java . lang . String function ( ) { return _wikiPageResource . getUuid ( ) ; } |
10,226 | start a span with the currently configured sampling frequency . creates a new ` current ' span on this thread - the previous ` current ' span will be replaced with this newly created span . hands back the direct span as you should n't be detaching the span - use tracerunnable instead to detach a span from this operatio... | TraceScope function ( PhoenixConnection arg0 , String arg1 ) { Sampler < ? > loc0 = arg0 . getSampler ( ) ; TraceScope loc1 = Trace . startSpan ( arg1 , loc0 ) ; addCustomAnnotationsToSpan ( loc1 . getSpan ( ) , arg0 ) ; return loc1 ; } |
10,227 | undo the last state change . only possible if there are items in the undo history list . concode_field_sep int cursor concode_elem_sep ArrayList<Memento> mementoStateHistory concode_elem_sep int maxHistorySize concode_field_sep boolean isRedo concode_elem_sep boolean isUndo concode_elem_sep void redo concode_elem_sep v... | void function ( ) { if ( isUndo ( ) ) { cursor = cursor - 1 ; Memento loc0 = mementoStateHistory . get ( cursor ) ; loc0 . restore ( ) ; } } |
10,228 | prints this note into a stream . the most typical use of this is n.encodedto system.out where stdout is connected to hudson.the encoded form does n't include any new line character to work better in the line-oriented nature of consoleannotator . concode_field_sep byte[] PREAMBLE concode_elem_sep byte[] POSTAMBLE concod... | void function ( OutputStream arg0 ) { arg0 . write ( encodeToBytes ( ) . toByteArray ( ) ) ; } |
10,229 | creates reducer blocks in a hash-based data format within our local dirs . concode_field_sep int subDirsPerLocalDir concode_elem_sep String[] localDirs concode_field_sep void cleanup concode_elem_sep ExecutorShuffleInfo createExecutorInfo concode_elem_sep void create concode_elem_sep void insertSortShuffleData concode_... | void function ( int arg0 , int arg1 , byte [ ] [ ] arg2 ) { for ( int loc0 = 0 ; loc0 < arg2 . length ; loc0 ++ ) { String loc1 = "srini_string" + arg0 + "srini_string" + arg1 + "srini_string" + loc0 ; Files . write ( arg2 [ loc0 ] , ExternalShuffleBlockResolver . getFile ( localDirs , subDirsPerLocalDir , loc1 ) ) ; }... |
10,230 | sets if we should generate svg fonts for texts . default value is false . concode_field_sep boolean svgFont concode_elem_sep DecimalFormatSymbols dsf concode_elem_sep RenderingHints hints concode_elem_sep StyleHandler styleHandler concode_elem_sep Document domFactory concode_elem_sep Paint paint concode_elem_sep Graphi... | void function ( boolean arg0 ) { this . svgFont = arg0 ; } |
10,231 | method to test getcount concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetLargest concode_elem_sep void testSetMatrix concode_elem_sep void testFillPattern1 concode_elem_sep void testGetTotal concode_elem_sep void testGetColTotal concode_elem_sep void main concode_elem_sep void testGetTotalNested | void function ( ) { IntArrayWorker loc0 = new IntArrayWorker ( ) ; int [ ] [ ] loc1 = new int [ 3 ] [ 4 ] ; loc0 . setMatrix ( loc1 ) ; loc0 . fillPattern1 ( ) ; int loc2 = loc0 . getCount ( 1 ) ; System . out . println ( "srini_string" + loc2 ) ; } |
10,232 | returns the specified warning message , or null . concode_field_sep CompilerConfiguration configuration concode_elem_sep LinkedList warnings concode_elem_sep LinkedList errors concode_field_sep void addError concode_elem_sep void addError concode_elem_sep void addError concode_elem_sep void addError concode_elem_sep Me... | WarningMessage function ( int arg0 ) { if ( arg0 < getWarningCount ( ) ) { return ( WarningMessage ) this . warnings . get ( arg0 ) ; } return null ; } |
10,233 | gets the page that is currently being searched by this task . concode_field_sep boolean wholeWord concode_elem_sep int totalHitCount concode_elem_sep SwingController controller concode_elem_sep SearchPanel searchPanel concode_elem_sep int lengthOfTask concode_elem_sep boolean caseSensitive concode_elem_sep String dialo... | int function ( ) { return current ; } |
10,234 | get the location of the service document concode_field_sep String password concode_elem_sep String onBehalfOf concode_elem_sep String location concode_elem_sep String IPAddress concode_elem_sep String username concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep void setUsername conco... | String function ( ) { return location ; } |
10,235 | this method was generated by mybatis generator . this method returns the value of the database column appuser.status concode_field_sep Date createtime concode_elem_sep Date locktime concode_elem_sep String level concode_elem_sep Integer usertype concode_elem_sep String phonenum concode_elem_sep String password concode_... | Integer function ( ) { return status ; } |
10,236 | get the count of available addresses . will be zero for cidr/31 and cidr/32 if the inclusive flag is false . concode_field_sep Pattern CIDR_PATTERN concode_elem_sep int broadcast concode_elem_sep boolean inclusiveHostCount concode_elem_sep int address concode_elem_sep long UNSIGNED_INT_MASK concode_elem_sep int netmask... | int function ( ) { long loc0 = getAddressCountLong ( ) ; if ( loc0 > Integer . MAX_VALUE ) { throw new RuntimeException ( "srini_string" + loc0 ) ; } return ( int ) loc0 ; } |
10,237 | sets the ternary . concode_field_sep List components concode_elem_sep One one concode_elem_sep List manyToMany concode_elem_sep Foo foo concode_elem_sep int count concode_elem_sep Collection bag concode_elem_sep Simple simple concode_elem_sep Many many concode_elem_sep Set composites concode_elem_sep Collection lazyBag... | void function ( Map arg0 ) { this . ternaryMap = arg0 ; } |
10,238 | create an instance of jaxbelement concode_field_sep QName _LockBookSeat_QNAME concode_elem_sep QName _NotAuthenticatedException_QNAME concode_elem_sep QName _GetFlightByID_QNAME concode_elem_sep QName _ParseException_QNAME concode_elem_sep QName _FlightDoesNotExistException_QNAME concode_elem_sep QName _GetFlightsRespo... | JAXBElement < LockBookSeatResponse > function ( LockBookSeatResponse arg0 ) { return new JAXBElement < LockBookSeatResponse > ( _LockBookSeatResponse_QNAME , LockBookSeatResponse . class , null , arg0 ) ; } |
10,239 | the application name . concode_field_sep String nextToken concode_elem_sep com.amazonaws.internal.SdkInternalList<String> deploymentGroups concode_elem_sep String applicationName concode_field_sep java.util.List<String> getDeploymentGroups concode_elem_sep void setDeploymentGroups concode_elem_sep String getApplication... | void function ( String arg0 ) { this . applicationName = arg0 ; } |
10,240 | gets the value of the customcriteriarule property . concode_field_sep InventoryTargeting inventoryRule concode_elem_sep CustomCriteriaSet customCriteriaRule concode_field_sep InventoryTargeting getInventoryRule concode_elem_sep void setCustomCriteriaRule concode_elem_sep void setInventoryRule | CustomCriteriaSet function ( ) { return customCriteriaRule ; } |
10,241 | this method returns the array containing the map on the attributes . concode_field_sep int[] a_ranges concode_elem_sep ArrayList ranges concode_elem_sep ArrayList attributes concode_elem_sep CPStringBuilder buffer concode_elem_sep int startingRange concode_elem_sep HashMap[] a_attributes concode_elem_sep AttributedChar... | HashMap [ ] function ( ) { return a_attributes ; } |
10,242 | check to ensure that this class implements publiccloneable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization concode_elem_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { BoxAndWhiskerXYToolTipGenerator loc0 = new BoxAndWhiskerXYToolTipGenerator ( ) ; assertTrue ( loc0 instanceof PublicCloneable ) ; } |
10,243 | by default , do n't exclude any objects from the copy operation . 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 XMLResource getResource concode_elem_sep Stri... | Collection function ( Set arg0 ) { return Collections . EMPTY_SET ; } |
10,244 | the speed and quality of printing suffers dramatically if any of the containers have double buffering turned on . so this turns if off globally . concode_field_sep Component componentToBePrinted concode_field_sep void print concode_elem_sep int print concode_elem_sep void enableDoubleBuffering concode_elem_sep void pri... | void function ( Component arg0 ) { RepaintManager loc0 = RepaintManager . loc0 ( arg0 ) ; loc0 . setDoubleBufferingEnabled ( false ) ; } |
10,245 | compare this component descriptor for equality with another object . concode_field_sep ComponentID component concode_elem_sep DeployableUnitID deployableUnit concode_elem_sep LibraryID[] libraries concode_elem_sep Object vendorData concode_elem_sep boolean vendorDataSerializationEnabled concode_elem_sep String source c... | boolean function ( Object arg0 ) { if ( arg0 == this ) return true ; if ( ! ( arg0 instanceof ComponentDescriptor ) ) return false ; return this . component . equals ( ( ( ComponentDescriptor ) arg0 ) . component ) ; } |
10,246 | set the default value for indentation . concode_field_sep String INDENTATION concode_elem_sep int SINGLE_LINE concode_elem_sep ThreadLocal<Formatter> FORMATTER concode_field_sep int getIndentation concode_elem_sep String toWKT concode_elem_sep String toWKT concode_elem_sep String toWKT concode_elem_sep String toWKT con... | void function ( final int arg0 ) { Preferences . userNodeForPackage ( Formattable . class ) . putInt ( INDENTATION , arg0 ) ; } |
10,247 | returns a bufferedimage instance for provided image file path . concode_field_sep Logger logger concode_field_sep placeholderType placeHolder | BufferedImage function ( String arg0 ) { RenderedImageAdapter loc0 = null ; try { ImageDecoder loc1 = ImageCodec . createImageDecoder ( "srini_string" , new File ( arg0 ) , null ) ; loc0 = new RenderedImageAdapter ( loc1 . decodeAsRenderedImage ( ) ) ; } catch ( IOException loc1 ) { return null ; } return loc0 . getAsB... |
10,248 | whether the identifier equals to obj . concode_field_sep String id concode_field_sep int hashCode concode_elem_sep String toString | boolean function ( Object arg0 ) { try { Identifier loc0 = ( Identifier ) arg0 ; return id . equals ( loc0 . id ) ; } catch ( Exception loc0 ) { return false ; } } |
10,249 | unsupported . concode_field_sep BufferedReader bufferedReader concode_elem_sep String cachedLine concode_elem_sep boolean finished concode_field_sep Object next concode_elem_sep String nextLine concode_elem_sep boolean hasNext concode_elem_sep boolean isValidLine concode_elem_sep void closeQuietly concode_elem_sep void... | void function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
10,250 | create a new , empty editable array that can be used as a new array value in other documents . concode_field_sep DocumentValueFactory DEFAULT_FACTORY concode_field_sep EditableDocument newDocument concode_elem_sep EditableDocument newDocument concode_elem_sep EditableDocument newDocument concode_elem_sep EditableDocume... | EditableArray function ( int arg0 ) { return new ArrayEditor ( new BasicArray ( arg0 ) , DEFAULT_FACTORY ) ; } |
10,251 | gets the value of the profileclasses property . concode_field_sep ProfileSpecName profileSpecName concode_elem_sep List<ProfileIndex> profileIndex concode_elem_sep ProfileSpecVersion profileSpecVersion concode_elem_sep ProfileSpecVendor profileSpecVendor concode_elem_sep ProfileClasses profileClasses concode_elem_sep D... | ProfileClasses function ( ) { return profileClasses ; } |
10,252 | fetches all the available actions . concode_field_sep Map<String,ActionModel> actionsMap concode_elem_sep String baseUrl concode_elem_sep ThreadLocal<IRequestCustomizer> requestCustomizerLocal concode_elem_sep String authToken concode_elem_sep RestClient restClient concode_elem_sep Logger logger concode_elem_sep String... | Collection < ActionModel > function ( ) { if ( this . actionsMap == null ) { initActions ( ) ; } return actionsMap . values ( ) ; } |
10,253 | whether to display the event to the end user . concode_field_sep ManagedThreadLocal<CallContext> s_currentContext concode_elem_sep Project project concode_elem_sep String contextId concode_elem_sep String eventType concode_elem_sep long userId concode_elem_sep long accountId concode_elem_sep EntityManager s_entityMgr c... | boolean function ( ) { return isEventDisplayEnabled ; } |
10,254 | if the specified amount of time passes without receiving an object over tcp , the connection is considered closed . when a tcp socket is closed normally , the remote end is notified immediately and this timeout is not needed . however , if a socket is closed abnormally eg , power loss , kryonet uses this timeout to det... | void function ( int arg0 ) { tcp . arg0 = arg0 ; } |
10,255 | checks whether given state is an initial state . concode_field_sep ArrayList<LinkedList<Function>> transitionProbs concode_elem_sep ArrayList<LinkedList<Integer>> transitionTargets concode_elem_sep ArrayList<LinkedList<Integer>> incoming concode_elem_sep Function[] times concode_elem_sep int numStates concode_elem_sep ... | boolean function ( int arg0 ) { return initStates . get ( arg0 ) ; } |
10,256 | returns the number of rows matching the dynamic query . concode_field_sep FeedLocalService _feedLocalService concode_field_sep com.liferay.twitter.model.Feed fetchFeed concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.Ac... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _feedLocalService . dynamicQueryCount ( arg0 ) ; } |
10,257 | the name of the replaceable item . concode_field_sep String name concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<ReplaceableAttribute> attributes concode_field_sep ReplaceableItem withAttributes concode_elem_sep ReplaceableItem withAttributes concode_elem_sep String getName concode_elem_sep java.util.... | void function ( String arg0 ) { this . name = arg0 ; } |
10,258 | returns the endpoint 's interval field . concode_field_sep int mAddress concode_elem_sep int mAttributes concode_elem_sep Parcelable.Creator<UsbEndpoint> CREATOR concode_elem_sep int mMaxPacketSize concode_elem_sep int mInterval concode_field_sep int getAttributes concode_elem_sep int getDirection concode_elem_sep int ... | int function ( ) { return mInterval ; } |
10,259 | retrieves the command line arguments processor object associated with the abstractsearchresultlistener . concode_field_sep LDAPConnection ldapConnection concode_elem_sep CommandLineOptions commandLineOptions concode_field_sep AbstractSearchResultListener setLDAPConnection concode_elem_sep LDAPConnection getLDAPConnecti... | CommandLineOptions function ( ) { return commandLineOptions ; } |
10,260 | removes the header on the fault message fault must be out concode_field_sep PlaceHolder placeHolder concode_field_sep Processor removeHeader concode_elem_sep Processor setOutBody concode_elem_sep Processor setProperty concode_elem_sep Processor removeProperties concode_elem_sep Processor removeProperties concode_elem_s... | Processor function ( final String arg0 ) { return new Processor ( ) { public void process ( Exchange arg1 ) { arg1 . getOut ( ) . setFault ( true ) ; arg1 . getOut ( ) . removeHeader ( arg0 ) ; } @ Override public String toString ( ) { return "srini_string" + arg0 + "srini_string" ; } } ; } |
10,261 | write hierarchy ports . concode_field_sep IPXACTDesignVendorExtensionsWriter vendorExtensions concode_elem_sep URI uri concode_field_sep void writeVLNV concode_elem_sep void writeCompactVLNV concode_elem_sep void writeParameter concode_elem_sep void writeComponentInstance concode_elem_sep void writeHierarchyPort concod... | void function ( final Element arg0 , final Design arg1 , final Document arg2 ) { final Element loc0 = arg2 . createElement ( "srini_string" ) ; arg0 . appendChild ( loc0 ) ; for ( final HierarchyPort loc1 : arg1 . getHierarchyPorts ( ) ) { writeHierarchyPort ( loc0 , loc1 , arg2 ) ; } } |
10,262 | returns a string , of length at least minlength , consisting of string appended with as many copies of padchar as arenecessary to reach that length . for example , padend `` 4 . '' , 5 , ' 0 ' returns `` 4.000 '' padend `` 2010 '' , 3 , ' ! ' returns `` 2010 '' see formatter for a richer set of formatting capabilities ... | String function ( String arg0 , int arg1 , char arg2 ) { checkNotNull ( arg0 ) ; if ( arg0 . length ( ) >= arg1 ) { return arg0 ; } StringBuilder loc0 = new StringBuilder ( arg1 ) ; loc0 . append ( arg0 ) ; for ( int loc1 = arg0 . length ( ) ; loc1 < arg1 ; loc1 ++ ) { loc0 . append ( arg2 ) ; } return loc0 . toString ... |
10,263 | attach a custom object to this task . useful to piggybag further information , ie tag a task final . concode_field_sep long tStarted concode_elem_sep long tExecuted concode_elem_sep boolean isExecuted concode_elem_sep boolean catchExceptions concode_elem_sep Throwable sourceStack concode_elem_sep boolean isFlushed conc... | void function ( final Object arg0 ) { attachment = arg0 ; } |
10,264 | returns true if this object is equal to the specified object , and false otherwise . concode_field_sep DatasetRenderingOrder REVERSE concode_elem_sep String name concode_elem_sep DatasetRenderingOrder FORWARD concode_elem_sep long serialVersionUID concode_field_sep Object readResolve concode_elem_sep int hashCode conco... | boolean function ( Object arg0 ) { if ( this == arg0 ) { return true ; } if ( ! ( arg0 instanceof DatasetRenderingOrder ) ) { return false ; } DatasetRenderingOrder loc0 = ( DatasetRenderingOrder ) arg0 ; if ( ! this . name . equals ( loc0 . toString ( ) ) ) { return false ; } return true ; } |
10,265 | test method for com.flatironschool.javacs.mylinearmap #containsvalue java.lang.object . concode_field_sep MyTreeMap<String,Integer> map concode_field_sep void testClear concode_elem_sep void testKeySet concode_elem_sep void testGet concode_elem_sep void testIsEmpty concode_elem_sep void testRemove concode_elem_sep void... | void function ( ) { assertThat ( map . containsValue ( 3 ) , is ( true ) ) ; assertThat ( map . containsValue ( 5 ) , is ( false ) ) ; } |
10,266 | method to force the picture frame to repaint redraw concode_field_sep ImageIcon imageIcon concode_elem_sep JLabel label concode_elem_sep JFrame frame concode_elem_sep DigitalPicture picture concode_field_sep void setVisible concode_elem_sep void setPicture concode_elem_sep void hide concode_elem_sep void displayImage c... | void function ( ) { frame . setVisible ( true ) ; updateImage ( ) ; frame . repaint ( ) ; } |
10,267 | gets the value of the filterstatement property . concode_field_sep Statement filterStatement concode_field_sep void setFilterStatement | Statement function ( ) { return filterStatement ; } |
10,268 | handle an account state error produced by ldaptive account state machinery . override this method to provide custom error handling . concode_field_sep Logger logger concode_elem_sep Map<AccountState.Error,LoginException> ERROR_MAP concode_field_sep void handleWarning concode_elem_sep List<Message> handle | void function ( final AccountState . Error arg0 , final AuthenticationResponse arg1 , final LdapPasswordPolicyConfiguration arg2 , final List < Message > arg3 ) { logger . debug ( "srini_string" , arg0 ) ; final LoginException loc0 = ERROR_MAP . get ( arg0 ) ; if ( loc0 != null ) { throw loc0 ; } logger . debug ( "srin... |
10,269 | method declaration concode_field_sep String scriptHelp[] concode_elem_sep String insertHelp[] concode_elem_sep String createTableHelp[] concode_elem_sep String dropIndexHelp[] concode_elem_sep String testHelp[] concode_elem_sep String deleteHelp[] concode_elem_sep String selectHelp[] concode_elem_sep Random rRandom con... | int function ( int arg0 ) { arg0 = rRandom . nextInt ( ) % arg0 ; return arg0 < 0 ? - arg0 : arg0 ; } |
10,270 | a static prefix that indicates the type of backup concode_field_sep long goldLifeTime concode_elem_sep String backupPrefix concode_elem_sep Logger log concode_elem_sep Map<ScheduledBackupType,Long> protectedBackupTypes concode_elem_sep Comparator<String> backupNameSorter concode_elem_sep Date backupsValidAfterDate conc... | String function ( ) { return backupPrefix ; } |
10,271 | get the second body attached to this joint . concode_field_sep Body m_bodyA concode_elem_sep boolean m_islandFlag concode_elem_sep JointEdge m_edgeB concode_elem_sep Body m_bodyB concode_elem_sep JointEdge m_edgeA concode_elem_sep Object m_userData concode_elem_sep IWorldPool pool concode_elem_sep Joint m_prev concode_... | Body function ( ) { return m_bodyB ; } |
10,272 | this method sets the size of the paper to the specified width and height , which are specified in 1/72nds of an inch . concode_field_sep double imageableY concode_elem_sep double imageableHeight concode_elem_sep double imageableWidth concode_elem_sep double imageableX concode_elem_sep double width concode_elem_sep doub... | void function ( double arg0 , double arg1 ) { this . width = arg0 ; this . height = arg1 ; } |
10,273 | mocks key press event . the behavior is equivalent to user pressing and holding the key . note : the event will be processed directly even if register input or process actions are false . concode_field_sep PlaceHolder placeHolder concode_field_sep void setRegisterInput concode_elem_sep void onExit concode_elem_sep void... | void function ( KeyCode arg0 ) { mockKeyPress ( arg0 , InputModifier . NONE ) ; } |
10,274 | logs the given message and throwable at the ` fatal ' level . concode_field_sep int TRACE concode_elem_sep int DEBUG concode_elem_sep int ERROR concode_elem_sep int INFO concode_elem_sep int FATAL concode_elem_sep int WARN concode_elem_sep StringBuffer bufferedLog concode_elem_sep boolean logLocationInfo concode_field_... | void function ( Object arg0 , Throwable arg1 ) { logInternal ( FATAL , arg0 , arg1 ) ; } |
10,275 | sets the value of the value property . concode_field_sep java.lang.String id concode_elem_sep BigInteger value concode_field_sep BigInteger getValue concode_elem_sep void setId concode_elem_sep java.lang.String getId | void function ( BigInteger arg0 ) { this . value = arg0 ; } |
10,276 | return a string from the resource bundle . concode_field_sep ResourceBundle bundle concode_field_sep placeholderType placeHolder | String function ( String arg0 ) { String loc0 = null ; try { if ( bundle == null ) { bundle = ResourceBundle . getBundle ( "srini_string" , Locale . getDefault ( ) ) ; } loc0 = bundle . getString ( arg0 ) ; } catch ( Throwable loc1 ) { loc0 = new String ( arg0 ) ; } return loc0 ; } |
10,277 | check to ensure that this class implements publiccloneable . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization concode_elem_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { BoxAndWhiskerToolTipGenerator loc0 = new BoxAndWhiskerToolTipGenerator ( ) ; assertTrue ( loc0 instanceof PublicCloneable ) ; } |
10,278 | get token beginning column number . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufl... | int function ( ) { return bufcolumn [ tokenBegin ] ; } |
10,279 | get enumstring concode_field_sep EnumIntegerEnum enumInteger concode_elem_sep EnumStringEnum enumString concode_elem_sep Double value concode_elem_sep EnumNumberEnum enumNumber concode_field_sep EnumStringEnum fromValue concode_elem_sep EnumIntegerEnum fromValue concode_elem_sep EnumNumberEnum fromValue concode_elem_se... | EnumStringEnum function ( ) { return enumString ; } |
10,280 | gets the value of the contentdescriptor 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 contentdescriptor property . for example , to ad... | List < ContentDescriptor > function ( ) { if ( contentDescriptor == null ) { contentDescriptor = new ArrayList < ContentDescriptor > ( ) ; } return this . contentDescriptor ; } |
10,281 | test method refreshsuperusergroupsconfiguration . this method present and it works . concode_field_sep RecordFactory recordFactory concode_elem_sep ResourceManagerAdministrationProtocol client concode_elem_sep Log LOG concode_elem_sep ResourceManager resourceManager concode_field_sep void setUpResourceManager concode_e... | void function ( ) { RefreshSuperUserGroupsConfigurationRequest loc0 = recordFactory . newRecordInstance ( RefreshSuperUserGroupsConfigurationRequest . class ) ; RefreshSuperUserGroupsConfigurationResponse loc1 = client . refreshSuperUserGroupsConfiguration ( loc0 ) ; assertNotNull ( loc1 ) ; } |
10,282 | gets the value of the width property . concode_field_sep BigDecimal colspan concode_elem_sep BigDecimal colspanS concode_elem_sep BigDecimal rowspan concode_elem_sep String x concode_elem_sep String width concode_elem_sep String y concode_elem_sep String z concode_elem_sep BigDecimal colspanM concode_field_sep void set... | String function ( ) { return width ; } |
10,283 | wraps extensionfinder into extensioncomponentset . concode_field_sep ExtensionComponentSet EMPTY concode_field_sep ExtensionComponentSet filtered concode_elem_sep Collection<ExtensionComponent<T>> find concode_elem_sep Collection<ExtensionComponent<T>> find concode_elem_sep ExtensionComponentSet union concode_elem_sep ... | ExtensionComponentSet function ( final ExtensionFinder arg0 ) { return new ExtensionComponentSet ( ) { @ Override public < T > Collection < ExtensionComponent < T >> find ( Class < T > arg1 ) { return arg0 . find ( arg1 , Hudson . getInstance ( ) ) ; } } ; } |
10,284 | checks whether there is a waiting thread in this pool . concode_field_sep LinkedList<BasicPoolEntry> freeEntries concode_elem_sep HttpRoute route concode_elem_sep Log log concode_elem_sep int maxEntries concode_elem_sep Queue<WaitingThread> waitingThreads concode_elem_sep int numEntries concode_elem_sep ConnPerRoute co... | boolean function ( ) { return ! this . waitingThreads . isEmpty ( ) ; } |
10,285 | sets the value of the code property . concode_field_sep String code concode_elem_sep long serialVersionUID concode_elem_sep Long id concode_elem_sep String label concode_elem_sep String uri concode_field_sep String getLabel concode_elem_sep void unsetId concode_elem_sep void setUri concode_elem_sep void setId concode_e... | void function ( String arg0 ) { this . code = arg0 ; } |
10,286 | send envelope once at time concode_field_sep EnvelopeCollection.EnvelopeComparator comparator concode_elem_sep EnvelopeCollection envelopes concode_field_sep EnvelopeCollection getEnvelopes concode_elem_sep void schedule concode_elem_sep boolean isEqualEnvelope concode_elem_sep boolean equals concode_elem_sep void clea... | void function ( Envelope arg0 , long arg1 ) { if ( arg0 . getMailbox ( ) != this ) { throw new RuntimeException ( "srini_string" ) ; } envelopes . putEnvelopeOnce ( arg0 , arg1 , comparator ) ; } |
10,287 | gets the value of the sessiontoken property . concode_field_sep String sessionToken concode_elem_sep MessagesType messages concode_elem_sep String refId concode_field_sep void setSessionToken concode_elem_sep void setMessages concode_elem_sep String getRefId concode_elem_sep void setRefId concode_elem_sep MessagesType ... | String function ( ) { return sessionToken ; } |
10,288 | test of getargcount method , of class filterfunction_octagonalenvelope . concode_field_sep PlaceHolder placeHolder concode_field_sep void getName concode_elem_sep void testEvaluate | void function ( ) { FilterFunction_octagonalEnvelope loc0 = new FilterFunction_octagonalEnvelope ( ) ; assertEquals ( 1 , loc0 . getFunctionName ( ) . getArgumentCount ( ) ) ; } |
10,289 | create and return an object cache using weakreference . concode_field_sep boolean useWeak concode_elem_sep ConcurrentHashMap<Class<?>,Map<Object,Reference<Object>>> classMaps concode_field_sep void clear concode_elem_sep void cleanMap concode_elem_sep void registerClass concode_elem_sep ReferenceObjectCache makeSoftCac... | ReferenceObjectCache function ( ) { return new ReferenceObjectCache ( true ) ; } |
10,290 | gets the value of the secure property . concode_field_sep String charSet concode_elem_sep String displayType concode_elem_sep DynamicDataType dynamicData concode_elem_sep List<AttachmentInfoType> attachment concode_elem_sep String display concode_elem_sep long serialVersionUID concode_elem_sep String securityKey concod... | Boolean function ( ) { return secure ; } |
10,291 | set protocol scheme . concode_field_sep String scheme concode_elem_sep String port concode_elem_sep String proto concode_elem_sep String name concode_elem_sep String host concode_elem_sep String version concode_elem_sep String url concode_field_sep void setName concode_elem_sep String getVersion concode_elem_sep void s... | void function ( String arg0 ) { setScheme ( arg0 ) ; } |
10,292 | used to adjust the merged cells following a column removal concode_field_sep Logger logger concode_elem_sep ArrayList ranges concode_elem_sep int maxRangesPerSheet concode_elem_sep WritableSheet sheet concode_field_sep void add concode_elem_sep Range[] getMergedCells concode_elem_sep void checkRanges concode_elem_sep v... | void function ( int arg0 ) { SheetRangeImpl loc0 = null ; Iterator loc1 = ranges . iterator ( ) ; while ( loc1 . hasNext ( ) ) { loc0 = ( SheetRangeImpl ) loc1 . next ( ) ; if ( loc0 . getTopLeft ( ) . getColumn ( ) == arg0 && loc0 . getBottomRight ( ) . getColumn ( ) == arg0 ) { loc1 . remove ( ) ; } else { loc0 . rem... |
10,293 | creates a jdk biconsumer from this action . any exceptions thrown by this action will be unchecked via exceptions #uncheck throwable and rethrown . concode_field_sep PlaceHolder placeHolder concode_field_sep BiAction<Object,Object> noop concode_elem_sep BiAction<T,U> from concode_elem_sep void execute | BiConsumer < T , U > function ( ) { return ( t , u ) -> { try { execute ( t , u ) ; } catch ( Exception loc0 ) { throw Exceptions . uncheck ( loc0 ) ; } } ; } |
10,294 | tells this processor to order the proposals alphabetically . concode_field_sep IContextInformationValidator fValidator concode_elem_sep CompletionProposalComparator fComparator concode_elem_sep TemplateEngine fJavaEngine concode_elem_sep String fErrorMessage concode_elem_sep TemplateEngine fStatementEngine concode_elem... | void function ( boolean arg0 ) { fComparator . setOrderAlphabetically ( arg0 ) ; } |
10,295 | returns the moxiecontrol instance this rule uses to auto-populate and verify mocks . concode_field_sep MoxieControl control concode_field_sep Statement apply | MoxieControl function ( ) { return control ; } |
10,296 | return the array index for a hash . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer concode_field_sep void resetTables concode_elem_sep void unlinkNode co... | int function ( int arg0 ) { int loc0 = ( arg0 & 0x7fffffff ) % hashTable . length ; return hashTable [ loc0 ] ; } |
10,297 | returns the set of rules named by the attribute ` attrname ' of test_suite rule ` testsuite ' . the attribute must be a list of labels . if a target can not be resolved , then an error is reported to the environment which may throw an exception if keep_going is disabled . concode_field_sep QueryExpression expression co... | List < T > function ( T arg0 , String arg1 ) { return env . getAccessor ( ) . getLabelListAttr ( expression , arg0 , arg1 , "srini_string" + arg1 + "srini_string" + env . getAccessor ( ) . getLabel ( arg0 ) + "srini_string" ) ; } |
10,298 | a test for bug report 788597 . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testAutoPrune concode_elem_sep void testPublicCloneable concode_elem_sep XYSeries createSeriesA concode_elem_sep XYSeries createSeries1 concode_elem_sep void testSerialization concode_elem_s... | void function ( ) { DefaultTableXYDataset loc0 = new DefaultTableXYDataset ( ) ; loc0 . addSeries ( createSeries1 ( ) ) ; assertEquals ( 4 , loc0 . getItemCount ( ) ) ; loc0 . removeAllSeries ( ) ; assertEquals ( 0 , loc0 . getItemCount ( ) ) ; } |
10,299 | returns the osgi service identifier . concode_field_sep ModuleLocalService _moduleLocalService concode_field_sep com.liferay.marketplace.model.Module getModule concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep jav... | java . lang . String function ( ) { return _moduleLocalService . getOSGiServiceIdentifier ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.