idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
35,100 | associate this object with a particular node or relationship . when a pattern object is associated with an actual object it will only match that object . set the association to null to remove the association . concode_field_sep Map<String,Collection<ValueMatcher>> constrains concode_elem_sep T assocication concode_elem... | void function ( T arg0 ) { this . assocication = arg0 ; } |
35,101 | decode an array of bytes in dct format . dct is the format used by jpeg images , so this class simply loads the dct-format bytes as an image , then reads the bytes out of the image to create the array . unfortunately , their most likely use is to get turned back into an image , so this is n't terribly efficient ... but... | ByteBuffer function ( PDFObject arg0 , ByteBuffer arg1 , PDFObject arg2 ) { BufferedImage loc0 = loadImageData ( arg1 ) ; byte [ ] loc1 = ImageDataDecoder . decodeImageData ( loc0 ) ; return ByteBuffer . wrap ( loc1 ) ; } |
35,102 | gets the value of the enumdisplayvalue property . concode_field_sep String enumValue concode_elem_sep String enumDisplayValue concode_field_sep void setEnumDisplayValue concode_elem_sep String getEnumValue concode_elem_sep void setEnumValue | String function ( ) { return enumDisplayValue ; } |
35,103 | gets the value of the qty property . concode_field_sep List<LegPreAllocGrpBlockT> preAll concode_elem_sep BigDecimal ordQty concode_elem_sep String legExecInst concode_elem_sep InstrumentLegBlockT leg concode_elem_sep BigInteger swapTyp concode_elem_sep BigInteger cover concode_elem_sep String settlTyp concode_elem_sep... | BigDecimal function ( ) { return qty ; } |
35,104 | returns the channel concode_field_sep DSMRMeterType meterType concode_elem_sep int channel concode_field_sep DSMRMeterType getMeterType | int function ( ) { return channel ; } |
35,105 | sets the value of the value property . concode_field_sep long serialVersionUID concode_elem_sep String value concode_elem_sep Integer version concode_elem_sep String key concode_field_sep int getVersion concode_elem_sep String getValue concode_elem_sep String getKey concode_elem_sep void setVersion concode_elem_sep boo... | void function ( String arg0 ) { this . value = arg0 ; } |
35,106 | sets the value of the marright property . concode_field_sep Object parent concode_elem_sep CTSignedTwipsMeasure marLeft concode_elem_sep BooleanDefaultTrue blockQuote concode_elem_sep CTSignedTwipsMeasure marRight concode_elem_sep CTSignedTwipsMeasure marBottom concode_elem_sep BooleanDefaultTrue bodyDiv concode_elem_s... | void function ( CTSignedTwipsMeasure arg0 ) { this . marRight = arg0 ; } |
35,107 | streaming : write several packets , dn0 never responses when it receives the ack of the third packet from dn1 . client gets an ioexception and determines dn0 bad . concode_field_sep byte[] toRead concode_elem_sep short REPLICATION concode_elem_sep long BLOCKSIZE concode_elem_sep int PACKET_SIZE concode_elem_sep Configu... | void function ( ) { final String loc0 = FiTestUtil . getMethodName ( ) ; runTest34_35 ( loc0 , 0 ) ; } |
35,108 | returns the object which is representative for the template code . it can be a template or any object the parser knows . if the template is e.g. a link the link will be returned here . concode_field_sep Template template concode_elem_sep String postParseReplacement concode_elem_sep Object parsedObject concode_elem_sep ... | Object function ( ) { return parsedObject ; } |
35,109 | sets an element in the first data bank . the offset specified in the constructor is added to i before updating the underlying data array . concode_field_sep int banks concode_elem_sep int TYPE_BYTE concode_elem_sep int TYPE_FLOAT concode_elem_sep int offset concode_elem_sep int size concode_elem_sep int TYPE_INT concod... | void function ( int arg0 , int arg1 ) { setElem ( 0 , arg0 , arg1 ) ; } |
35,110 | gets the cluster id for the cloud bigtable cluster . concode_field_sep long serialVersionUID concode_elem_sep String instanceId concode_elem_sep Map<String,String> configuration concode_elem_sep Map<String,String> additionalConfiguration concode_elem_sep String zoneId concode_elem_sep String clusterId concode_elem_sep ... | String function ( ) { return configuration . get ( BigtableOptionsFactory . CLUSTER_KEY ) ; } |
35,111 | retrieves the blob value designated by this blob instance as a stream . concode_field_sep BlobDataID blob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep int setBytes concode_elem_sep int setBytes concode_elem_sep void truncate concode_elem_sep boolean isClosed concode_elem... | InputStream function ( ) { return new BlobInputStream ( this , 0 , length ( ) , session . getStreamBlockSize ( ) ) ; } |
35,112 | get the event type concode_field_sep JobInited datum concode_field_sep int getTotalReduces concode_elem_sep long getLaunchTime concode_elem_sep int getTotalMaps concode_elem_sep Object getDatum concode_elem_sep JobID getJobId concode_elem_sep void setDatum concode_elem_sep boolean getUberized concode_elem_sep String ge... | EventType function ( ) { return EventType . JOB_INITED ; } |
35,113 | redo the last state change . only possible if there have been previous undo call . concode_field_sep int cursor concode_elem_sep ArrayList<Memento> mementoStateHistory concode_elem_sep int maxHistorySize concode_field_sep boolean isRedo concode_elem_sep void undo concode_elem_sep boolean isUndo concode_elem_sep void ad... | void function ( ) { if ( isRedo ( ) ) { cursor = cursor + 1 ; Memento loc0 = mementoStateHistory . get ( cursor ) ; loc0 . restore ( ) ; } } |
35,114 | dispatches a command without callback . when dispatching fails , since there is no callback , the command will not be retried . concode_field_sep RetryScheduler retryScheduler concode_elem_sep CommandBus commandBus concode_elem_sep List<MessageDispatchInterceptor<CommandMessage<?>>> dispatchInterceptors concode_field_s... | void function ( Object arg0 ) { if ( retryScheduler == null ) { commandBus . dispatch ( processInterceptors ( asCommandMessage ( arg0 ) ) ) ; } else { CommandMessage < ? > loc0 = asCommandMessage ( arg0 ) ; send ( loc0 , LoggingCallback . INSTANCE ) ; } } |
35,115 | not implement because not necessary concode_field_sep PlaceHolder placeHolder concode_field_sep void actionsForCoordinator concode_elem_sep void memberRemoved | void function ( MembershipEvent arg0 ) { } |
35,116 | returns the value of this attribute entry . concode_field_sep String name concode_elem_sep List entryList concode_elem_sep Iterator backend concode_elem_sep String value concode_field_sep Object next concode_elem_sep void setAttribute concode_elem_sep String getName concode_elem_sep String getAttribute concode_elem_sep... | String function ( ) { return this . value ; } |
35,117 | set an effect listener . some effects may report state changes back to the host , if a listener is set . consult the individual effect documentation for more details . concode_field_sep PlaceHolder placeHolder concode_field_sep String getName concode_elem_sep void apply concode_elem_sep void release concode_elem_sep vo... | void function ( EffectUpdateListener arg0 ) { } |
35,118 | sets the order used to compute the delay of each child 's animation . concode_field_sep long mDuration concode_elem_sep long mMaxDelay concode_elem_sep int ORDER_NORMAL concode_elem_sep int ORDER_RANDOM concode_elem_sep Interpolator mInterpolator concode_elem_sep Animation mAnimation concode_elem_sep float mDelay conco... | void function ( int arg0 ) { mOrder = arg0 ; } |
35,119 | return true if the given content-type header means form_encoded . concode_field_sep String FORM_ENCODED concode_elem_sep String ENCODING concode_elem_sep String value concode_elem_sep String key concode_field_sep String getKey concode_elem_sep String getValue concode_elem_sep String addParameters concode_elem_sep Strin... | boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } int loc0 = arg0 . indexOf ( "srini_string" ) ; if ( loc0 >= 0 ) { arg0 = arg0 . substring ( 0 , loc0 ) ; } return FORM_ENCODED . equalsIgnoreCase ( arg0 . trim ( ) ) ; } |
35,120 | create an instance of jaxbelement concode_field_sep QName _AnyType_QNAME concode_elem_sep QName _Decimal_QNAME concode_elem_sep QName _AnyURI_QNAME concode_elem_sep QName _Float_QNAME concode_elem_sep QName _Long_QNAME concode_elem_sep QName _DateTime_QNAME concode_elem_sep QName _UnsignedLong_QNAME concode_elem_sep QN... | JAXBElement < Char > function ( Char arg0 ) { return new JAXBElement < Char > ( _Char_QNAME , Char . class , null , arg0 ) ; } |
35,121 | check whether a given local variable is known to be unable to gain a definite non null or definite null status by the use of an enclosing flow info . the semantics are that if the current flow info marks the variable as potentially unknown or else as being both potentially null and potentially non null , then it wo n't... | boolean function ( LocalVariableBinding arg0 ) { return isPotentiallyUnknown ( arg0 ) || isPotentiallyNonNull ( arg0 ) && isPotentiallyNull ( arg0 ) ; } |
35,122 | creates an empty hashset instance.note : if e is an enum type , use enumset #noneof instead.note : if you only need an immutable empty set , use collections #emptyset instead . concode_field_sep PlaceHolder placeHolder concode_field_sep SortedSet<E> newSortedSet | HashSet < K > function ( ) { return new HashSet < K > ( ) ; } |
35,123 | returns the dimension of the point concode_field_sep SimpleVector coordinates concode_elem_sep long serialVersionUID concode_field_sep void set concode_elem_sep double innerProduct concode_elem_sep void applyTransform concode_elem_sep double[] getCoordinates concode_elem_sep double euclideanDistance concode_elem_sep vo... | int function ( ) { return coordinates . getLen ( ) ; } |
35,124 | set the flag saying that the server is sending a body concode_field_sep boolean isEmpty concode_elem_sep boolean isFirst concode_elem_sep MessageBytes bodyBuff concode_elem_sep boolean isReadRequired concode_elem_sep Msg bodyMsg concode_elem_sep MsgContext mc concode_elem_sep boolean end_of_stream concode_elem_sep org.... | void function ( boolean arg0 ) { isReadRequired = arg0 ; } |
35,125 | get user 's conversation s. concode_field_sep Conversation selectedConversation concode_elem_sep long serialVersionUID concode_field_sep Conversation getSelectedConversation concode_elem_sep void loadOldConversations concode_elem_sep void loadOldMessages concode_elem_sep String getChannel concode_elem_sep void setSelec... | Iterable < Conversation > function ( ) { List < Conversation > loc0 = new ArrayList < Conversation > ( User . get ( ) . getConversations ( ) ) ; Collections . sort ( loc0 ) ; return loc0 ; } |
35,126 | filters the given list of reactionproperty to return only a listof exitpointspec . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isNamedExitTransition concode_elem_sep List<Transition>[] getExitSpecSortedTransitions concode_elem_sep boolean isDefault concode_elem_sep Map<Region,List<Entry>> getReg... | List < ExitPointSpec > function ( List < ReactionProperty > arg0 ) { List < ExitPointSpec > loc0 = new ArrayList < ExitPointSpec > ( ) ; for ( ReactionProperty loc1 : arg0 ) { if ( loc1 instanceof ExitPointSpec ) { loc0 . add ( ( ExitPointSpec ) loc1 ) ; } } return loc0 ; } |
35,127 | return value for system property name parsed as double or defaultvalue if the property does not exist or a security manager denies access to it concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysP... | double function ( String arg0 , double arg1 ) { String loc0 = property ( arg0 ) ; if ( loc0 != null ) { try { return Double . parseDouble ( loc0 ) ; } catch ( NumberFormatException loc1 ) { logger . log ( Level . FINE , "srini_string" , loc1 ) ; } } return arg1 ; } |
35,128 | given two events , coalesce them into a single event that will be sent to js instead of two separate events . by default , just chooses the one the is more recent . two events will only ever try to be coalesced if they have the same event name , view id , and coalescing key . concode_field_sep int mUniqueID concode_ele... | T function ( T arg0 ) { return ( T ) ( getTimestampMs ( ) > arg0 . getTimestampMs ( ) ? this : arg0 ) ; } |
35,129 | resets an attribute of the given element to its default value . concode_field_sep DoublyIndexedTable values concode_elem_sep String[] keys concode_elem_sep int length concode_field_sep void addAttribute concode_elem_sep void initializeAttributes | boolean function ( AbstractElement arg0 , String arg1 , String arg2 , String arg3 ) { String loc0 = ( String ) values . get ( arg1 , arg3 ) ; if ( loc0 == null ) { return false ; } if ( arg2 != null ) { arg3 = arg2 + ':' + arg3 ; } arg0 . setUnspecifiedAttribute ( arg1 , arg3 , loc0 ) ; return true ; } |
35,130 | rest status of the operation concode_field_sep XContentBuilderString FAILED concode_elem_sep XContentBuilderString TOTAL concode_elem_sep ImmutableList<String> indices concode_elem_sep XContentBuilderString SUCCESSFUL concode_elem_sep XContentBuilderString SHARDS concode_elem_sep String name concode_elem_sep int succes... | RestStatus function ( ) { return RestStatus . OK ; } |
35,131 | remove this pattern from the list of ignores . note : provisionally a remove is careful to ensure that patterns that contain the target pattern are also removed . concode_field_sep Object NEW_LINE concode_elem_sep File file concode_elem_sep Set<String> ignores concode_field_sep boolean add concode_elem_sep DartIgnoreFi... | Collection < String > function ( String arg0 ) { ArrayList < String > loc0 = new ArrayList < String > ( ) ; for ( String loc1 : ignores ) { if ( arg0 . startsWith ( loc1 ) ) { loc0 . add ( loc1 ) ; } } ignores . removeAll ( loc0 ) ; return loc0 ; } |
35,132 | print elapsed time and stop timer . concode_field_sep long startTime concode_elem_sep long MILLISECONDS_TO_SECONDS concode_elem_sep Redwood.RedwoodChannels log concode_elem_sep long MILLISECOND_DIVISOR concode_elem_sep long start concode_elem_sep NumberFormat nf concode_elem_sep long SECOND_DIVISOR concode_field_sep St... | long function ( String arg0 , PrintWriter arg1 ) { this . report ( arg0 , arg1 ) ; return this . stop ( ) ; } |
35,133 | 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 ) { if ( LOG . ERROR >= LOGLEVEL ) Log . e ( arg0 , arg1 ) ; } |
35,134 | creats a new instance of the request object . subclasses may with to override this method . the default implementation attempts to reflectivley create an instance of the request bean . concode_field_sep Set<String> filter concode_elem_sep boolean hasRepeatedParameters concode_elem_sep Logger LOGGER concode_elem_sep Cla... | Object function ( ) { return getRequestBean ( ) . newInstance ( ) ; } |
35,135 | get the process end date . this is the date and time the processing ended . concode_field_sep String result concode_elem_sep int bitstreamId concode_elem_sep Date processEndDate concode_elem_sep String checksumExpected concode_elem_sep String checksumCalculated concode_elem_sep Date processStartDate concode_field_sep i... | Date function ( ) { return processEndDate == null ? null : new Date ( processEndDate . getTime ( ) ) ; } |
35,136 | getter for property binary . concode_field_sep String path concode_elem_sep String filename concode_elem_sep String lineno concode_elem_sep String line concode_elem_sep boolean binary concode_elem_sep boolean alt concode_elem_sep String tag concode_elem_sep String directory concode_field_sep void setBinary concode_elem... | boolean function ( ) { return this . binary ; } |
35,137 | returns true iff one of the files exists otherwise false concode_field_sep PlaceHolder placeHolder concode_field_sep BufferedReader newBufferedReader concode_elem_sep void deleteSubDirectories concode_elem_sep Path[] toArray concode_elem_sep Path[] files concode_elem_sep Path[] files concode_elem_sep Path[] files conco... | boolean function ( Path ... arg0 ) { for ( Path loc0 : arg0 ) { if ( Files . exists ( loc0 ) ) { return true ; } } return false ; } |
35,138 | sets the wssearchcriteriawithpaging value for this wsgetroutingorderv2bycriteriawithpaging . concode_field_sep org.talend.mdm.webservice.WSRoutingOrderV2SearchCriteriaWithPaging wsSearchCriteriaWithPaging concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc conco... | void function ( org . talend . mdm . webservice . WSRoutingOrderV2SearchCriteriaWithPaging arg0 ) { this . wsSearchCriteriaWithPaging = arg0 ; } |
35,139 | return objectcontent from reading from the specified input stream . concode_field_sep Class<?> resourceLoadClass concode_elem_sep Class<?> testerClass concode_elem_sep ResolvableType type concode_field_sep String writeObject concode_elem_sep void doWithField concode_elem_sep ObjectContent<T> parse concode_elem_sep Obje... | ObjectContent < T > function ( InputStream arg0 ) { verify ( ) ; Assert . notNull ( arg0 , "srini_string" ) ; return read ( new InputStreamResource ( arg0 ) ) ; } |
35,140 | set the current log level . 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 function ( int arg0 ) { LOGLEVEL = arg0 ; Log . i ( "srini_string" , "srini_string" + arg0 ) ; } |
35,141 | returns the company id 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_elem... | long function ( ) { return _kbTemplate . getCompanyId ( ) ; } |
35,142 | take a point with position x , y and return a new point with position x + dx , y + dy . concode_field_sep double dx concode_elem_sep double dy concode_field_sep double getDy concode_elem_sep double getDx concode_elem_sep double getSpeed concode_elem_sep Velocity fromAngleAndSpeed | Point function ( Point arg0 ) { return new Point ( arg0 . getX ( ) + this . dx , arg0 . getY ( ) + this . dy ) ; } |
35,143 | sets the value of the groupname property . concode_field_sep String groupName concode_elem_sep String requestClassName concode_elem_sep String id concode_elem_sep String userName concode_field_sep String getGroupName concode_elem_sep String getRequestClassName concode_elem_sep void setRequestClassName concode_elem_sep ... | void function ( final String arg0 ) { this . groupName = arg0 ; } |
35,144 | set the default format style of joda localdate objects.default is datetimeformat #shortdate . concode_field_sep Map<Type,DateTimeFormatter> formatters concode_elem_sep Map<Type,DateTimeFormatterFactory> factories concode_field_sep DateTimeFormatter getFallbackFormatter concode_elem_sep void setDateFormatter concode_ele... | void function ( String arg0 ) { this . factories . get ( Type . DATE ) . setStyle ( arg0 + "srini_string" ) ; } |
35,145 | flag to remove abandoned objects if they exceed the removeabandonedtimeout when pool maintenance the `` evictor '' runs . the default value is false . if set to true , abandoned objects are removed by the pool maintenance thread when it runs . this setting has no effect unless maintenance is enabled by setting generico... | boolean function ( ) { return this . removeAbandonedOnMaintenance ; } |
35,146 | create an instance of arrayofkeyvalueofstringarrayofstringty7ep6d1.keyvalueofstringarrayofstringty7ep6d1 concode_field_sep QName _ArrayOfstring_QNAME concode_elem_sep QName _ArrayOfKeyValueOfFeatureVendorServerArrayOfSessionsAggregateiufBt9WS_QNAME concode_elem_sep QName _ArrayOfint_QNAME concode_elem_sep QName _ArrayO... | ArrayOfKeyValueOfstringArrayOfstringty7Ep6D1 . KeyValueOfstringArrayOfstringty7Ep6D1 function ( ) { return new ArrayOfKeyValueOfstringArrayOfstringty7Ep6D1 . KeyValueOfstringArrayOfstringty7Ep6D1 ( ) ; } |
35,147 | sample_has_redundancy takes one of the following four values : 0 : it is unknown whether there is redundant coding in this sample ; 1 : there is redundant coding in this sample ; 2 : there is no redundant coding in this sample ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int samplePad... | void function ( int arg0 ) { this . sampleHasRedundancy = arg0 ; } |
35,148 | test default db name concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( ) { SessionState . start ( new HiveConf ( ) ) ; assertEquals ( MetaStoreUtils . DEFAULT_DATABASE_NAME , SessionState . get ( ) . getCurrentDatabase ( ) ) ; } |
35,149 | sets the wind direction . concode_field_sep WindDirection direction concode_elem_sep String text concode_elem_sep int speed concode_elem_sep WindSpeedUnit wsunit concode_field_sep void setSpeed concode_elem_sep WindSpeedUnit getSpeedUnit concode_elem_sep WindDirection getDirection concode_elem_sep String getText concod... | void function ( WindDirection arg0 ) { this . direction = arg0 ; } |
35,150 | initiate the dictionary . retrieve any needed attributes . concode_field_sep Name LENGTH_KEY concode_elem_sep Name FORM_TYPE_KEY concode_elem_sep HashMap<Object,Object> entries concode_elem_sep Library library concode_elem_sep boolean inited concode_elem_sep boolean isDeleted concode_elem_sep Reference pObjectReference... | void function ( ) { } |
35,151 | sets user id . concode_field_sep boolean feed concode_elem_sep String description concode_elem_sep long userId concode_elem_sep String url concode_elem_sep String extended concode_elem_sep String tags concode_field_sep boolean isFeed concode_elem_sep void setFeed concode_elem_sep String getTags concode_elem_sep void se... | void function ( long arg0 ) { userId = arg0 ; } |
35,152 | gets the display string that corresponds to the passed storage string in a particular display-storage pair set . concode_field_sep String dcQualifier concode_elem_sep boolean required concode_elem_sep String visibility concode_elem_sep String valueListName concode_elem_sep String dcElement concode_elem_sep String dcSch... | String function ( String arg0 , String arg1 ) { if ( valueList != null && arg1 != null ) { for ( int loc0 = 0 ; loc0 < valueList . size ( ) ; loc0 += 2 ) { if ( arg1 . equals ( valueList . get ( loc0 + 1 ) ) ) { return valueList . get ( loc0 ) ; } } } return null ; } |
35,153 | gets the compilation error message . concode_field_sep int javaLineNum concode_elem_sep String javaFileName concode_elem_sep int jspBeginLineNum concode_elem_sep StringBuffer errMsg concode_elem_sep String jspExtract concode_elem_sep String jspFileName concode_field_sep int getJavaLineNumber concode_elem_sep String get... | String function ( ) { return this . errMsg . toString ( ) ; } |
35,154 | returns the comments attached to this mapping , or null if none . concode_field_sep long serialVersionUID concode_elem_sep String comments concode_elem_sep DirectPosition source concode_elem_sep double accuracy concode_elem_sep DirectPosition target concode_field_sep void setSource concode_elem_sep double distance conc... | String function ( ) { return comments ; } |
35,155 | this is called when a message endpoint is deactivated . concode_field_sep String workManagerName concode_elem_sep String name concode_elem_sep Logger log concode_elem_sep String bootstrapContextName concode_field_sep void setName concode_elem_sep String getWorkManagerName concode_elem_sep String getBootstrapContextName... | void function ( MessageEndpointFactory arg0 , ActivationSpec arg1 ) { log . trace ( "srini_string" ) ; } |
35,156 | test comparison of instants concode_field_sep Calendar cal concode_elem_sep Instant instant1 concode_elem_sep Instant instant2 concode_elem_sep Position position1 concode_elem_sep Position position2 concode_field_sep void testSetEndBy concode_elem_sep void testGetPosition concode_elem_sep void testGetEndedBy concode_el... | void function ( ) { assertEquals ( 1 , ( ( DefaultInstant ) instant1 ) . compareTo ( instant2 ) ) ; assertEquals ( 0 , ( ( DefaultInstant ) instant1 ) . compareTo ( instant1 ) ) ; assertEquals ( 0 , ( ( DefaultInstant ) instant2 ) . compareTo ( instant2 ) ) ; } |
35,157 | sets a new xcoordinate for the location of the node concode_field_sep double xCoordinate concode_elem_sep String hostname concode_elem_sep double yCoordinate concode_elem_sep ArrayList<Node> links concode_elem_sep int nodeID concode_elem_sep boolean isInRoadTrain concode_elem_sep int portNumber concode_elem_sep double ... | void function ( double arg0 ) { this . xCoordinate = arg0 ; } |
35,158 | sets the locale . concode_field_sep Locale locale concode_elem_sep Fum fum concode_field_sep Fum getFum concode_elem_sep void setId concode_elem_sep FumCompositeID getId concode_elem_sep Locale getLocale concode_elem_sep void setFum | void function ( Locale arg0 ) { this . locale = arg0 ; } |
35,159 | encodes a byte array into base64 format . no blanks or line breaks are inserted in the output . concode_field_sep char[] map1 concode_elem_sep String systemLineSeparator concode_elem_sep byte[] map2 concode_field_sep byte[] decodeLines concode_elem_sep String encodeLines concode_elem_sep String encodeLines concode_elem... | char [ ] function ( byte [ ] arg0 ) { return encode ( arg0 , 0 , arg0 . length ) ; } |
35,160 | load a class . no instantiation . in the event of error classnotfound etc this method will log the error and return null . concode_field_sep char BREAKCHARACTER concode_field_sep List<T> loadAndInstantiateClassesWithInit concode_elem_sep String getNameForClass concode_elem_sep List<T> loadAndInstantiateClasses concode_... | Class function ( String arg0 ) { Class loc0 ; try { loc0 = Class . forName ( arg0 ) ; } catch ( ClassNotFoundException loc1 ) { commonLogger . i18NLogger . warn_common_ClassloadingUtility_2 ( arg0 , loc1 ) ; return null ; } return loc0 ; } |
35,161 | converts a long value with seconds since 1/1/1904 to date . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Date function ( long arg0 ) { return new Date ( ( arg0 - 2082844800L ) * 1000L ) ; } |
35,162 | grow a byte buffer , so it has a minimal capacity or at least the double capacity of the original buffer concode_field_sep byte[] HEX_DIGITS concode_elem_sep ZipEncoding UTF8_ZIP_ENCODING concode_elem_sep Map<String,SimpleEncodingHolder> simpleEncodings concode_elem_sep char[] highChars concode_elem_sep String UTF_DASH... | ByteBuffer function ( final ByteBuffer arg0 , final int arg1 ) { arg0 . limit ( arg0 . position ( ) ) ; arg0 . rewind ( ) ; final int loc0 = arg0 . capacity ( ) * 2 ; final ByteBuffer loc1 = ByteBuffer . allocate ( loc0 < arg1 ? arg1 : loc0 ) ; loc1 . put ( arg0 ) ; return loc1 ; } |
35,163 | invalidates the current node set . concode_field_sep DBNodes marked concode_elem_sep Databases databases concode_elem_sep ClientBlocker blocker concode_elem_sep Sessions sessions concode_elem_sep MainOptions options concode_elem_sep Data data concode_elem_sep DBNodes copied concode_elem_sep Log log concode_elem_sep Sta... | void function ( ) { current = null ; } |
35,164 | returns true if this policy has attempts remaining , false otherwise . concode_field_sep int mCurrentTimeoutMs concode_elem_sep int mCurrentRetryCount concode_elem_sep int mMaxNumRetries concode_elem_sep float DEFAULT_BACKOFF_MULT concode_elem_sep float mBackoffMultiplier concode_elem_sep int DEFAULT_TIMEOUT_MS concode... | boolean function ( ) { return mCurrentRetryCount <= mMaxNumRetries ; } |
35,165 | creates a new composite based on the blending mode and opacity passed as parameters . the opacity must be a value between 0.0 and 1.0 . concode_field_sep BlendComposite Darken concode_elem_sep BlendComposite Green concode_elem_sep BlendComposite Luminosity concode_elem_sep BlendComposite Average concode_elem_sep BlendC... | BlendComposite function ( BlendingMode arg0 , float arg1 ) { return new BlendComposite ( arg0 , arg1 ) ; } |
35,166 | the date and time that the deployment resource was created . concode_field_sep java.util.Date createdDate concode_elem_sep java.util.Map<String,java.util.Map<String,MethodSnapshot>> apiSummary concode_elem_sep String description concode_elem_sep String id concode_field_sep CreateDeploymentResult clearApiSummaryEntries ... | CreateDeploymentResult function ( java . util . Date arg0 ) { setCreatedDate ( arg0 ) ; return this ; } |
35,167 | compares two strings using the case-sensitivity rule . this method mimics string #equals but takes case-sensitivityinto account . concode_field_sep long serialVersionUID concode_elem_sep String name concode_elem_sep IOCase SYSTEM concode_elem_sep IOCase INSENSITIVE concode_elem_sep boolean sensitive concode_elem_sep IO... | boolean function ( String arg0 , String arg1 ) { if ( arg0 == null || arg1 == null ) { throw new NullPointerException ( "srini_string" ) ; } return sensitive ? arg0 . equals ( arg1 ) : arg0 . equalsIgnoreCase ( arg1 ) ; } |
35,168 | get paragraphid concode_field_sep List<AngularObjectWatcher> watchers concode_elem_sep String name concode_elem_sep AngularObjectListener listener concode_elem_sep String noteId concode_elem_sep String paragraphId concode_elem_sep T object concode_field_sep void addWatcher concode_elem_sep String getName concode_elem_s... | String function ( ) { return paragraphId ; } |
35,169 | gets the server token to be used by the sdk for requests concode_field_sep String redirectUri concode_elem_sep Environment environment concode_elem_sep String clientId concode_elem_sep String subDomain concode_elem_sep String domain concode_elem_sep String clientSecret concode_elem_sep EndpointRegion region concode_ele... | String function ( ) { return serverToken ; } |
35,170 | create a new maxcore from a serialized file stored at storedresults concode_field_sep String MALFORMED_JUNIT_3_TEST_CLASS_PREFIX concode_elem_sep MaxHistory history concode_field_sep Runner buildRunner concode_elem_sep MaxCore storedLocally concode_elem_sep List<Description> findLeaves concode_elem_sep void findLeaves ... | MaxCore function ( String arg0 ) { return storedLocally ( new File ( arg0 ) ) ; } |
35,171 | sets the gradient start value and color . concode_field_sep boolean mGradientEnabled concode_elem_sep float mChartValuesTextSize concode_elem_sep BasicStroke mStroke concode_elem_sep boolean mDisplayChartValues concode_elem_sep int mGradientStopColor concode_elem_sep int mColor concode_elem_sep double mGradientStartVal... | void function ( double arg0 , int arg1 ) { mGradientStartValue = arg0 ; mGradientStartColor = arg1 ; } |
35,172 | compares two strings like string.compareto , excepts treats a null as the least-possible string value . concode_field_sep CstString signature concode_elem_sep CstString name concode_field_sep CstString getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CstString getSignature concode_... | int function ( CstString arg0 , CstString arg1 ) { if ( arg0 == arg1 ) { return 0 ; } else if ( arg0 == null ) { return - 1 ; } else if ( arg1 == null ) { return 1 ; } else { return arg0 . compareTo ( arg1 ) ; } } |
35,173 | sets the min forecast temperature in degrees . concode_field_sep Double current concode_elem_sep Double min concode_elem_sep Double dewpoint concode_elem_sep Double max concode_elem_sep Double feel concode_field_sep void setMax concode_elem_sep void setDewpoint concode_elem_sep void setFeel concode_elem_sep Double getF... | void function ( Double arg0 ) { this . min = arg0 ; } |
35,174 | sets the value of the auth property . concode_field_sep GuestAuthentication auth concode_elem_sep ManagedObjectReference vm concode_elem_sep long pid concode_elem_sep ManagedObjectReference _this concode_field_sep void setThis concode_elem_sep ManagedObjectReference getThis concode_elem_sep GuestAuthentication getAuth ... | void function ( GuestAuthentication arg0 ) { this . auth = arg0 ; } |
35,175 | stops running concode_field_sep TcpConnection tcp_conn concode_elem_sep ConnectionIdentifier connection_id concode_elem_sep long last_time concode_elem_sep TransportListener listener concode_elem_sep String PROTO_TCP concode_elem_sep String text concode_field_sep long getLastTimeMillis concode_elem_sep IpAddress getRem... | void function ( ) { if ( tcp_conn != null ) tcp_conn . halt ( ) ; } |
35,176 | create a docfile for a directory . concode_field_sep DocPath path concode_elem_sep Configuration configuration concode_elem_sep Location location concode_field_sep void copyFile concode_elem_sep boolean isSameFile concode_elem_sep String getName concode_elem_sep boolean isFile concode_elem_sep DocFile resolve concode_e... | DocFile function ( Configuration arg0 , String arg1 ) { return DocFileFactory . getFactory ( arg0 ) . createFileForDirectory ( arg1 ) ; } |
35,177 | store a subset of the given attributes in the session . attributes not declared as session attributes via @sessionattributes are ignored . concode_field_sep SessionAttributeStore sessionAttributeStore concode_elem_sep Set<Class<?>> attributeTypes concode_elem_sep Set<String> knownAttributeNames concode_elem_sep Set<Str... | void function ( WebRequest arg0 , Map < String , ? > arg1 ) { for ( String loc0 : arg1 . keySet ( ) ) { Object loc1 = arg1 . get ( loc0 ) ; Class < ? > loc2 = ( loc1 != null ) ? loc1 . getClass ( ) : null ; if ( isHandlerSessionAttribute ( loc0 , loc2 ) ) { this . sessionAttributeStore . storeAttribute ( arg0 , loc0 , ... |
35,178 | return whether a component is in the currently active stages . concode_field_sep Iterator<Iterator<RocketComponent>> iterators concode_elem_sep int modID concode_elem_sep Rocket rocket concode_elem_sep Iterator<RocketComponent> current concode_elem_sep int boundsModID concode_elem_sep double cachedLength concode_elem_s... | boolean function ( final RocketComponent arg0 ) { int loc0 = arg0 . getStageNumber ( ) ; return isStageActive ( loc0 ) ; } |
35,179 | get char-set value concode_field_sep int P_MODIFICATION_DATE concode_elem_sep int P_DEP_FILENAME concode_elem_sep boolean isPendingPush concode_elem_sep String TAG concode_elem_sep int P_CONTENT_LOCATION concode_elem_sep int P_DEP_DOMAIN concode_elem_sep byte[] mPartData concode_elem_sep int P_MAC concode_elem_sep int ... | int function ( ) { Integer loc0 = ( Integer ) mPartHeader . get ( P_CHARSET ) ; if ( loc0 == null ) { return 0 ; } else { return loc0 . intValue ( ) ; } } |
35,180 | deletes the status from the database . also notifies the appropriate model listeners . concode_field_sep StatusLocalService _statusLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery ge... | com . liferay . chat . model . Status function ( com . liferay . chat . model . Status arg0 ) { return _statusLocalService . deleteStatus ( arg0 ) ; } |
35,181 | encode a byte array as file safe base 64 string . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean compare concode_elem_sep boolean compare concode_elem_sep boolean compare concode_elem_sep boolean compare concode_elem_sep byte[] concatenate concode_elem_sep byte[] concatenate concode_elem_sep byte[]... | String function ( @ Nullable byte [ ] arg0 ) { return toFileSafeBase64String ( arg0 , true ) ; } |
35,182 | minimum to keep required field errors away . concode_field_sep PlaceHolder placeHolder concode_field_sep Protos.Offer.Builder getEmptyOfferBuilder concode_elem_sep List<Protos.Offer> getOffers concode_elem_sep List<Protos.Offer> getOffers concode_elem_sep Protos.Offer getOffer concode_elem_sep Protos.Offer getOffer con... | void function ( Offer . Builder arg0 , String arg1 , String arg2 ) { Resource . Builder loc0 = arg0 . addResourcesBuilder ( ) . setType ( Value . Type . RANGES ) . setName ( arg1 ) ; if ( arg2 != null ) { loc0 . setRole ( arg2 ) ; } } |
35,183 | sets the modified date of this entry . concode_field_sep Entry _entry 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_elem_sep boolean isCa... | void function ( Date arg0 ) { _entry . setModifiedDate ( arg0 ) ; } |
35,184 | gets the header length concode_field_sep long bytesWritten concode_elem_sep long timeTaken concode_elem_sep long offset concode_elem_sep long bytes concode_elem_sep Random rnd concode_elem_sep int HEADER_LENGTH concode_elem_sep long time concode_elem_sep ByteBuffer buffer concode_elem_sep long hashValue concode_elem_se... | int function ( ) { return HEADER_LENGTH ; } |
35,185 | get the current isacceptable flag . the isacceptable flag is elaborated right after the configuration was checked . concode_field_sep EntryCacheCommon.ConfigPhase _configPhase concode_elem_sep ArrayList<Message> _errorMessages concode_elem_sep boolean _isAcceptable concode_elem_sep ResultCode _resultCode concode_elem_s... | boolean function ( ) { return _isAcceptable ; } |
35,186 | returns the sentence as a string with a space between words . designed to work robustly , even if the elements stored in the ` sentence ' are not of type label . this one uses the default separators for any word type that uses separators , such as taggedword . concode_field_sep PlaceHolder placeHolder concode_field_sep... | String function ( List < T > arg0 , final boolean arg1 ) { return listToString ( arg0 , arg1 , null ) ; } |
35,187 | the https port the custom origin listens on . concode_field_sep Integer hTTPPort concode_elem_sep String originProtocolPolicy concode_elem_sep Integer hTTPSPort concode_field_sep CustomOriginConfig withHTTPSPort concode_elem_sep String getOriginProtocolPolicy concode_elem_sep CustomOriginConfig withHTTPPort concode_ele... | Integer function ( ) { return hTTPSPort ; } |
35,188 | sets the right ascension . concode_field_sep String offsetDeclination concode_elem_sep String objectDesignation concode_elem_sep double rightAscensionValue concode_elem_sep String declination concode_elem_sep String offsetRightAscension concode_elem_sep double v concode_elem_sep double declinationValue concode_elem_sep... | void function ( String arg0 ) { this . declination = arg0 ; } |
35,189 | an example of a method - replace this comment with your own concode_field_sep int x concode_field_sep void walkMaze | int function ( int arg0 ) { return x + arg0 ; } |
35,190 | returns the osgi service identifier . concode_field_sep AccountLocalService _accountLocalService concode_field_sep com.liferay.mail.model.Account updateFolders concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com... | java . lang . String function ( ) { return _accountLocalService . getOSGiServiceIdentifier ( ) ; } |
35,191 | sets the primary key of this push notifications device . concode_field_sep PushNotificationsDevice _pushNotificationsDevice concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes co... | void function ( long arg0 ) { _pushNotificationsDevice . setPrimaryKey ( arg0 ) ; } |
35,192 | add any uniforms you want to the currently bound framebuffer shader before rendering . concode_field_sep PlaceHolder placeHolder concode_field_sep void renderShadow concode_elem_sep void init concode_elem_sep void postUpdate concode_elem_sep void update concode_elem_sep void kill concode_elem_sep void render | void function ( Shader arg0 ) { } |
35,193 | get the list of tags . this list should not be modified ! concode_field_sep List<Tag> emptyList concode_elem_sep List<Tag> mTagList concode_field_sep boolean hasTag concode_elem_sep void addAllTagsOf concode_elem_sep void removeAllTags concode_elem_sep void removeTag concode_elem_sep Tag getTag concode_elem_sep void ad... | List < Tag > function ( ) { return mTagList ; } |
35,194 | test method concode_field_sep PlaceHolder placeHolder concode_field_sep void testManualSocks concode_elem_sep void testPac concode_elem_sep void testManualFtp concode_elem_sep void testNone concode_elem_sep void setup concode_elem_sep void testManualHttp concode_elem_sep void testWhiteList | void function ( ) { TestUtil . setTestDataFolder ( "srini_string" ) ; ProxySelector loc0 = new FirefoxProxySearchStrategy ( ) . getProxySelector ( ) ; List < Proxy > loc1 = loc0 . select ( TestUtil . HTTPS_TEST_URI ) ; assertEquals ( TestUtil . HTTPS_TEST_PROXY , loc1 . get ( 0 ) ) ; } |
35,195 | gets the value of the undly property . concode_field_sep String settlTyp concode_elem_sep XMLGregorianCalendar settlDt concode_elem_sep BigDecimal sz concode_elem_sep String mdStrmID concode_elem_sep String ccy concode_elem_sep BigInteger typ concode_elem_sep UndInstrmtGrpBlockT undly concode_elem_sep InstrumentBlockT ... | UndInstrmtGrpBlockT function ( ) { return undly ; } |
35,196 | returns a specialized view of the keys of this associated container . the view additionally implements com.carrotsearch.hppc.objectlookupcontainer . concode_field_sep ImmutableOpenIntMap EMPTY concode_elem_sep IntObjectHashMap<VType> map concode_field_sep VType getOrDefault concode_elem_sep void indexInsert concode_ele... | IntLookupContainer function ( ) { return map . keys ( ) ; } |
35,197 | this method is to retrieve numerical information when it is not known how that number will be provided beforehand . concode_field_sep String GEOMETRY_KEY concode_elem_sep String GEOMETRIES_KEY concode_elem_sep String COORDINATES_KEY concode_elem_sep String PROPERTIES_KEY concode_elem_sep GeometryFactory geometryFactory... | double function ( Object arg0 ) { if ( arg0 instanceof Double ) { return ( Double ) arg0 ; } else { if ( arg0 != null ) { return Double . valueOf ( arg0 . toString ( ) ) ; } else { return 0.0 ; } } } |
35,198 | get the hex value of a character base16 . concode_field_sep String mySource concode_elem_sep int options concode_elem_sep int myIndex concode_field_sep int next concode_elem_sep int next concode_elem_sep String next concode_elem_sep ParseException syntaxError concode_elem_sep boolean more concode_elem_sep int skipTo co... | int function ( char arg0 ) { if ( arg0 >= '0' && arg0 <= '9' ) return arg0 - '0' ; if ( arg0 >= 'A' && arg0 <= 'F' ) return arg0 + 10 - 'A' ; if ( arg0 >= 'a' && arg0 <= 'f' ) return arg0 + 10 - 'a' ; return - 1 ; } |
35,199 | set the left corner at the road end . concode_field_sep int ENTRANCE_SIZE concode_elem_sep List<GMLNode> apexes concode_elem_sep Point2D roadLeft concode_elem_sep Point2D roadRight concode_elem_sep LegacyBuilding building concode_field_sep void process concode_elem_sep Pair<Line2D,GMLDirectedEdge> trim concode_elem_sep... | void function ( Point2D arg0 ) { roadLeft = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.