idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
21,100 | return true if the latitude is between -90 and 90 degrees inclusive and the longitude is between -180 and 180 degrees inclusive . concode_field_sep S2LatLng CENTER concode_elem_sep double EARTH_RADIUS_METERS concode_elem_sep double latRadians concode_elem_sep double lngRadians concode_field_sep S2LatLng sub concode_ele... | boolean function ( ) { return Math . abs ( lat ( ) . radians ( ) ) <= S2 . M_PI_2 && Math . abs ( lng ( ) . radians ( ) ) <= S2 . M_PI ; } |
21,101 | get max-pool-size concode_field_sep boolean useFastFail concode_elem_sep boolean backgroundValidation concode_elem_sep Integer initialSize concode_elem_sep long backgroundValidationMillis concode_elem_sep int idleTimeoutMinutes concode_elem_sep boolean prefill concode_elem_sep FlushStrategy flushStrategy concode_elem_s... | int function ( ) { if ( maxSize < minSize ) return minSize ; return maxSize ; } |
21,102 | get the adapterinactive repository id . concode_field_sep PlaceHolder placeHolder concode_field_sep AdapterInactive extract concode_elem_sep AdapterInactive read concode_elem_sep void insert concode_elem_sep TypeCode type concode_elem_sep void write | String function ( ) { return "srini_string" ; } |
21,103 | the table name is auto-generated using #extracttablename class . concode_field_sep Class<? extends ContentItem> mDataItem concode_elem_sep String DOUBLE_ESCAPE concode_elem_sep String mTable concode_field_sep void appendFKColumnDef concode_elem_sep void appendColumnDef concode_elem_sep List<String> getTableCreation con... | String function ( ) { return mTable ; } |
21,104 | get native error message from file driver for file related errors applies when errorcode is 90 concode_field_sep PlaceHolder placeHolder concode_field_sep int errorCode concode_elem_sep String errorFile concode_elem_sep String error concode_elem_sep String fileErrorCode | String function ( ) { return "srini_string" ; } |
21,105 | creates the row separator given the maximum size for each column concode_field_sep PlaceHolder placeHolder concode_field_sep Object getCsvValue concode_elem_sep List<String> getRowStringValues concode_elem_sep ResultSet combineResultSets concode_elem_sep Object getApiValue concode_elem_sep List<Integer> getMaxColumnSiz... | String function ( List < Integer > arg0 ) { StringBuilder loc0 = new StringBuilder ( "srini_string" ) ; for ( int loc1 : arg0 ) { loc0 . append ( Strings . repeat ( "srini_string" , loc1 + 2 ) ) . append ( "srini_string" ) ; } return loc0 . append ( "srini_string" ) . toString ( ) ; } |
21,106 | returns the modified date of this cal event . concode_field_sep CalEvent _calEvent concode_field_sep java.util.Date getStartDate concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getLocation concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolea... | java . util . Date function ( ) { return _calEvent . getModifiedDate ( ) ; } |
21,107 | gets the value of the description property . concode_field_sep List<LabelType> types concode_elem_sep String name concode_elem_sep String description concode_elem_sep Long id concode_elem_sep Boolean isActive concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setId concode_elem_sep Lon... | String function ( ) { return description ; } |
21,108 | adds a string property as string literal optionally . adds quotes and does json string escaping , as described at json.org . concode_field_sep StringBuilder params concode_field_sep JSONBuilder item concode_elem_sep JSONBuilder beginArray concode_elem_sep JSONBuilder beginMap concode_elem_sep JSONBuilder beginMap conco... | JSONBuilder function ( String arg0 , String arg1 , boolean arg2 ) { appendCommaAndKey ( arg0 ) ; if ( arg2 ) { params . append ( arg1 ) ; } else { arg1 = escapeString ( arg1 ) ; params . append ( '"' ) . append ( arg1 ) . append ( '"' ) ; } return this ; } |
21,109 | sets the value of the label property . concode_field_sep List<Object> fieldOrIdparamOrLayout concode_elem_sep String name concode_elem_sep String label concode_elem_sep String inputTemplate concode_field_sep void setName concode_elem_sep String getLabel concode_elem_sep String getName concode_elem_sep String getInputTe... | void function ( String arg0 ) { this . label = arg0 ; } |
21,110 | gets the value of the bucketbalanceafter property . concode_field_sep String bucketName concode_elem_sep String roaming concode_elem_sep BigDecimal dedicatedAccountBefore concode_elem_sep String bucketBalanceBefore concode_elem_sep BigDecimal dedicatedAccountAfter concode_elem_sep String callDirection concode_elem_sep ... | String function ( ) { return bucketBalanceAfter ; } |
21,111 | the next option created will have the specified description concode_field_sep int numberOfArgs concode_elem_sep String argName concode_elem_sep OptionBuilder INSTANCE concode_elem_sep String description concode_elem_sep Class<?> type concode_elem_sep boolean optionalArg concode_elem_sep String longopt concode_elem_sep ... | OptionBuilder function ( String arg0 ) { OptionBuilder . description = arg0 ; return INSTANCE ; } |
21,112 | set the loop position of this memmusic by sample frame . concode_field_sep MusicReference reference concode_elem_sep double volume concode_elem_sep byte[] left concode_elem_sep boolean loop concode_elem_sep Mixer mixer concode_elem_sep boolean playing concode_elem_sep byte[] right concode_elem_sep int position concode_... | void function ( int arg0 ) { int loc0 = TinySound . FORMAT . getFrameSize ( ) / TinySound . FORMAT . getChannels ( ) ; long loc1 = ( long ) ( arg0 * loc0 ) ; this . reference . setLoopPosition ( loc1 ) ; } |
21,113 | gets the value of the opsusername property . concode_field_sep JAXBElement<String> opsTenantName concode_elem_sep JAXBElement<String> opsPassword concode_elem_sep JAXBElement<String> opsUserid concode_elem_sep JAXBElement<String> opsUsername concode_elem_sep JAXBElement<String> cloudType concode_elem_sep JAXBElement<St... | JAXBElement < String > function ( ) { return opsUsername ; } |
21,114 | gets the value of the transforms property . concode_field_sep byte[] digestValue concode_elem_sep DigestMethodType digestMethod concode_elem_sep TransformsType transforms concode_elem_sep String id concode_elem_sep String type concode_elem_sep String uri concode_field_sep void setDigestValue concode_elem_sep byte[] get... | TransformsType function ( ) { return transforms ; } |
21,115 | translates null or zero length value for address key to the special value serverconstants.sc _ default_address which causes serversockets to be constructed without specifying an inetaddress . concode_field_sep PlaceHolder placeHolder concode_field_sep void translateDefaultNoSystemExitProperty concode_elem_sep int getDe... | void function ( HsqlProperties arg0 ) { if ( arg0 == null ) { return ; } String loc0 = arg0 . getProperty ( SC_KEY_ADDRESS ) ; if ( StringUtil . isEmpty ( loc0 ) ) { arg0 . setProperty ( SC_KEY_ADDRESS , SC_DEFAULT_ADDRESS ) ; } } |
21,116 | gets the list of components that have a selected state . the weakreference must be checkt o make sure the page was not disposed of for for some reason by the the memeory manager . concode_field_sep ArrayList<WeakReference<AbstractPageViewComponent>> selectedPageText concode_elem_sep float oldUserZoom concode_elem_sep i... | ArrayList < WeakReference < AbstractPageViewComponent >> function ( ) { return selectedPageText ; } |
21,117 | gets is this effect should fire partial submit when finished concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep String sequence concode_e... | boolean function ( ) { return submit ; } |
21,118 | getupdatecount concode_field_sep String COMPOSITE_TYPE_DESCRIPTION concode_elem_sep long updateCount concode_elem_sep long fetchCount concode_elem_sep String TABULAR_TYPE_NAME concode_elem_sep OpenType[] ITEM_TYPES concode_elem_sep CompositeType COMPOSITE_TYPE concode_elem_sep long loadCount concode_elem_sep long delet... | long function ( ) { return updateCount ; } |
21,119 | stop program concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks concode_elem_sep boolean testMode concode_elem_sep boolean hard concode_elem_sep Logger log concode_elem_sep List<Runnable> shutdownHooks concode_field_sep void setHardAssert concode_elem_sep void initThread concode_elem_sep vo... | void function ( String arg0 ) { if ( arg0 != null && arg0 . length ( ) > 0 ) { CWin . arg0 ( Clarion . newString ( arg0 ) , Clarion . newString ( "srini_string" ) , Icon . HAND ) ; } System . exit ( 0 ) ; } |
21,120 | returns the name of this expression type , used when serializing an expression to a string . the default implementation tries to extract a name from a function call , if any , then prints the last part of the class name . concode_field_sep Type type concode_elem_sep Exp exp concode_elem_sep Calc[] calcs concode_field_s... | String function ( ) { String loc0 = lastSegment ( getClass ( ) ) ; if ( isDigits ( loc0 ) && exp instanceof ResolvedFunCall ) { ResolvedFunCall loc1 = ( ResolvedFunCall ) exp ; loc0 = loc1 . getFunDef ( ) . getName ( ) ; } return loc0 ; } |
21,121 | gets the opacity from a color . inspired by android colordrawable . concode_field_sep PlaceHolder placeHolder concode_field_sep int multiplyColorAlpha | int function ( int arg0 ) { int loc0 = arg0 >>> 24 ; if ( loc0 == 255 ) { return PixelFormat . OPAQUE ; } else if ( loc0 == 0 ) { return PixelFormat . TRANSPARENT ; } else { return PixelFormat . TRANSLUCENT ; } } |
21,122 | sets the sort field to use . the default value is sessionresultfilter.sort _ last_activity_date . concode_field_sep Date creationDateRangeMax concode_elem_sep Date lastActivityDateRangeMin concode_elem_sep int SORT_NUM_CLIENT_PACKETS concode_elem_sep int numResults concode_elem_sep int SORT_LAST_ACTIVITY_DATE concode_e... | void function ( int arg0 ) { this . sortField = arg0 ; } |
21,123 | this method takes the required parameters viz . filename and buffer reader and returns the current line from the file . concode_field_sep BufferedReader bufferReader concode_elem_sep BufferedWriter bufferWriter concode_field_sep void writeLineToFile concode_elem_sep void closeBufferWriter | String function ( ) { String loc0 = null ; try { loc0 = bufferReader . readLine ( ) ; } catch ( IOException loc1 ) { Logger . writeMessage ( "srini_string" ) ; System . exit ( 0 ) ; } return loc0 ; } |
21,124 | this method was generated by mybatis generator . this method returns the value of the database column actblh.apcode concode_field_sep Long draccm concode_elem_sep BigDecimal ddrirt concode_elem_sep String apcode concode_elem_sep String recsts concode_elem_sep Date bngdat concode_elem_sep BigDecimal crirat concode_elem_... | String function ( ) { return apcode ; } |
21,125 | parses a boolean . if the string text contains the value of `` true '' , the true value is returned , else false is returned . concode_field_sep PlaceHolder placeHolder concode_field_sep int parseInt concode_elem_sep int parseInt concode_elem_sep float parseFloat concode_elem_sep float parseFloat concode_elem_sep Strin... | boolean function ( final String arg0 , final boolean arg1 ) { if ( arg0 == null ) { return arg1 ; } return arg0 . equalsIgnoreCase ( "srini_string" ) ; } |
21,126 | every entity that the infopacket traverses should add the baud rate of the link on which this packet will be sent out next . concode_field_sep int packetId concode_elem_sep int hopsNumber concode_elem_sep int last concode_elem_sep int netServiceType concode_elem_sep double bandwidth concode_elem_sep DecimalFormat num c... | void function ( double arg0 ) { if ( baudRates == null ) { return ; } baudRates . add ( new Double ( arg0 ) ) ; if ( bandwidth < 0 || arg0 < this . bandwidth ) { this . bandwidth = arg0 ; } } |
21,127 | get a copy of this data . concode_field_sep double[] data concode_elem_sep int offset concode_field_sep Vector add concode_elem_sep Vector sub concode_elem_sep Vector scaleAdd concode_elem_sep Vector scalei concode_elem_sep Vector mult concode_elem_sep Vector max concode_elem_sep Vector apply concode_elem_sep Vector sh... | double [ ] function ( ) { double [ ] loc0 = new double [ data . length ] ; for ( int loc1 = 0 ; loc1 < data . length ; loc1 ++ ) { try { loc0 [ loc1 ] = data [ loc1 + offset ] ; } catch ( ArrayIndexOutOfBoundsException loc2 ) { loc0 [ loc1 ] = Double . NaN ; } } return loc0 ; } |
21,128 | initialize this key generator with a set of parameters ; the highest-priority java.security.securerandom implementationwill be used . 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 conco... | void function ( AlgorithmParameterSpec arg0 ) { init ( arg0 , new SecureRandom ( ) ) ; } |
21,129 | create a diagnostictype at level checklevel.off concode_field_sep CheckLevel level concode_elem_sep MessageFormat format concode_elem_sep CheckLevel defaultLevel concode_elem_sep String key concode_elem_sep long serialVersionUID concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String form... | DiagnosticType function ( String arg0 , String arg1 ) { return make ( arg0 , CheckLevel . OFF , arg1 ) ; } |
21,130 | find the end of the hl7 payload searches the payload from the end , looking for the end_of_block , end_of_data characters . concode_field_sep Logger LOG concode_field_sep void reset concode_elem_sep void setSoTimeout concode_elem_sep int findStartOfBlock concode_elem_sep int findStartOfBlock concode_elem_sep void close... | int function ( byte [ ] arg0 , int arg1 ) { if ( arg0 != null && arg1 >= 0 ) { for ( int loc0 = Math . min ( arg1 , arg0 . arg1 ) - 1 ; loc0 > 0 ; -- loc0 ) { if ( arg0 [ loc0 ] == END_OF_DATA ) { if ( loc0 > 0 && arg0 [ loc0 - 1 ] == END_OF_BLOCK ) { return loc0 - 1 ; } } } } return - 1 ; } |
21,131 | to load additional classes when working with xml concode_field_sep Long contentId concode_elem_sep String language concode_elem_sep Long workItemId concode_elem_sep Class[] extraJaxbClasses concode_elem_sep Integer timeout concode_elem_sep String password concode_elem_sep Integer maxNumber concode_elem_sep String proce... | void function ( Class [ ] arg0 ) { this . extraJaxbClasses = arg0 ; } |
21,132 | this looks from a given node , so the parameter is always > -1 . 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 concod... | int function ( int arg0 ) { return linkTable [ arg0 ] ; } |
21,133 | returns the stack in slot i concode_field_sep ItemStack inventoryContents[] concode_elem_sep int slotsCount concode_elem_sep String inventoryTitle concode_elem_sep List field_20073_d concode_field_sep ItemStack decrStackSize concode_elem_sep int getInventoryStackLimit concode_elem_sep String getInvName concode_elem_sep... | ItemStack function ( int arg0 ) { return inventoryContents [ arg0 ] ; } |
21,134 | returns maximum number of times a message would be re-delivered in case of any exception . concode_field_sep int messageMaxRedeliveryCount concode_elem_sep long messageRedeliveryDelay concode_field_sep long getMessageRedeliveryDelay | int function ( ) { return messageMaxRedeliveryCount ; } |
21,135 | get the int value mapped from the specified key concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep int[] mValues concode_field_sep int keyAt concode_elem_sep boolean containsKey concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep int valueAt concode_elem_sep void put con... | int function ( int arg0 , int arg1 ) { int loc0 = indexOf ( arg0 ) ; if ( loc0 >= 0 ) { return mValues [ loc0 ] ; } return arg1 ; } |
21,136 | unlock this file and abort this change . the temporary file if created is deleted before returning . concode_field_sep boolean haveLck concode_elem_sep String SUFFIX concode_elem_sep File ref concode_elem_sep boolean fsync concode_elem_sep boolean needSnapshot concode_elem_sep FileOutputStream os concode_elem_sep FileS... | void function ( ) { if ( os != null ) { try { os . close ( ) ; } catch ( IOException loc0 ) { } os = null ; } if ( haveLck ) { haveLck = false ; try { FileUtils . delete ( lck , FileUtils . RETRY ) ; } catch ( IOException loc0 ) { } } } |
21,137 | return a list iterator - delegates to internal list concode_field_sep LinkedList list concode_elem_sep int numberOfReverseScheduledTasks concode_elem_sep Task task concode_elem_sep boolean markerStatus concode_elem_sep SchedulingAlgorithm schedulingAlgorithm concode_elem_sep int CALCULATION_STATUS_STEP concode_elem_sep... | ListIterator function ( ) { return list . listIterator ( ) ; } |
21,138 | this is used to remove a framelistener from this instance . after removal the listener will no longer receive any user frames or control messages from this specific instance . concode_field_sep Reason reason concode_elem_sep Trace trace concode_elem_sep Session session concode_elem_sep Channel channel concode_elem_sep ... | void function ( FrameListener arg0 ) { operation . remove ( arg0 ) ; } |
21,139 | returns an array of the xy series . concode_field_sep List<XYSeries> mSeries concode_field_sep void addSeries concode_elem_sep void addSeries concode_elem_sep void removeSeries concode_elem_sep void removeSeries concode_elem_sep XYSeries getSeriesAt concode_elem_sep void clear concode_elem_sep int getSeriesCount concod... | XYSeries [ ] function ( ) { return mSeries . toArray ( new XYSeries [ 0 ] ) ; } |
21,140 | if you have more bytematchset objects than the number that you specified for limit in the request , the response includes a nextmarker value . to list more bytematchset objects , submit another listbytematchsets request , and specify the nextmarker value from the response in the nextmarker value in the next request . c... | ListByteMatchSetsResult function ( String arg0 ) { setNextMarker ( arg0 ) ; return this ; } |
21,141 | write the content of this payload to the given target channel . concode_field_sep long sequence concode_elem_sep ByteBuffer data concode_elem_sep String SEQ_HEADER concode_elem_sep char[] HEX_CHARS concode_elem_sep Log logger concode_elem_sep int BUFFER_SIZE concode_field_sep void logOutgoing concode_elem_sep void logI... | void function ( WritableByteChannel arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; while ( this . data . hasRemaining ( ) ) { arg0 . write ( this . data ) ; } } |
21,142 | encodes an object using the soundex algorithm . this method is provided in order to satisfy the requirements of the encoder interface , and will throw an encoderexception if the supplied object is not of type java.lang.string . concode_field_sep char[] soundexMapping concode_elem_sep char[] US_ENGLISH_MAPPING concode_e... | Object function ( Object arg0 ) { if ( ! ( arg0 instanceof String ) ) { throw new EncoderException ( "srini_string" ) ; } return soundex ( ( String ) arg0 ) ; } |
21,143 | get the service name of a subdeployment . concode_field_sep ServiceName JBOSS_DEPLOYMENT_CHAINS concode_elem_sep ServiceName JBOSS_DEPLOYMENT concode_elem_sep ServiceName JBOSS_DEPLOYMENT_SUB_UNIT concode_elem_sep ServiceName JBOSS_DEPLOYMENT_UNIT concode_elem_sep ServiceName JBOSS_DEPLOYMENT_EXTENSION_INDEX concode_fi... | ServiceName function ( String arg0 , String arg1 ) { return JBOSS_DEPLOYMENT_SUB_UNIT . append ( arg0 , arg1 ) ; } |
21,144 | sets the value of the campaignid property . concode_field_sep Long feedId concode_elem_sep Long campaignId concode_elem_sep Function matchingFunction concode_elem_sep List<Integer> placeholderTypes concode_elem_sep CampaignFeedStatus status concode_field_sep Function getMatchingFunction concode_elem_sep void setFeedId ... | void function ( Long arg0 ) { this . campaignId = arg0 ; } |
21,145 | registers a text attribute key with the specified identifier and a fallback key . if text attributes for the key are not defined in a color scheme , they will be acquired by the fallback key if possible . fallback keys can be chained , for example , text attribute key a can depend on key b which in turn can depend on k... | TextAttributesKey function ( @ NonNls @ NotNull String arg0 , TextAttributesKey arg1 ) { TextAttributesKey loc0 = find ( arg0 ) ; loc0 . setFallbackAttributeKey ( arg1 ) ; return loc0 ; } |
21,146 | sets the id of the model concode_field_sep Category[] categories concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep String description concode_elem_sep String id concode_elem_sep String domainId concode_field_sep void setName concode_elem_sep void setCategories concode_elem_sep String ... | void function ( String arg0 ) { this . id = arg0 ; } |
21,147 | create an instance of orderidentifier concode_field_sep PlaceHolder placeHolder concode_field_sep OrderInfoType createOrderInfoType concode_elem_sep CouponInfoType createCouponInfoType concode_elem_sep ChargeInfoType createChargeInfoType concode_elem_sep ChargeInfoType.Frequency createChargeInfoTypeFrequency concode_el... | OrderIdentifier function ( ) { return new OrderIdentifier ( ) ; } |
21,148 | add a new value to the histogram concode_field_sep IntHistogram hist concode_field_sep int maxVal concode_elem_sep int minVal concode_elem_sep double avgSelectivity concode_elem_sep double estimateSelectivity concode_elem_sep int stringToInt | void function ( String arg0 ) { int loc0 = stringToInt ( arg0 ) ; hist . addValue ( loc0 ) ; } |
21,149 | sets the type of this user id mapper . concode_field_sep UserIdMapper _userIdMapper concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep long getUserIdMapperId co... | void function ( java . lang . String arg0 ) { _userIdMapper . setType ( arg0 ) ; } |
21,150 | get the class name of this ee module class . concode_field_sep StringBuilder invalidMessageBuilder concode_elem_sep InterceptorClassDescription interceptorClassDescription concode_elem_sep boolean invalid concode_elem_sep String className concode_elem_sep Map<Class<? extends Annotation>,ClassAnnotationInformation<?,?>>... | String function ( ) { return className ; } |
21,151 | adds the given filetransferprogresslistener to listen for status changes on this file transfer . concode_field_sep Logger logger concode_elem_sep Vector<FileTransferProgressListener> progressListeners concode_elem_sep Vector<FileTransferStatusListener> statusListeners concode_elem_sep int status concode_field_sep void ... | void function ( FileTransferProgressListener arg0 ) { synchronized ( progressListeners ) { if ( ! progressListeners . contains ( arg0 ) ) { this . progressListeners . add ( arg0 ) ; } } } |
21,152 | any comments you want to include about the origin access identity . concode_field_sep String callerReference concode_elem_sep String comment concode_field_sep String getCallerReference concode_elem_sep CloudFrontOriginAccessIdentityConfig withComment concode_elem_sep CloudFrontOriginAccessIdentityConfig withCallerRefer... | String function ( ) { return this . comment ; } |
21,153 | sets the value of the templateref property . concode_field_sep JspxPages jspxPages concode_elem_sep ResourceType templateRef concode_elem_sep Beans beans concode_field_sep void setBeans concode_elem_sep JspxPages getJspxPages concode_elem_sep void setJspxPages concode_elem_sep ResourceType getTemplateRef concode_elem_s... | void function ( ResourceType arg0 ) { this . templateRef = arg0 ; } |
21,154 | gets the delay before invoking the effect concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep String sequence concode_elem_sep float delay... | float function ( ) { return delay ; } |
21,155 | convenience method that can decode a qr code represented as a 2d array of booleans . `` true '' is taken to mean a black module . concode_field_sep ReedSolomonDecoder rsDecoder concode_field_sep void correctErrors | DecoderResult function ( boolean [ ] [ ] arg0 , Map < DecodeHintType , ? > arg1 ) { int loc0 = arg0 . length ; BitMatrix loc1 = new BitMatrix ( loc0 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { for ( int loc3 = 0 ; loc3 < loc0 ; loc3 ++ ) { if ( arg0 [ loc2 ] [ loc3 ] ) { loc1 . set ( loc3 , loc2 ) ; } } } return... |
21,156 | register bouncycastle provider . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetDefaultSet | void function ( ) { Security . addProvider ( new BouncyCastleProvider ( ) ) ; } |
21,157 | get the constraint of the given permission on this rights object . concode_field_sep int DRM_PERMISSION_DISPLAY concode_elem_sep int DRM_PERMISSION_EXECUTE concode_elem_sep int JNI_DRM_FAILURE concode_elem_sep String roId concode_elem_sep int JNI_DRM_SUCCESS concode_elem_sep int DRM_PERMISSION_PRINT concode_elem_sep in... | DrmConstraintInfo function ( int arg0 ) { DrmConstraintInfo loc0 = new DrmConstraintInfo ( ) ; int loc1 = nativeGetConstraintInfo ( arg0 , loc0 ) ; if ( JNI_DRM_FAILURE == loc1 ) return null ; return loc0 ; } |
21,158 | gets the name of the vendor that has provided the resource adapter . concode_field_sep PlaceHolder placeHolder concode_field_sep String getSpecVersion concode_elem_sep String getAdapterName concode_elem_sep String[] getInteractionSpecsSupported concode_elem_sep boolean supportsLocalTransactionDemarcation concode_elem_s... | String function ( ) { return "srini_string" ; } |
21,159 | create and bind a server socket concode_field_sep boolean isFixedPort concode_elem_sep int port concode_elem_sep List<ClientMapping> clientMappings concode_elem_sep NetworkInterfaceBinding networkInterface concode_elem_sep InetAddress multicastAddress concode_elem_sep ServiceName JBOSS_BINDING_NAME concode_elem_sep Str... | ServerSocket function ( ) { final ServerSocket loc0 = getServerSocketFactory ( ) . createServerSocket ( name ) ; loc0 . bind ( getSocketAddress ( ) ) ; return loc0 ; } |
21,160 | gets the expirationdate value for this lotnumberedinventoryitemnumbers . concode_field_sep com.netsuite.webservices.platform.core_2014_2.RecordRef serialNumber concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Double quantityOnHand concode_elem_sep java.lang.Object __equalsCalc c... | java . util . Calendar function ( ) { return expirationDate ; } |
21,161 | gets the value of the description property . concode_field_sep Object parent concode_elem_sep Long localSheetId concode_elem_sep Boolean hidden concode_elem_sep String customMenu concode_elem_sep Boolean publishToServer concode_elem_sep String description concode_elem_sep Long functionGroupId concode_elem_sep String he... | String function ( ) { return description ; } |
21,162 | creates an origin object for the provided value . concode_field_sep long serialVersionUID concode_elem_sep ImmutableList<String> responseHeaders concode_elem_sep long serialVersionUID concode_elem_sep ImmutableList<HttpMethod> methods concode_elem_sep ImmutableList<Origin> origins concode_elem_sep Function<Cors,Bucket.... | Origin function ( String arg0 ) { if ( ANY_URI . equals ( arg0 ) ) { return any ( ) ; } return new Origin ( arg0 ) ; } |
21,163 | sets the indices of this indexbufferobject , discarding the old indices . the count must equal the number of indices to be copied to this indexbufferobject . this can be called in between calls to #bind and #unbind . the index data will be updated instantly . concode_field_sep boolean isDirty concode_elem_sep int usage... | void function ( short [ ] arg0 , int arg1 , int arg2 ) { isDirty = true ; buffer . clear ( ) ; buffer . put ( arg0 , arg1 , arg2 ) ; buffer . flip ( ) ; if ( isBound ) { Gdx . gl20 . glBufferData ( GL20 . GL_ELEMENT_ARRAY_BUFFER , buffer . limit ( ) , buffer , usage ) ; isDirty = false ; } } |
21,164 | test with content servlet that does : asynccontext create - > no-timeout - > scheduler.schedule - > dispatch - > write-response concode_field_sep int LARGE concode_elem_sep TestingDir testingdir concode_elem_sep String fileName concode_elem_sep int MEDIUM concode_elem_sep int fileSize concode_elem_sep TestTracker track... | void function ( ) { testWithGzip ( AsyncScheduledDispatchWrite . Default . class ) ; } |
21,165 | error log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void set... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . ERROR >= LOGLEVEL ) Log . arg2 ( arg0 , arg1 , arg2 ) ; } |
21,166 | map type name to the new name . subclasses can override . concode_field_sep PlaceHolder placeHolder concode_field_sep String mapSignature concode_elem_sep Object mapValue concode_elem_sep String mapMethodDesc concode_elem_sep String mapDesc concode_elem_sep String mapInvokeDynamicMethodName concode_elem_sep String mapM... | String function ( String arg0 ) { return arg0 ; } |
21,167 | return the type of certificate store this instance represents . concode_field_sep CertStoreSpi storeSpi concode_elem_sep Provider provider concode_elem_sep String CERT_STORE concode_elem_sep String type concode_elem_sep CertStoreParameters params concode_field_sep CertStoreParameters getCertStoreParameters concode_elem... | String function ( ) { return type ; } |
21,168 | set the username for the user . concode_field_sep String NAME concode_elem_sep String STATUS concode_elem_sep String USERTYPE concode_elem_sep Map<String,Object> internalState concode_elem_sep String ID concode_elem_sep String KRB_PRINCIPAL concode_field_sep String getKrbPrincipal concode_elem_sep String getName concod... | void function ( final String arg0 ) { getInternalState ( ) . put ( NAME , arg0 ) ; } |
21,169 | lookups for a child descriptor with the specified type , skips the number children with the same type before finding a result . concode_field_sep int readed concode_elem_sep int size concode_elem_sep int MP4ES_DescriptorTag concode_elem_sep int MP4DecSpecificInfoDescriptorTag concode_elem_sep int MP4DecoderConfigDescri... | MP4Descriptor function ( int arg0 , int arg1 ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < children . size ( ) ; loc1 ++ ) { MP4Descriptor loc2 = ( MP4Descriptor ) children . elementAt ( loc1 ) ; if ( loc2 . getType ( ) == arg0 ) { if ( loc0 >= arg1 ) { return loc2 ; } loc0 ++ ; } } return null ; } |
21,170 | gets four bytes as int from struct on specified index with specified offset concode_field_sep OffHeapMemory ohm concode_elem_sep int structLength concode_field_sep void set concode_elem_sep void set concode_elem_sep byte getByte concode_elem_sep short getShort concode_elem_sep void putInt concode_elem_sep boolean isUns... | int function ( long arg0 , int arg1 ) { assert arg1 <= structLength - 4 : arg1 ; return ohm . getInt ( arg0 * structLength + arg1 ) ; } |
21,171 | write the serviceid to the cdr output stream . concode_field_sep PlaceHolder placeHolder concode_field_sep int extract concode_elem_sep int read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type | void function ( OutputStream arg0 , int arg1 ) { arg0 . write_ulong ( arg1 ) ; } |
21,172 | gets the value of the split property . concode_field_sep Integer split concode_elem_sep Long userId concode_field_sep void setSplit concode_elem_sep Long getUserId concode_elem_sep void setUserId | Integer function ( ) { return split ; } |
21,173 | programmatic interface to the java programming language compiler , javac . concode_field_sep PlaceHolder placeHolder concode_field_sep void main | int function ( String [ ] arg0 ) { com . sun . tools . javac . main . Main loc0 = new com . sun . tools . javac . main . Main ( "srini_string" ) ; return loc0 . compile ( arg0 ) ; } |
21,174 | checks that object is not null . concode_field_sep PlaceHolder placeHolder concode_field_sep int checkMin concode_elem_sep T checkNotNull concode_elem_sep int checkMax concode_elem_sep void checkState concode_elem_sep void checkState concode_elem_sep void checkArgument concode_elem_sep void checkArgument concode_elem_s... | void function ( Object arg0 , String arg1 , Object ... arg2 ) { checkState ( arg0 != null , arg1 , arg2 ) ; } |
21,175 | retrieve the xwiki context from the current execution context . concode_field_sep Provider<XWikiContext> xcontextProvider concode_elem_sep ObjectFactory objectFactory concode_elem_sep ComponentManager componentManager concode_elem_sep UriInfo uriInfo concode_elem_sep boolean created concode_elem_sep Logger logger conco... | XWikiContext function ( ) { return this . xcontextProvider . get ( ) ; } |
21,176 | log a message , with associated throwable information . concode_field_sep java.util.logging.Logger loggerDelegate concode_field_sep void setLevelWarn concode_elem_sep void debug concode_elem_sep void debug concode_elem_sep void setLevelTrace concode_elem_sep void setLevelDebug concode_elem_sep Logger getLogger concode_... | void function ( Object arg0 , Throwable arg1 ) { loggerDelegate . log ( Level . INFO , arg0 != null ? arg0 . toString ( ) : "srini_string" , arg1 ) ; } |
21,177 | gets he document title concode_field_sep List itens concode_elem_sep String link concode_elem_sep String description concode_elem_sep String title concode_elem_sep String encoding concode_field_sep String getEncoding concode_elem_sep void addItem concode_elem_sep String getLink concode_elem_sep List getItens concode_el... | String function ( ) { return this . title ; } |
21,178 | returns the id of this t f image . concode_field_sep TFImage _tfImage concode_field_sep void setName concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean getIsShow concode_elem_sep void setGroupId concode_elem_sep java.lang.String getName concode_elem_sep boolean isIsShow concode_elem_sep boolean i... | long function ( ) { return _tfImage . getId ( ) ; } |
21,179 | gets the value of the referenceparameters property . concode_field_sep MetadataType metadata concode_elem_sep AttributedURIType address concode_elem_sep ReferenceParametersType referenceParameters concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep List<Object> any concode_field_sep void setMetadata con... | ReferenceParametersType function ( ) { return referenceParameters ; } |
21,180 | given an analyzerstats , serialize it in json to be used as the result string for hawq . an example result is as follows : `` pxfdatasourcestats '' :{ `` blocksize '' :67108864 , `` numberofblocks '' :1 , `` numberoftuples '' :5 concode_field_sep long numberOfBlocks concode_elem_sep long DEFAULT_BLOCK_SIZE concode_elem... | String function ( AnalyzerStats arg0 ) { ObjectMapper loc0 = new ObjectMapper ( ) ; return "srini_string" = "srini_string" + loc0 . writeValueAsString ( arg0 ) + "srini_string" ; } |
21,181 | creates a keystore with a single key and saves it to a file . concode_field_sep PlaceHolder placeHolder concode_field_sep X509Certificate generateCertificate concode_elem_sep void saveKeyStore concode_elem_sep void cleanupSSLConfig concode_elem_sep KeyStore createEmptyKeyStore concode_elem_sep void createTrustStore con... | void function ( String arg0 , String arg1 , String arg2 , String arg3 , Key arg4 , Certificate arg5 ) { KeyStore loc0 = createEmptyKeyStore ( ) ; loc0 . setKeyEntry ( arg3 , arg4 , arg2 . toCharArray ( ) , new Certificate [ ] { arg5 } ) ; saveKeyStore ( loc0 , arg0 , arg1 ) ; } |
21,182 | set the state for this job . concode_field_sep Log LOG concode_elem_sep List<ControlledJob> dependingJobs concode_elem_sep String CREATE_DIR concode_elem_sep State state concode_elem_sep String controlID concode_elem_sep Job job concode_elem_sep String message concode_field_sep void setJobName concode_elem_sep void set... | void function ( State arg0 ) { this . state = arg0 ; } |
21,183 | draws keypoints . concode_field_sep int DRAW_OVER_OUTIMG concode_elem_sep int DRAW_RICH_KEYPOINTS concode_elem_sep int NOT_DRAW_SINGLE_POINTS concode_field_sep void drawKeypoints_0 concode_elem_sep void drawMatches concode_elem_sep void drawMatches concode_elem_sep void drawMatches_0 concode_elem_sep void drawMatches2_... | void function ( Mat arg0 , MatOfKeyPoint arg1 , Mat arg2 , Scalar arg3 , int arg4 ) { Mat loc0 = arg1 ; drawKeypoints_0 ( arg0 . nativeObj , loc0 . nativeObj , arg2 . nativeObj , arg3 . val [ 0 ] , arg3 . val [ 1 ] , arg3 . val [ 2 ] , arg3 . val [ 3 ] , arg4 ) ; return ; } |
21,184 | method to verify the phone number concode_field_sep String phoneNumber concode_elem_sep long age concode_elem_sep String displayName concode_elem_sep String name concode_elem_sep long displayAge concode_elem_sep String displayPhoneNumber concode_elem_sep String email concode_elem_sep String displayEmail concode_field_s... | void function ( ActionEvent arg0 ) { setDisplayPhoneNumber ( phoneNumber ) ; } |
21,185 | adds the given object as a jersey provider . concode_field_sep JerseyClientConfiguration configuration concode_elem_sep List<Class<?>> providers concode_elem_sep Environment environment concode_elem_sep ObjectMapper objectMapper concode_elem_sep ExecutorService executorService concode_elem_sep ConnectorProvider connect... | JerseyClientBuilder function ( Object arg0 ) { singletons . add ( checkNotNull ( arg0 ) ) ; return this ; } |
21,186 | applies a stylesheet to a given xml document . concode_field_sep PlaceHolder placeHolder concode_field_sep Document loadXML concode_elem_sep String transformDocumentAsString concode_elem_sep String transformDocumentAsString | Document function ( Document arg0 , String arg1 ) { return transformDocument ( arg0 , new Hashtable ( ) , arg1 ) ; } |
21,187 | this set = this set \ xs . concode_field_sep int wordmask concode_elem_sep int wordshift concode_elem_sep int wordlen concode_elem_sep int[] bits concode_elem_sep BitsState currentState concode_elem_sep int[] unassignedBits concode_field_sep void sizeTo concode_elem_sep int trailingZeroBits concode_elem_sep int[] dupBi... | Bits function ( Bits arg0 ) { Assert . check ( currentState != BitsState . UNKNOWN ) ; for ( int loc0 = 0 ; loc0 < bits . length ; loc0 ++ ) { if ( loc0 < arg0 . bits . length ) { bits [ loc0 ] = bits [ loc0 ] & ~ arg0 . bits [ loc0 ] ; } } currentState = BitsState . NORMAL ; return this ; } |
21,188 | gets selected time zone display name . concode_field_sep DateFormat currentFormat concode_elem_sep ArrayList checkedTimeZoneList concode_elem_sep String GMT7DAYLIGHTLOCATION concode_elem_sep String GMT9DAYLIGHTLOCATION concode_elem_sep String GMT8DAYLIGHTLOCATION concode_elem_sep String GMT10DAYLIGHTLOCATION concode_el... | String function ( ) { return displayNameTokenizer ( selectedTimeZone . getDisplayName ( ) ) ; } |
21,189 | retrieve the consumer tag . concode_field_sep String consumerTag concode_elem_sep boolean stopping concode_elem_sep Channel channel concode_elem_sep Logger log concode_elem_sep String tag concode_elem_sep RabbitMQConsumer consumer concode_field_sep void handleShutdownSignal concode_elem_sep void handleCancel concode_el... | String function ( ) { return consumerTag ; } |
21,190 | sets the value of the id property . concode_field_sep BigInteger sequenceNumber concode_elem_sep List<NotificationCriteria> notificationCriteria concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep String relationshipCode concode_elem_sep List<NotificationTemplate> notificationTemplate con... | void function ( String arg0 ) { this . id = arg0 ; } |
21,191 | get the exception that was thrown in the call if any . concode_field_sep Object result concode_elem_sep Exception ex concode_elem_sep boolean stop concode_elem_sep AtomicInteger counter concode_elem_sep boolean finished concode_elem_sep Thread thread concode_field_sep void call concode_elem_sep void interruptThread con... | Exception function ( ) { join ( ) ; if ( ex != null ) { return ex ; } return null ; } |
21,192 | create a new state . concode_field_sep Vector<DA_State> _index concode_elem_sep RabinAcceptance _acceptance concode_elem_sep String _comment concode_elem_sep DA_State _start_state concode_elem_sep APSet _ap_set concode_elem_sep boolean _is_compact concode_field_sep boolean isCompact concode_elem_sep void setStartState ... | DA_State function ( ) { DA_State loc0 = new DA_State ( this ) ; int loc1 = _index . size ( ) ; loc0 . setName ( loc1 ) ; _index . add ( loc0 ) ; _acceptance . addState ( loc1 ) ; return loc0 ; } |
21,193 | returns a transformation matrix mapping camera space to world space . concode_field_sep Matrix4[] c2w concode_elem_sep Matrix4[] w2c concode_elem_sep CameraLens lens concode_field_sep boolean updateCameraMatrix concode_elem_sep boolean update concode_elem_sep Ray getRay concode_elem_sep Ray getRay concode_elem_sep Matr... | Matrix4 function ( ) { return c2w == null ? Matrix4 . IDENTITY : c2w [ 0 ] ; } |
21,194 | send a debug log message and log the exception . concode_field_sep boolean DEBUG concode_field_sep void e concode_elem_sep void e concode_elem_sep void e concode_elem_sep void e concode_elem_sep String buildTag concode_elem_sep void v concode_elem_sep void v concode_elem_sep void w concode_elem_sep void w concode_elem_... | void function ( String arg0 , Throwable arg1 ) { if ( DEBUG ) android . util . Log . d ( buildTag ( ) , buildMessage ( arg0 ) , arg1 ) ; } |
21,195 | returns the object that represents the vm instance 's dalvik-specific runtime environment . concode_field_sep VMRuntime THE_ONE concode_field_sep long getMinimumHeapSize concode_elem_sep void trackExternalFree concode_elem_sep long setMinimumHeapSize concode_elem_sep boolean trackExternalAllocation concode_elem_sep voi... | VMRuntime function ( ) { return THE_ONE ; } |
21,196 | sets the modified date of this email address . concode_field_sep EmailAddress _emailAddress concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel con... | void function ( Date arg0 ) { _emailAddress . setModifiedDate ( arg0 ) ; } |
21,197 | sets the application class name for java/scala applications . concode_field_sep String EXECUTOR_EXTRA_LIBRARY_PATH concode_elem_sep String DRIVER_EXTRA_LIBRARY_PATH concode_elem_sep String EXECUTOR_CORES concode_elem_sep String EXECUTOR_EXTRA_CLASSPATH concode_elem_sep String EXECUTOR_EXTRA_JAVA_OPTIONS concode_elem_se... | SparkLauncher function ( String arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; builder . arg0 = arg0 ; return this ; } |
21,198 | writes a utf-8 encoded string . since ascii is a subset of utf-8 , this method can be used to write strings that are known to be ascii-only . concode_field_sep int PREFIX_6_BITS concode_elem_sep int PREFIX_8_BITS concode_elem_sep DataInputStream in concode_elem_sep int PREFIX_5_BITS concode_elem_sep List<HeaderEntry> I... | void function ( String arg0 ) { byte [ ] loc0 = arg0 . getBytes ( "srini_string" ) ; writeInt ( loc0 . length , PREFIX_8_BITS , 0 ) ; out . write ( loc0 ) ; } |
21,199 | returns the badge value of the dispatched payload . concode_field_sep int badge concode_elem_sep String alert concode_elem_sep String sound concode_elem_sep String deviceToken concode_field_sep String getAlert concode_elem_sep void setDeviceToken concode_elem_sep void setSound concode_elem_sep String getDeviceToken con... | int function ( ) { return badge ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.