idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
19,300 | set encoder for the highlighting are styled and default . concode_field_sep int fragmentSize concode_elem_sep String[] preTags concode_elem_sep String[] postTags concode_elem_sep String name concode_elem_sep int numOfFragments concode_elem_sep String tagsSchema concode_elem_sep List<Field> fields concode_elem_sep int f... | HighlightBuilder function ( String arg0 ) { this . encoder = arg0 ; return this ; } |
19,301 | pins certificates for pattern . concode_field_sep List<Pin> pins concode_elem_sep String canonicalHostname concode_elem_sep CertificatePinner DEFAULT concode_elem_sep String pattern concode_elem_sep Set<Pin> pins concode_elem_sep CertificateChainCleaner certificateChainCleaner concode_elem_sep String hashAlgorithm conc... | Builder function ( String arg0 , String ... arg1 ) { if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; for ( String loc0 : arg1 ) { this . pins . add ( new Pin ( arg0 , loc0 ) ) ; } return this ; } |
19,302 | this will return the paint type . concode_field_sep int TYPE_TILING_PATTERN concode_elem_sep int TYPE_SHADING_PATTERN concode_elem_sep COSDictionary patternDictionary concode_field_sep String getFilter concode_elem_sep int getPatternType concode_elem_sep void setLength concode_elem_sep Matrix getMatrix concode_elem_sep... | String function ( ) { return COSName . PATTERN . getName ( ) ; } |
19,303 | sets the property name 's value to value . concode_field_sep Job job concode_field_sep String getDefaultFileSystemURL concode_elem_sep void setMapOutputKeyClass concode_elem_sep void setNumReduceTasks concode_elem_sep T getAsDelegateConf concode_elem_sep Job getJob concode_elem_sep void setMapperClass concode_elem_sep ... | void function ( String arg0 , String arg1 ) { getJobConf ( ) . set ( arg0 , arg1 ) ; } |
19,304 | get the methods . concode_field_sep boolean implRaAssociation concode_elem_sep Definition def concode_elem_sep String cmClass concode_elem_sep List<MethodForConnection> methods concode_elem_sep String connMetaClass concode_elem_sep String cfInterfaceClass concode_elem_sep String cfClass concode_elem_sep boolean defineM... | List < MethodForConnection > function ( ) { return methods ; } |
19,305 | returns the coverage data for the class with the given identifier . if there is no data available under the given id a new entry is created . concode_field_sep Map<Long,ExecutionData> entries concode_elem_sep Set<String> names concode_field_sep boolean contains concode_elem_sep void subtract concode_elem_sep void subtr... | ExecutionData function ( final Long arg0 , final String arg1 , final int arg2 ) { ExecutionData loc0 = entries . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new ExecutionData ( arg0 . longValue ( ) , arg1 , arg2 ) ; entries . put ( arg0 , loc0 ) ; names . add ( arg1 ) ; } else { loc0 . assertCompatibility ( arg0 . long... |
19,306 | return an iterator of all children of this node . if there are no children , an empty iterator is returned . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep TreeNode findChild concode_el... | Iterator function ( ) { if ( children == null ) return ( Collections . EMPTY_LIST . iterator ( ) ) ; else return ( children . iterator ( ) ) ; } |
19,307 | generate fingerprint of `` byte start,limit-1 '' . concode_field_sep String projectId concode_field_sep String generateId concode_elem_sep long generateId concode_elem_sep int hash32 | long function ( byte [ ] arg0 , int arg1 , int arg2 ) { int loc0 = hash32 ( arg0 , arg1 , arg2 , 0 ) ; int loc1 = hash32 ( arg0 , arg1 , arg2 , 102072 ) ; if ( ( loc0 == 0 ) && ( loc1 == 0 || loc1 == 1 ) ) { loc0 ^= 0x130f9bef ; loc1 ^= 0x94a0a928 ; } return ( ( ( long ) loc0 ) << 32 ) | ( loc1 & 0xffffffffL ) ; } |
19,308 | unlike the #getapplicationname which follows the java ee6 spec semantics i.e. application name is thename of the top level deployment even if it is just a jar and not an ear , this method returns the application name which follows the ejb spec semantics i.e. the application name is the . ear name or any configured valu... | String function ( ) { return this . earApplicationName ; } |
19,309 | sets the enabled state of the action . concode_field_sep VActionContext actionContext_ concode_elem_sep PropertyChangeSupport propertyChangeSupport_ concode_elem_sep Hashtable propertyDictionary_ concode_elem_sep String copyright concode_elem_sep boolean enabled_ concode_elem_sep VAction action_ concode_field_sep void ... | void function ( boolean arg0 ) { Boolean loc0 = new Boolean ( enabled_ ) ; Boolean loc1 = new Boolean ( arg0 ) ; enabled_ = arg0 ; if ( action_ != null ) action_ . setEnabled ( arg0 ) ; propertyChangeSupport_ . firePropertyChange ( "srini_string" , loc0 , loc1 ) ; } |
19,310 | returns the hash code value for this object . concode_field_sep IPAddressName hostIP concode_elem_sep String host concode_elem_sep URI uri concode_elem_sep DNSName hostDNS concode_field_sep URIName nameConstraint concode_elem_sep void encode concode_elem_sep int subtreeDepth concode_elem_sep String getName concode_elem... | int function ( ) { return uri . hashCode ( ) ; } |
19,311 | returns the next file link relative to the caret location . this will cycle around and get the first one if you 're after the last link . concode_field_sep OutputParser parser concode_elem_sep List<FileLink> fileLinks concode_elem_sep int lastNewline concode_elem_sep StringBuilder totalTextToParse concode_field_sep Lis... | FileLink function ( int arg0 ) { if ( fileLinks . isEmpty ( ) ) { return null ; } Iterator < FileLink > loc0 = fileLinks . loc0 ( ) ; while ( loc0 . hasNext ( ) ) { FileLink loc1 = loc0 . next ( ) ; if ( loc1 . getStartingIndex ( ) > arg0 ) { return loc1 ; } } return fileLinks . get ( 0 ) ; } |
19,312 | returns all compilation units managed by this instance . concode_field_sep Map fMap concode_elem_sep boolean fKeepExecutedTextEdits concode_field_sep boolean containsChangesIn concode_elem_sep TextChange get concode_elem_sep void clear concode_elem_sep TextChange remove concode_elem_sep TextChange[] getAllChanges conco... | IJavaScriptUnit [ ] function ( ) { return ( IJavaScriptUnit [ ] ) fMap . keySet ( ) . toArray ( new IJavaScriptUnit [ fMap . keySet ( ) . size ( ) ] ) ; } |
19,313 | return the sort order of this segment , or null if the index has no sort . concode_field_sep Directory dir concode_elem_sep Sort indexSort concode_elem_sep Version version concode_elem_sep int NO concode_elem_sep Set<String> setFiles concode_elem_sep Codec codec concode_elem_sep Map<String,String> diagnostics concode_e... | Sort function ( ) { return indexSort ; } |
19,314 | sets the corret overflow icon in the action bar depending on whether or not the current action bar color is dark or light . concode_field_sep String APP_URI concode_elem_sep String mThemePackage concode_elem_sep String sApolloSearch concode_elem_sep String APOLLO_PACKAGE concode_elem_sep int mCurrentThemeColor concode_... | void function ( final Activity arg0 ) { if ( isActionBarDark ( ) ) { arg0 . setTheme ( R . style . Apollo_Theme_Dark ) ; } else { arg0 . setTheme ( R . style . Apollo_Theme_Light ) ; } } |
19,315 | get the user name from a principal concode_field_sep PlaceHolder placeHolder concode_field_sep String getPrincipalWithoutRealm | String function ( final String arg0 ) { int loc0 = arg0 . indexOf ( "srini_string" ) ; if ( loc0 == - 1 ) { loc0 = arg0 . indexOf ( "srini_string" ) ; } return ( loc0 > - 1 ) ? arg0 . substring ( 0 , loc0 ) : arg0 ; } |
19,316 | clears all bits sets to false . concode_field_sep int width concode_elem_sep int[] bits concode_elem_sep int height concode_elem_sep int rowSize concode_field_sep void setRegion concode_elem_sep void set concode_elem_sep int[] getEnclosingRectangle concode_elem_sep int getWidth concode_elem_sep BitArray getRow concode_... | void function ( ) { int loc0 = bits . length ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { bits [ loc1 ] = 0 ; } } |
19,317 | the type where this source is defined . this can be identical to the #gettype type if the source is self-defined . concode_field_sep Map<String,ConfigurationMetadataProperty> properties concode_elem_sep String sourceType concode_elem_sep String groupId concode_elem_sep String description concode_elem_sep String sourceM... | String function ( ) { return this . sourceType ; } |
19,318 | an internal check for closed statements . concode_field_sep boolean isEscapeProcessing concode_elem_sep int queryTimeout concode_elem_sep Result errorResult concode_elem_sep int SUCCESS_NO_INFO concode_elem_sep Result batchResultOut concode_elem_sep int maxRows concode_elem_sep JDBCConnection connection concode_elem_se... | void function ( ) { if ( isClosed ) { throw Util . sqlException ( ErrorCode . X_07501 ) ; } if ( connection . isClosed ) { close ( ) ; throw Util . sqlException ( ErrorCode . X_08503 ) ; } if ( connectionIncarnation != connection . incarnation ) { throw Util . sqlException ( ErrorCode . X_08503 ) ; } } |
19,319 | reads the raw packet data from the data stream . concode_field_sep ClickType mode concode_elem_sep int usedButton concode_elem_sep ItemStack clickedItem concode_elem_sep short actionNumber concode_elem_sep int slotId concode_elem_sep int windowId concode_field_sep ClickType getClickType concode_elem_sep int getSlotId c... | void function ( PacketBuffer arg0 ) { this . windowId = arg0 . readByte ( ) ; this . slotId = arg0 . readShort ( ) ; this . usedButton = arg0 . readByte ( ) ; this . actionNumber = arg0 . readShort ( ) ; this . mode = ( ClickType ) arg0 . readEnumValue ( ClickType . class ) ; this . clickedItem = arg0 . readItemStackFr... |
19,320 | get token beginning line 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 boolean staticFlag concode_elem_sep int buf... | int function ( ) { return bufline [ tokenBegin ] ; } |
19,321 | read the exception from the cdr intput stream . concode_field_sep PlaceHolder placeHolder concode_field_sep NoContext extract concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | NoContext function ( InputStream arg0 ) { String loc0 = arg0 . read_string ( ) ; NoContext loc1 = new NoContext ( loc0 ) ; return loc1 ; } |
19,322 | ensure that the interval for the inserted item has non-zero extents . use the current minextent to pad it , if necessary concode_field_sep Root root concode_elem_sep double minExtent concode_field_sep Iterator iterator concode_elem_sep int depth concode_elem_sep int nodeSize concode_elem_sep int size concode_elem_sep v... | Interval function ( Interval arg0 , double arg1 ) { double loc0 = arg0 . getMin ( ) ; double loc1 = arg0 . getMax ( ) ; if ( loc0 != loc1 ) return arg0 ; if ( loc0 == loc1 ) { loc0 = loc0 - arg1 / 2.0 ; loc1 = loc0 + arg1 / 2.0 ; } return new Interval ( loc0 , loc1 ) ; } |
19,323 | returns the ip address . concode_field_sep IpAddress ipAddress concode_elem_sep String SCHEME concode_elem_sep long UNKNOWN concode_field_sep PccId pccId concode_elem_sep PccId pccid concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep URI uri concode_elem_sep ... | IpAddress function ( ) { return ipAddress ; } |
19,324 | wrap a top-level array as a list . concode_field_sep PlaceHolder placeHolder concode_field_sep void testNonWrapping concode_elem_sep Map<String,Object> asMap concode_elem_sep void testWrapObjectWithArray concode_elem_sep void testDeepWrapping concode_elem_sep void assertJSObject concode_elem_sep List<Object> asList | void function ( ) { final ScriptEngine loc0 = new NashornScriptEngineFactory ( ) . getScriptEngine ( ) ; final Object loc1 = loc0 . eval ( "srini_string" ) ; assertEquals ( asList ( loc1 ) , Arrays . asList ( 1 , 2 , 3 ) ) ; } |
19,325 | used to receive ssdp response packet concode_field_sep int timeout concode_elem_sep String MULTICAST_ADDRESS concode_elem_sep int MX concode_elem_sep String UPDATE concode_elem_sep InetAddress localInAddress concode_elem_sep String NEWLINE concode_elem_sep String MSEARCH concode_elem_sep int PORT concode_elem_sep Strin... | DatagramPacket function ( ) { byte [ ] loc0 = new byte [ 1024 ] ; DatagramPacket loc1 = new DatagramPacket ( loc0 , loc0 . length ) ; datagramSocket . receive ( loc1 ) ; return loc1 ; } |
19,326 | obtains the value of the coreprotocolpnames #http_unmappable_input_action parameter . concode_field_sep PlaceHolder placeHolder concode_field_sep ProtocolVersion getVersion concode_elem_sep void setUnmappableInputAction concode_elem_sep void setVersion concode_elem_sep CodingErrorAction getMalformedInputAction concode_... | CodingErrorAction function ( final HttpParams arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; final Object loc0 = arg0 . getParameter ( CoreProtocolPNames . HTTP_UNMAPPABLE_INPUT_ACTION ) ; if ( loc0 == null ) { return CodingErrorAction . REPORT ; } return ( CodingErrorAction ) loc0 ; } |
19,327 | gets the creativeids value for this creativerenderingrequest . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep long[] creativeIds concode_field_sep org.apache.axis.description.TypeDesc getTypeDesc con... | long [ ] function ( ) { return creativeIds ; } |
19,328 | generates a delete by id xml string concode_field_sep ThreadLocal<XPath> xpathTL concode_elem_sep ThreadLocal<DocumentBuilder> builderTL concode_field_sep String validateXPath concode_elem_sep String makeSimpleDoc concode_elem_sep String checkUpdateStatus concode_elem_sep String simpleTag concode_elem_sep String commit... | String function ( String arg0 , String ... arg1 ) { try { StringWriter loc0 = new StringWriter ( ) ; XML . writeXML ( loc0 , "srini_string" , arg0 ) ; return delete ( loc0 . getBuffer ( ) . toString ( ) , arg1 ) ; } catch ( IOException loc0 ) { throw new RuntimeException ( "srini_string" , loc0 ) ; } } |
19,329 | getst the bounds of the text that makes up this sprite . the bounds are defined pdf space and are relative to the current ctm . concode_field_sep ArrayList<GlyphText> glyphTexts concode_elem_sep String fontName concode_elem_sep AffineTransform graphicStateTransform concode_elem_sep Rectangle2D.Float bounds concode_elem... | Rectangle2D . Float function ( ) { return bounds ; } |
19,330 | return the year of manufacture concode_field_sep Logger LOG concode_field_sep String getVersion concode_elem_sep int getDescriptorType concode_elem_sep int getVcm concode_elem_sep String getDescriptorRangeLimits concode_elem_sep String toHexString concode_elem_sep boolean isDigital concode_elem_sep String getTimingDesc... | int function ( byte [ ] arg0 ) { byte loc0 = arg0 [ 17 ] ; LOG . debug ( "srini_string" , loc0 ) ; return loc0 + 1990 ; } |
19,331 | retrieve the diagnostic messages for a given task attempt . concode_field_sep Job delegateJob concode_field_sep void killJob concode_elem_sep boolean isSuccessful concode_elem_sep float reduceProgress concode_elem_sep float setupProgress concode_elem_sep float mapProgress concode_elem_sep org.pentaho.hadoop.shim.api.ma... | String [ ] function ( Object arg0 ) { TaskAttemptID loc0 = ( TaskAttemptID ) arg0 ; try { return delegateJob . getTaskDiagnostics ( loc0 ) ; } catch ( InterruptedException loc1 ) { throw new RuntimeException ( loc1 ) ; } } |
19,332 | for all types except op #delete , returns the columns that this mutation will affect . concode_field_sep String currentColumn concode_elem_sep ImmutableList.Builder<String> columns concode_elem_sep ImmutableList.Builder<Value> values concode_elem_sep ValueBinder<WriteBuilder> binder concode_elem_sep Op operation concod... | Iterable < String > function ( ) { checkState ( operation != Op . DELETE , "srini_string" ) ; return columns ; } |
19,333 | returns the primary key of this k b template . concode_field_sep KBTemplate _kbTemplate concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_ele... | long function ( ) { return _kbTemplate . getPrimaryKey ( ) ; } |
19,334 | notifies all registered listeners that the annotation has changed . concode_field_sep boolean notify concode_elem_sep EventListenerList listenerList concode_field_sep boolean getNotify concode_elem_sep void removeChangeListener concode_elem_sep void writeObject concode_elem_sep void notifyListeners concode_elem_sep voi... | void function ( ) { if ( notify ) { notifyListeners ( new AnnotationChangeEvent ( this , this ) ) ; } } |
19,335 | sets the value of the internalid property . concode_field_sep String internalId concode_elem_sep Boolean baseUnit concode_elem_sep String pluralName concode_elem_sep String unitName concode_elem_sep String pluralAbbreviation concode_elem_sep String abbreviation concode_elem_sep Double conversionRate concode_field_sep S... | void function ( String arg0 ) { this . internalId = arg0 ; } |
19,336 | get this day as a @linkplain calendar concode_field_sep Creator<CalendarDay> CREATOR concode_elem_sep int month concode_elem_sep Date _date concode_elem_sep int year concode_elem_sep Calendar _calendar concode_elem_sep int day concode_field_sep CalendarDay[] newArray concode_elem_sep CalendarDay createFromParcel concod... | Calendar function ( ) { if ( _calendar == null ) { _calendar = CalendarUtils . getInstance ( ) ; copyTo ( _calendar ) ; } return _calendar ; } |
19,337 | converts a documentmodellist to a list of task s. concode_field_sep long serialVersionUID concode_elem_sep Log log concode_field_sep String endTask concode_elem_sep List<Task> getTasks concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getAllTaskInstances concode_elem_sep List<Task> getAllTaskI... | List < Task > function ( DocumentModelList arg0 , boolean arg1 ) { List < Task > loc0 = new ArrayList < Task > ( ) ; for ( DocumentModel loc1 : arg0 ) { if ( arg1 ) { loc1 . arg1 ( true ) ; } loc0 . add ( loc1 . getAdapter ( Task . class ) ) ; } return loc0 ; } |
19,338 | getter for the field line . concode_field_sep int UNKNOWN concode_elem_sep int endColumn concode_elem_sep Level level concode_elem_sep int line concode_elem_sep int startColumn concode_elem_sep Deque<IncludeInfo> includeContext concode_elem_sep String message concode_field_sep Deque<IncludeInfo> getIncludeContext conco... | int function ( ) { return line ; } |
19,339 | #description of the method concode_field_sep Invoker server concode_field_sep ServerIL cloneServerIL concode_elem_sep SpyMessage receive concode_elem_sep void connectionClosing concode_elem_sep void setConnectionToken concode_elem_sep String authenticate concode_elem_sep Topic createTopic concode_elem_sep void destroyS... | void function ( ConnectionToken arg0 , SpyDestination arg1 ) { server . deleteTemporaryDestination ( arg0 , arg1 ) ; } |
19,340 | initialize application context in native side . concode_field_sep PlaceHolder placeHolder concode_field_sep int start concode_elem_sep int nativeStart concode_elem_sep void nativeInitApplicationContext | void function ( Context arg0 ) { nativeInitApplicationContext ( arg0 ) ; } |
19,341 | end the current request . it is acceptable to write extra bytes using buffer.dowrite during the execution of this method . concode_field_sep String ENCODING_NAME concode_elem_sep ByteChunk ENCODING concode_elem_sep long contentLength concode_elem_sep OutputBuffer buffer concode_elem_sep long remaining concode_field_sep... | long function ( ) { if ( remaining > 0 ) return remaining ; return 0 ; } |
19,342 | sets the score associated with the current node , if there is one concode_field_sep PlaceHolder placeHolder concode_field_sep int start concode_elem_sep Label label concode_elem_sep boolean crosses concode_elem_sep boolean crosses concode_elem_sep Collection<Label> labels concode_elem_sep double score concode_elem_sep ... | void function ( double arg0 ) { } |
19,343 | add some sample and a partial sum to the running stat . note , min/max is not evaluated using this method . concode_field_sep double a1 concode_elem_sep double min concode_elem_sep double max concode_elem_sep MinMax minmax concode_elem_sep double DEFAULT_MIN_VALUE concode_elem_sep double s0 concode_elem_sep double DEFA... | SampleStat function ( long arg0 , double arg1 ) { numSamples += arg0 ; if ( numSamples == 1 ) { a0 = a1 = arg1 ; s0 = 0.0 ; } else { a1 = a0 + ( arg1 - a0 ) / numSamples ; s1 = s0 + ( arg1 - a0 ) * ( arg1 - a1 ) ; a0 = a1 ; s0 = s1 ; } return this ; } |
19,344 | gets the polygon object that represents the time zone on the image map . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep bool... | Polygon function ( ) { return mapPolygon ; } |
19,345 | gets the value of the duration property . concode_field_sep Duration duration concode_elem_sep BigInteger maxAllowed concode_elem_sep RenewalDetail.LimitedRenewals limitedRenewals concode_elem_sep XMLGregorianCalendar lastRenewalExpirationDate concode_elem_sep Boolean unlimited concode_elem_sep XMLGregorianCalendar nex... | Duration function ( ) { return duration ; } |
19,346 | gets the city name . concode_field_sep String cityName concode_elem_sep List<CustomerModel> customerModels concode_elem_sep String cityCode concode_elem_sep boolean isEnabled concode_elem_sep StateModel stateModel concode_elem_sep long serialVersionUID concode_elem_sep int cityId concode_field_sep void setCustomerModel... | String function ( ) { return this . cityName ; } |
19,347 | gets the value of the message property . concode_field_sep List<String> fields concode_elem_sep String message concode_elem_sep StatusCode statusCode concode_field_sep List<String> getFields concode_elem_sep StatusCode getStatusCode concode_elem_sep void setStatusCode concode_elem_sep void setMessage | String function ( ) { return message ; } |
19,348 | returns the value of ` method ' of an object of this class . concode_field_sep Long reference concode_elem_sep Set<Header> headers concode_elem_sep String method concode_elem_sep Long requestId concode_elem_sep String relativeUrl concode_elem_sep String body concode_field_sep void setMethod concode_elem_sep void setHea... | String function ( ) { return this . method ; } |
19,349 | return the org.mockito.cglib.reflect.fastclass method indexfor the method used by #invokesuper . this index uniquely identifies the method within the generated proxy , and therefore can be useful to reference external metadata . concode_field_sep boolean attemptLoad concode_elem_sep int i1 concode_elem_sep int i2 conco... | int function ( ) { init ( ) ; return fastClassInfo . i2 ; } |
19,350 | method declaration concode_field_sep String scriptHelp[] concode_elem_sep String testDataSql[] 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... | int function ( int arg0 ) { arg0 = rRandom . nextInt ( ) % arg0 ; return arg0 < 0 ? - arg0 : arg0 ; } |
19,351 | gets the value of the title property . concode_field_sep String id concode_elem_sep String title concode_elem_sep XMLAttrtypeType type concode_elem_sep List<JAXBElement<String>> defaultOrOptions concode_field_sep XMLAttrtypeType getType concode_elem_sep void setId concode_elem_sep void setTitle concode_elem_sep String ... | String function ( ) { return title ; } |
19,352 | sets the offered capabilities that should be used when a new connection attempt is made . concode_field_sep Logger LOG concode_elem_sep String password concode_elem_sep AmqpValidator stateInspector concode_elem_sep List<Symbol> offeredCapabilities concode_elem_sep URI remoteURI concode_elem_sep String authzid concode_e... | void function ( List < Symbol > arg0 ) { if ( arg0 != null ) { arg0 = Collections . emptyList ( ) ; } this . offeredCapabilities = arg0 ; } |
19,353 | prints debugging message , level emergency concode_field_sep Level DEBUG concode_elem_sep Level ALERT concode_elem_sep boolean timeShown concode_elem_sep Level logLevel concode_elem_sep Level ERROR concode_elem_sep Set<String> reportedImplementationNeeded concode_elem_sep Level TRACE concode_elem_sep Log logger concode... | void function ( String arg0 ) { if ( logger != null ) { logger . log ( logger . EMERGENCY , arg0 ) ; } } |
19,354 | sets whether or not to a server needs client authentication . after calling this , #getwantclientauth will return false . concode_field_sep boolean needClientAuth concode_elem_sep boolean wantClientAuth concode_elem_sep String[] cipherSuites concode_elem_sep String endpointIdentificationAlgorithm concode_elem_sep Strin... | void function ( boolean arg0 ) { this . needClientAuth = arg0 ; this . wantClientAuth = false ; } |
19,355 | this method is called from classes implementing the jdbc interfaces . inside the engine it is used for conversion from a value of type other to another type . it will throw if the other is an instance of a classe that is not available . concode_field_sep byte[] data concode_field_sep int getBytesLength concode_elem_sep... | Serializable function ( ) { try { return InOutUtil . deserialize ( data ) ; } catch ( Exception loc0 ) { throw Error . error ( ErrorCode . X_22521 , loc0 . toString ( ) ) ; } } |
19,356 | gets the value of the localid property . concode_field_sep String givenName concode_elem_sep String familyName concode_elem_sep String refId concode_elem_sep String localId concode_field_sep void setGivenName concode_elem_sep String getRefId concode_elem_sep String getFamilyName concode_elem_sep void setFamilyName conc... | String function ( ) { return localId ; } |
19,357 | check if a http status code is client error 400 < = status < 500 concode_field_sep int UNAUTHORIZED concode_elem_sep int METHOD_NOT_ALLOWED concode_elem_sep int GATEWAY_TIEMOUT concode_elem_sep int FORBIDDEN concode_elem_sep int REQUEST_ENTITY_TOO_LARGE concode_elem_sep int NOT_MODIFIED concode_elem_sep int CONFLICT co... | boolean function ( int arg0 ) { if ( arg0 >= 400 && arg0 < 500 ) return true ; else return false ; } |
19,358 | get custom deserializer concode_field_sep java.lang.String lastName concode_elem_sep java.lang.String address concode_elem_sep java.lang.String city concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.util.Calendar dateOfBirth concode_elem_sep long zipcode concode_elem_sep java.lang.String firstName concode_e... | 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 ) ; } |
19,359 | determines the case of the letter as if it had been part of the original string concode_field_sep String DEFAULT_DICT concode_elem_sep Pattern pOneAttachedPronoun concode_elem_sep HashMap<String,String> dict concode_elem_sep Pattern pStrippable concode_elem_sep Set<String> accentedInfinitives concode_elem_sep Pattern p... | char function ( String arg0 , char arg1 ) { if ( Character . isUpperCase ( arg0 . charAt ( arg0 . length ( ) - 1 ) ) ) { return Character . toUpperCase ( arg1 ) ; } else { return Character . toLowerCase ( arg1 ) ; } } |
19,360 | set the inverse document frequency of the mention in the collection . concode_field_sep StringBuilder sb concode_elem_sep List<Entity> entities concode_elem_sep int collectionSize concode_elem_sep int freq concode_elem_sep int link concode_elem_sep double linkProbability concode_elem_sep IntArrayString ias concode_elem... | void function ( double arg0 ) { this . idf = arg0 ; } |
19,361 | returns true if the length of the string is exceeding length limitation concode_field_sep PlaceHolder placeHolder concode_field_sep int count | boolean function ( String arg0 ) { return count ( arg0 ) > 140 ; } |
19,362 | gets customer code . concode_field_sep String owningInstitution concode_elem_sep String itemBarcode concode_elem_sep String customerCode concode_elem_sep String message concode_field_sep void setOwningInstitution concode_elem_sep void setCustomerCode concode_elem_sep String getOwningInstitution concode_elem_sep String ... | String function ( ) { return customerCode ; } |
19,363 | helper . concode_field_sep Logger log concode_elem_sep Map<URI,List<TermNode>> params concode_field_sep void add concode_elem_sep void set concode_elem_sep void clear concode_elem_sep String getAsString concode_elem_sep String getAsString concode_elem_sep Integer getAsInt concode_elem_sep Integer getAsInt concode_elem_... | URI function ( final URI arg0 ) { return getAsURI ( arg0 , null ) ; } |
19,364 | always return true , trusting for client ssl chain peer certificate chain . concode_field_sep X509Certificate[] _AcceptedIssuers concode_elem_sep com.sun.net.ssl.TrustManager[] __trustManagers concode_elem_sep HostnameVerifier _hostnameVerifier concode_elem_sep com.sun.net.ssl.HostnameVerifier __hostnameVerifier concod... | boolean function ( X509Certificate [ ] arg0 ) { return ( true ) ; } |
19,365 | sets the token associated with the stream . concode_field_sep String expectedPreviousToken concode_elem_sep long offsetInMilliseconds concode_elem_sep String url concode_elem_sep String token concode_field_sep String getUrl concode_elem_sep void setExpectedPreviousToken concode_elem_sep String getExpectedPreviousToken ... | void function ( String arg0 ) { this . token = arg0 ; } |
19,366 | string representation concode_field_sep String raName concode_elem_sep CommonDeployment deployment concode_elem_sep ServiceName raServiceName concode_field_sep CommonDeployment getDeployment concode_elem_sep ServiceName getRaServiceName concode_elem_sep String getRaName | String function ( ) { StringBuilder loc0 = new StringBuilder ( 100 ) ; loc0 . append ( "srini_string" ) . append ( Integer . toHexString ( System . identityHashCode ( this ) ) ) ; loc0 . append ( "srini_string" ) . append ( deployment ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
19,367 | merges fields specified by a fieldmask from one message to another with the specified merge options . concode_field_sep String FIELD_SEPARATOR_REGEX concode_elem_sep String FIELD_PATH_SEPARATOR concode_elem_sep String FIELD_PATH_SEPARATOR_REGEX concode_elem_sep boolean replacePrimitiveFields concode_elem_sep boolean re... | void function ( FieldMask arg0 , Message arg1 , Message . Builder arg2 , MergeOptions arg3 ) { new FieldMaskTree ( arg0 ) . merge ( arg1 , arg2 , arg3 ) ; } |
19,368 | check to be sure there is an entry 1-9 in each position in the matrix exit with false as soon as you find one that is not concode_field_sep int[][] puzzle concode_elem_sep boolean[] digits concode_field_sep boolean checkSquare concode_elem_sep boolean checkPuzzle concode_elem_sep boolean checkColumn concode_elem_sep bo... | boolean function ( ) { for ( int loc0 = 0 ; loc0 < 9 ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < 9 ; loc1 ++ ) { if ( puzzle [ loc0 ] [ loc1 ] > 9 || puzzle [ loc0 ] [ loc1 ] < 1 ) { return false ; } } } return true ; } |
19,369 | get the component identifiers of the components installed with this deployable unit . concode_field_sep ComponentID[] components concode_elem_sep Date deploymentDate concode_elem_sep Object vendorData concode_elem_sep boolean vendorDataSerializationEnabled concode_elem_sep DeployableUnitID id concode_elem_sep boolean v... | ComponentID [ ] function ( ) { return components ; } |
19,370 | this key/value pair is stored in memory until #writemetadatatodisk boolean is invoked . concode_field_sep Map<String,String> buildMetadata concode_elem_sep String ABSOLUTE_PATH_ERROR_FORMAT concode_elem_sep BuildId buildId concode_elem_sep Path pathToMetadataDirectory concode_elem_sep Clock clock concode_elem_sep Immut... | void function ( String arg0 , String arg1 ) { metadataToWrite . put ( arg0 , arg1 ) ; } |
19,371 | whether or not this cpu is using the mips architecture . concode_field_sep int numCores concode_elem_sep Context ctx concode_elem_sep String hardware concode_elem_sep int variant concode_elem_sep String part concode_elem_sep String processorInfo concode_elem_sep String features concode_elem_sep int revision concode_ele... | boolean function ( ) { return Build . CPU_ABI . contains ( "srini_string" ) ; } |
19,372 | create a cell , and give it a value . concode_field_sep PlaceHolder placeHolder concode_field_sep void setAlignment concode_elem_sep void setCellStyleProperty concode_elem_sep HSSFCell getCell concode_elem_sep void setFont concode_elem_sep HSSFRow getRow concode_elem_sep HSSFCell translateUnicodeValues | HSSFCell function ( HSSFRow arg0 , int arg1 , String arg2 ) { return createCell ( arg0 , arg1 , arg2 , null ) ; } |
19,373 | this method returns the column for this location concode_field_sep int col concode_elem_sep int row concode_field_sep String toString concode_elem_sep int getRow | int function ( ) { return col ; } |
19,374 | returns stack specific transport class name . concode_field_sep PlaceHolder placeHolder concode_field_sep void modify concode_elem_sep void configureEndpoints concode_elem_sep void modifyContextRoot | String function ( final Deployment arg0 ) { String loc0 = ( String ) arg0 . getProperty ( WSConstants . STACK_TRANSPORT_CLASS ) ; if ( loc0 == null ) throw WSLogger . ROOT_LOGGER . missingDeploymentProperty ( WSConstants . STACK_TRANSPORT_CLASS ) ; return loc0 ; } |
19,375 | for phoenix-1126 , phoenix originally assumed all the annotation values were integers , but hbase writes some strings as well , so we need to be able to handle that too concode_field_sep PlaceHolder placeHolder concode_field_sep void testIntegerAnnotations concode_elem_sep Span getSpan concode_elem_sep void setup conco... | void function ( ) { Span loc0 = getSpan ( ) ; byte [ ] loc1 = Bytes . toBytes ( "srini_string" ) ; byte [ ] loc2 = Bytes . toBytes ( 1 ) ; assertTrue ( loc2 . length > loc1 . length ) ; loc0 . addKVAnnotation ( Bytes . toBytes ( "srini_string" ) , loc1 ) ; TraceMetricSource loc3 = new TraceMetricSource ( ) ; loc3 . rec... |
19,376 | remove a reference from the queue , if there is one . concode_field_sep Object lock concode_elem_sep Reference<? extends T> first concode_field_sep boolean enqueue concode_elem_sep Reference<? extends T> poll concode_elem_sep Reference<? extends T> remove concode_elem_sep Reference<? extends T> remove | Reference < ? extends T > function ( ) { synchronized ( lock ) { if ( first == null ) return null ; Reference < ? extends T > loc0 = first ; first = ( first == first . nextOnQueue ) ? null : first . nextOnQueue ; loc0 . nextOnQueue = null ; return loc0 ; } } |
19,377 | invoked when the mouse exits a component . concode_field_sep Point lastMousePosition concode_elem_sep DocumentViewModel documentViewModel concode_elem_sep AbstractDocumentView parentComponent concode_elem_sep DocumentViewController documentViewController concode_field_sep void mouseReleased concode_elem_sep void instal... | void function ( MouseEvent arg0 ) { } |
19,378 | helper called by generated code to determine if a byte array is a valid utf-8 encoded string such that the original bytes can be converted to a string object and then back to a byte array round tripping the bytes without loss . more precisely , returns true whenever : arrays.equals bytestring.tobytearray , new string b... | boolean function ( ByteString arg0 ) { return arg0 . isValidUtf8 ( ) ; } |
19,379 | gets a string from the resource bundle and formats it with the given argument . concode_field_sep ResourceBundle fgResourceBundle concode_elem_sep String RESOURCE_BUNDLE concode_field_sep String getString | String function ( String arg0 , Object arg1 ) { String loc0 = null ; try { loc0 = fgResourceBundle . getString ( arg0 ) ; } catch ( MissingResourceException loc1 ) { return "srini_string" + arg0 + "srini_string" ; } if ( arg1 == null ) arg1 = "srini_string" ; return MessageFormat . loc0 ( loc0 , new Object [ ] { arg1 }... |
19,380 | destroy hazelcast global counter , if it 's local then remove the map entry concode_field_sep long localCount concode_elem_sep Map<String,Long> counters concode_elem_sep Map<String,Long> timestamps concode_field_sep long addAndGetDistributedCounter concode_elem_sep long asyncGetAndAlterDistributedCounter concode_elem_s... | void function ( String arg0 ) { HazelcastInstance loc0 = getHazelcastInstance ( ) ; if ( loc0 != null ) { loc0 . getAtomicLong ( arg0 ) . destroy ( ) ; } else { counters . remove ( arg0 ) ; } } |
19,381 | return the proper stride through a vector relative to the ordering of the array this is for incx/incy parameters in blas . concode_field_sep PlaceHolder placeHolder concode_field_sep char getCharForTranspose concode_elem_sep int getBlasOffset concode_elem_sep double[] getDoubleData concode_elem_sep double[] getDoubleDa... | int function ( INDArray arg0 ) { if ( arg0 . ordering ( ) == NDArrayFactory . FORTRAN ) { return getBlasStride ( arg0 ) ; } else { if ( arg0 instanceof IComplexNDArray ) return arg0 . stride ( 1 ) / 2 ; return arg0 . stride ( 1 ) ; } } |
19,382 | sets the value of the arcrole property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep JAXBElement<? extends ImageDatumType> imageDatum concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep Stri... | void function ( String arg0 ) { this . arcrole = arg0 ; } |
19,383 | returns whether the given datum contains the same features as this datum . does n't check the labels , should we change this ? concode_field_sep Collection<FeatureType> features concode_elem_sep long serialVersionUID concode_elem_sep List<LabelType> labels concode_field_sep void addLabel concode_elem_sep Collection<Fea... | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof Datum ) ) { return ( false ) ; } Datum < LabelType , FeatureType > loc0 = ( Datum < LabelType , FeatureType > ) arg0 ; return features . equals ( loc0 . asFeatures ( ) ) ; } |
19,384 | returns the command of frame concode_field_sep boolean extendAddress concode_elem_sep boolean demandAck concode_elem_sep boolean threePhase concode_elem_sep Command command concode_field_sep void setDemandAckTo concode_elem_sep int getSecondParameter concode_elem_sep List<Byte> getDataBytes concode_elem_sep boolean sho... | Command function ( ) { return command ; } |
19,385 | get a static testsetup with the default plugin descriptor which is #default_plugin_descriptor concode_field_sep PluginManager<TestPlugin> pluginManager concode_elem_sep Map<String,MycilaTesting> instances concode_elem_sep Logger LOGGER concode_elem_sep MycilaTesting customTestHandler concode_elem_sep String DEFAULT_PLU... | MycilaTesting function ( ) { return staticSetup ( DEFAULT_PLUGIN_DESCRIPTOR ) ; } |
19,386 | refresh the current issue in the issue list . concode_field_sep ListBox issueList concode_elem_sep HTML test concode_elem_sep AbstractIssue issue concode_elem_sep Poller poller concode_elem_sep ArrayList<AbstractIssue> issues concode_elem_sep MuseumImages IMAGES concode_elem_sep SimplePanel monitor concode_elem_sep HTM... | void function ( ) { setIssue ( issues . get ( issueList . getSelectedIndex ( ) ) ) ; } |
19,387 | returns the agreed id , delegating functionality to the #type . id . concode_field_sep PlaceHolder placeHolder concode_field_sep String[] extract concode_elem_sep String[] read concode_elem_sep void insert concode_elem_sep TypeCode type concode_elem_sep void write | String function ( ) { try { return type ( ) . id ( ) ; } catch ( BadKind loc0 ) { throw new Error ( "srini_string" , loc0 ) ; } } |
19,388 | create a new key generator from the named provider . concode_field_sep KeyGeneratorSpi kgSpi concode_elem_sep String SERVICE concode_elem_sep Provider provider concode_elem_sep String algorithm concode_field_sep SecretKey generateKey concode_elem_sep void init concode_elem_sep void init concode_elem_sep void init conco... | KeyGenerator function ( String arg0 , String arg1 ) { if ( arg1 == null ) throw new IllegalArgumentException ( "srini_string" ) ; Provider loc0 = Security . getProvider ( arg1 ) ; if ( loc0 == null ) throw new NoSuchProviderException ( arg1 ) ; return getInstance ( arg0 , loc0 ) ; } |
19,389 | tagname getter . concode_field_sep String tagClass concode_elem_sep String description concode_elem_sep ArrayList<AttributeElement> attributes concode_elem_sep String tagName concode_field_sep String getTagClass concode_elem_sep ArrayList<AttributeElement> getAttributes concode_elem_sep void addAttribute concode_elem_s... | String function ( ) { return tagName ; } |
19,390 | the distribution 's information . concode_field_sep String eTag concode_elem_sep Distribution distribution concode_field_sep Distribution getDistribution concode_elem_sep GetDistributionResult withDistribution concode_elem_sep String getETag concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep... | void function ( Distribution arg0 ) { this . distribution = arg0 ; } |
19,391 | test pendingresponse for reached timeout . concode_field_sep PendingResponse<Command> pendingResponse concode_field_sep void testDoneWithInvalidResponse concode_elem_sep void notifyDone concode_elem_sep void notifyInvalidResponse concode_elem_sep void setUp concode_elem_sep void testUnreachTimeout | void function ( ) { try { notifyDone ( 1010 , pendingResponse ) ; pendingResponse . waitDone ( ) ; fail ( "srini_string" ) ; } catch ( ResponseTimeoutException loc0 ) { } catch ( InvalidResponseException loc0 ) { fail ( "srini_string" ) ; } } |
19,392 | called for every subdirectory found in the watched directory during initialization concode_field_sep PlaceHolder placeHolder concode_field_sep void onFileCreated concode_elem_sep void onFileInit concode_elem_sep void onDirectoryCreated concode_elem_sep void onFileDeleted concode_elem_sep void onDirectoryDeleted concode... | void function ( Path arg0 ) { } |
19,393 | returns the frame rate value for the encoding process . concode_field_sep String codec concode_elem_sep Integer bitRate concode_elem_sep VideoSize size concode_elem_sep long serialVersionUID concode_elem_sep String tag concode_elem_sep String DIRECT_STREAM_COPY concode_elem_sep Integer frameRate concode_field_sep Integ... | Integer function ( ) { return frameRate ; } |
19,394 | access an ordered list of all mimetype subtypes for a particular category . concode_field_sep String NAMEFILEBUNDLE concode_elem_sep String DEFAULT_NAMEFILEBUNDLE concode_elem_sep String DEFAULT_DISPLAY_NAME concode_elem_sep SortedMap<String,SortedSet<String>> m_mimetypes concode_elem_sep ServerConfigurationService ser... | List < String > function ( String arg0 ) { List < String > loc0 = new Vector < String > ( ) ; Set < String > loc1 = ( Set < String > ) m_mimetypes . get ( arg0 ) ; if ( loc1 != null ) { loc0 . addAll ( loc1 ) ; } return loc0 ; } |
19,395 | get the method definition given the method name . concode_field_sep IClassInfo classInfo concode_elem_sep String toolTip concode_field_sep void setName concode_elem_sep void addMember concode_elem_sep String getName concode_elem_sep void setToolTip concode_elem_sep IMemberInfo getMember concode_elem_sep void setDisplay... | IMethodInfo function ( String arg0 ) { return classInfo . getMethod ( arg0 ) ; } |
19,396 | answers the singleton . at some point , the caller must populate the web servlet context . concode_field_sep ServletContextSingleton singleton concode_elem_sep ServletContext servletContext concode_field_sep ServletContext getServletContext concode_elem_sep void setServletContext | ServletContextSingleton function ( ) { if ( singleton == null ) { singleton = new ServletContextSingleton ( ) ; } return singleton ; } |
19,397 | seteventmanager concode_field_sep List<PendingPollEvent> m_pendingPollEvents concode_elem_sep String m_name concode_elem_sep String m_localHostName concode_elem_sep QueryManager m_queryManager concode_elem_sep PollerConfig m_pollerConfig concode_elem_sep boolean m_listenerAdded concode_elem_sep EventIpcManager m_eventM... | void function ( EventIpcManager arg0 ) { m_eventManager = arg0 ; } |
19,398 | sets the size of this object in bytes . concode_field_sep Owner owner concode_elem_sep String bucketName concode_elem_sep String storageClass concode_elem_sep long size concode_elem_sep String eTag concode_elem_sep Date lastModified concode_elem_sep String key concode_field_sep String getKey concode_elem_sep Date getLa... | void function ( long arg0 ) { this . size = arg0 ; } |
19,399 | the internal type concode_field_sep double endWaitingTime concode_elem_sep int HOLD_DONE concode_elem_sep int entSrc concode_elem_sep Object data concode_elem_sep int CREATE concode_elem_sep int ENULL concode_elem_sep int entDst concode_elem_sep int etype concode_elem_sep double time concode_elem_sep int tag concode_el... | int function ( ) { return etype ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.